mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 11:55:54 +08:00
Fix code style and typo
CURA-4846
This commit is contained in:
parent
2fad098f0b
commit
ce0e3f89b7
@ -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…
x
Reference in New Issue
Block a user