Quick fix
This commit is contained in:
parent
8e146f8e3a
commit
9233cd9aa3
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ def sortEntity(object):
|
||||||
pddl_group = doc.addObject("App::DocumentObjectGroup", object.Type)
|
pddl_group = doc.addObject("App::DocumentObjectGroup", object.Type)
|
||||||
else:
|
else:
|
||||||
pddl_group = doc.getObjectsByLabel(object.Type)[0]
|
pddl_group = doc.getObjectsByLabel(object.Type)[0]
|
||||||
pddl_group.addObject(object)
|
pddl_group.addObject(object)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Gui.updateGui()
|
Gui.updateGui()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue