fix: None image
This commit is contained in:
@ -45,7 +45,7 @@ from . import environment, utils
|
||||
|
||||
# TODO: remove dependency as soon as replication will be installed as a module
|
||||
DEPENDENCIES = {
|
||||
("replication", '0.0.19'),
|
||||
("replication", '0.0.20'),
|
||||
("deepdiff", '5.0.1'),
|
||||
}
|
||||
|
||||
|
@ -92,6 +92,7 @@ class BlArmature(BlDatablock):
|
||||
new_bone.head = bone_data['head_local']
|
||||
new_bone.tail_radius = bone_data['tail_radius']
|
||||
new_bone.head_radius = bone_data['head_radius']
|
||||
new_bone.roll = bone_data['roll']
|
||||
|
||||
if 'parent' in bone_data:
|
||||
new_bone.parent = target.edit_bones[data['bones']
|
||||
@ -123,7 +124,8 @@ class BlArmature(BlDatablock):
|
||||
'use_connect',
|
||||
'parent',
|
||||
'name',
|
||||
'layers'
|
||||
'layers',
|
||||
'roll',
|
||||
|
||||
]
|
||||
data = dumper.dump(instance)
|
||||
|
@ -157,7 +157,7 @@ class BlObject(BlDatablock):
|
||||
img_key = data.get('data')
|
||||
|
||||
if target.data is None and img_key:
|
||||
target.data = bpy.data.images[img_key]
|
||||
target.data = bpy.data.images.get(img_key, None)
|
||||
|
||||
def _dump_implementation(self, data, instance=None):
|
||||
assert(instance)
|
||||
|
Reference in New Issue
Block a user