diff options
author | fieldOfView <aldo@fieldofview.com> | 2018-03-19 14:08:18 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2018-03-19 14:08:18 +0300 |
commit | ba678511052ddcb7822390b1687c77140d658cc5 (patch) | |
tree | a6f93860465f6f1b56fe7939aff71fa4f6536305 /plugins/SupportEraser/SupportEraser.py | |
parent | af637d5acc34ffff87cf0ef3f6e2a7c3cffe1821 (diff) |
Don't add a SettingOverrideDecorator twice
CuraSceneNodes get a SettingOverrideDecorator automatically when constructed
Diffstat (limited to 'plugins/SupportEraser/SupportEraser.py')
-rw-r--r-- | plugins/SupportEraser/SupportEraser.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SupportEraser/SupportEraser.py b/plugins/SupportEraser/SupportEraser.py index 3332b4181d..cdb1c28414 100644 --- a/plugins/SupportEraser/SupportEraser.py +++ b/plugins/SupportEraser/SupportEraser.py @@ -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") |