mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Clean up whitespace
This commit is contained in:
parent
fc9c1045c9
commit
e36f78dd35
2 changed files with 7 additions and 7 deletions
|
@ -71,12 +71,12 @@ class ObjectsModel(ListModel):
|
|||
#check if we already have an instance of the object based on name
|
||||
duplicate = False
|
||||
for n in namecount:
|
||||
if name == n["name"]:
|
||||
name = "{0}({1})".format(name, n["count"])
|
||||
node.setName(name)
|
||||
n["count"] = n["count"]+1
|
||||
duplicate = True
|
||||
|
||||
if name == n["name"]:
|
||||
name = "{0}({1})".format(name, n["count"])
|
||||
node.setName(name)
|
||||
n["count"] = n["count"]+1
|
||||
duplicate = True
|
||||
|
||||
if not duplicate:
|
||||
namecount.append({"name" : name, "count" : 1})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue