mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Fix code style and typo
CURA-4846
This commit is contained in:
parent
2fad098f0b
commit
ce0e3f89b7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue