From ce0e3f89b707cf7cafd769b09839e8a9815736ad Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 22 Mar 2018 09:42:11 +0100 Subject: [PATCH] Fix code style and typo CURA-4846 --- cura/CuraApplication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 6d5bd34ee4..56f1528b9b 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1288,7 +1288,7 @@ class CuraApplication(QtApplication): has_merged_nodes = False for node in DepthFirstIterator(self.getController().getScene().getRoot()): if not isinstance(node, CuraSceneNode) or not node.getMeshData() : - if node.getName() == 'MergedMesh': + if node.getName() == "MergedMesh": has_merged_nodes = True continue @@ -1380,7 +1380,7 @@ class CuraApplication(QtApplication): # Use the previously found center of the group bounding box as the new location of the group group_node.setPosition(group_node.getBoundingBox().center) - group_node.setName("MergedMesh") # add a specific name to destinguis this node + group_node.setName("MergedMesh") # add a specific name to distinguish this node ## Updates origin position of all merged meshes