fix: loader missing

This commit is contained in:
Swann
2020-08-06 15:33:08 +02:00
parent dee2e77552
commit f915c52bd0
+2 -1
View File
@@ -87,6 +87,8 @@ class BlObject(BlDatablock):
return instance
def _load_implementation(self, data, target):
loader = Loader()
# vertex groups
if 'vertex_groups' in data:
target.vertex_groups.clear()
@@ -120,7 +122,6 @@ class BlObject(BlDatablock):
target.data.shape_keys.key_blocks[key_block].relative_key = target.data.shape_keys.key_blocks[reference]
# Load transformation data
loader = Loader()
loader.load(target, data)
# Pose