diff --git a/multi_user/bl_types/bl_object.py b/multi_user/bl_types/bl_object.py index 37bb1c2..ebc85e1 100644 --- a/multi_user/bl_types/bl_object.py +++ b/multi_user/bl_types/bl_object.py @@ -609,6 +609,13 @@ class BlObject(ReplicatedDatablock): if datablock.data is None and img_uuid: datablock.data = get_datablock_from_uuid(img_uuid, None) + if hasattr(datablock, 'cycles_visibility') \ + and 'cycles_visibility' in data: + loader.load(datablock.cycles_visibility, data['cycles_visibility']) + + if hasattr(datablock, 'modifiers'): + load_modifiers(data['modifiers'], datablock.modifiers) + if hasattr(object_data, 'skin_vertices') \ and object_data.skin_vertices\ and 'skin_vertices' in data: @@ -618,13 +625,6 @@ class BlObject(ReplicatedDatablock): skin_data.data, SKIN_DATA) - if hasattr(datablock, 'cycles_visibility') \ - and 'cycles_visibility' in data: - loader.load(datablock.cycles_visibility, data['cycles_visibility']) - - if hasattr(datablock, 'modifiers'): - load_modifiers(data['modifiers'], datablock.modifiers) - constraints = data.get('constraints') if constraints: load_constraints(constraints, datablock.constraints)