mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 05:58:58 +08:00
Clean up whitespace
This commit is contained in:
parent
fc9c1045c9
commit
e36f78dd35
@ -71,11 +71,11 @@ 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…
x
Reference in New Issue
Block a user