mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
fixing unit-test
CURA-10542
This commit is contained in:
parent
fb233d8b16
commit
b5b9dd0e57
1 changed files with 1 additions and 2 deletions
|
@ -27,7 +27,6 @@ class CuraSceneNode(SceneNode):
|
|||
self.addDecorator(SettingOverrideDecorator()) # Now we always have a getActiveExtruderPosition, unless explicitly disabled
|
||||
self._outside_buildarea = False
|
||||
self._print_order = 0
|
||||
self._drop_down = Application.getInstance().getPreferences().getValue("physics/automatic_drop_down")
|
||||
|
||||
def setOutsideBuildArea(self, new_value: bool) -> None:
|
||||
self._outside_buildarea = new_value
|
||||
|
@ -45,7 +44,7 @@ class CuraSceneNode(SceneNode):
|
|||
|
||||
@property
|
||||
def isDropDownEnabled(self) ->bool:
|
||||
return self.getSetting(SceneNodeSettings.AutoDropDown, self._drop_down)
|
||||
return self.getSetting(SceneNodeSettings.AutoDropDown, Application.getInstance().getPreferences().getValue("physics/automatic_drop_down"))
|
||||
|
||||
def isVisible(self) -> bool:
|
||||
return super().isVisible() and self.callDecoration("getBuildPlateNumber") == cura.CuraApplication.CuraApplication.getInstance().getMultiBuildPlateModel().activeBuildPlate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue