mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Don't arrange in paste when no objects were present in the clipboard
CURA-7913
This commit is contained in:
parent
c393d915d7
commit
511f05c392
1 changed files with 4 additions and 0 deletions
|
@ -217,6 +217,10 @@ class CuraActions(QObject):
|
|||
|
||||
nodes = mesh_reader.stringToSceneNodes(scene_string)
|
||||
|
||||
if not nodes:
|
||||
# Nothing to paste
|
||||
return
|
||||
|
||||
# Find all fixed nodes, these are the nodes that should be avoided when arranging
|
||||
fixed_nodes = []
|
||||
root = application.getController().getScene().getRoot()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue