mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:06:00 +08:00
Select the picked node so the group does not get drawn
This commit is contained in:
parent
a0c44192da
commit
c3c096aaa0
@ -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…
x
Reference in New Issue
Block a user