mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 16:39:10 +08:00
Remove unneeded null check
The check takes ~1.5 ms. It's easily called a few hunderd times
This commit is contained in:
parent
8b7b8b0118
commit
6d120c43b6
@ -345,7 +345,7 @@ Item
|
||||
id: provider
|
||||
|
||||
containerStackId: contents.activeMachineId
|
||||
key: model.key ? model.key : ""
|
||||
key: model.key
|
||||
watchedProperties: [ "value", "enabled", "state", "validationState", "settable_per_extruder", "resolve" ]
|
||||
storeIndex: 0
|
||||
removeUnusedValue: model.resolve === undefined
|
||||
|
Loading…
x
Reference in New Issue
Block a user