From c3c096aaa015936441d8e7360c427f5af67c18aa Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 15 Mar 2018 14:55:15 +0100 Subject: [PATCH] Select the picked node so the group does not get drawn --- plugins/SupportEraser/SupportEraser.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/SupportEraser/SupportEraser.py b/plugins/SupportEraser/SupportEraser.py index 8f8e9deb52..d87a887d1b 100644 --- a/plugins/SupportEraser/SupportEraser.py +++ b/plugins/SupportEraser/SupportEraser.py @@ -118,6 +118,12 @@ class SupportEraser(Tool): op.push() Application.getInstance().getController().getScene().sceneChanged.emit(node) + # Select the picked node so the group does not get drawn as a wireframe (yet) + if Selection.isSelected(group): + Selection.remove(group) + if not Selection.isSelected(parent): + Selection.add(parent) + def _removeEraserMesh(self, node: CuraSceneNode): op = RemoveSceneNodeOperation(node) op.push()