mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 06:35:15 +08: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
@ -217,6 +217,10 @@ class CuraActions(QObject):
|
|||||||
|
|
||||||
nodes = mesh_reader.stringToSceneNodes(scene_string)
|
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
|
# Find all fixed nodes, these are the nodes that should be avoided when arranging
|
||||||
fixed_nodes = []
|
fixed_nodes = []
|
||||||
root = application.getController().getScene().getRoot()
|
root = application.getController().getScene().getRoot()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user