Remove unneeded null check

The check takes ~1.5 ms. It's easily called a few hunderd times
This commit is contained in:
Jaime van Kessel 2020-07-10 15:57:00 +02:00
parent 8b7b8b0118
commit 6d120c43b6
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -345,7 +345,7 @@ Item
id: provider id: provider
containerStackId: contents.activeMachineId containerStackId: contents.activeMachineId
key: model.key ? model.key : "" key: model.key
watchedProperties: [ "value", "enabled", "state", "validationState", "settable_per_extruder", "resolve" ] watchedProperties: [ "value", "enabled", "state", "validationState", "settable_per_extruder", "resolve" ]
storeIndex: 0 storeIndex: 0
removeUnusedValue: model.resolve === undefined removeUnusedValue: model.resolve === undefined