Merge branch 'develop' into 132-fix-undo-edit-last-operation-redo-handling-2

This commit is contained in:
Swann 2021-01-26 15:46:09 +01:00
commit 36038effdf
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -251,7 +251,6 @@ class BlObject(BlDatablock):
"rotation_mode",
"parent",
"data",
"children",
"library",
"empty_display_type",
"empty_display_size",
@ -370,13 +369,6 @@ class BlObject(BlDatablock):
bone_groups[group.name] = dumper.dump(group)
data['pose']['bone_groups'] = bone_groups
# CHILDS
if len(instance.children) > 0:
childs = []
for child in instance.children:
childs.append(child.name)
data["children"] = childs
# VERTEx GROUP
if len(instance.vertex_groups) > 0:
@ -462,8 +454,8 @@ class BlObject(BlDatablock):
# Avoid Empty case
if self.instance.data:
deps.append(self.instance.data)
if len(self.instance.children) > 0:
deps.extend(list(self.instance.children))
if self.instance.parent :
deps.append(self.instance.parent)
if self.is_library:
deps.append(self.instance.library)