mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Select the picked node so the group does not get drawn
This commit is contained in:
parent
a0c44192da
commit
c3c096aaa0
1 changed files with 6 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue