mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Don't add a SettingOverrideDecorator twice
CuraSceneNodes get a SettingOverrideDecorator automatically when constructed
This commit is contained in:
parent
af637d5acc
commit
ba67851105
1 changed files with 1 additions and 3 deletions
|
@ -108,12 +108,10 @@ class SupportEraser(Tool):
|
|||
node.setPosition(position)
|
||||
|
||||
active_build_plate = Application.getInstance().getMultiBuildPlateModel().activeBuildPlate
|
||||
|
||||
node.addDecorator(SettingOverrideDecorator())
|
||||
node.addDecorator(BuildPlateDecorator(active_build_plate))
|
||||
node.addDecorator(SliceableObjectDecorator())
|
||||
|
||||
stack = node.callDecoration("getStack") # created by SettingOverrideDecorator
|
||||
stack = node.callDecoration("getStack") # created by SettingOverrideDecorator that is automatically added to CuraSceneNode
|
||||
settings = stack.getTop()
|
||||
|
||||
definition = stack.getSettingDefinition("anti_overhang_mesh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue