Fix linked proxy startup sync

This commit is contained in:
Lubos Lenco 2017-10-18 10:20:37 +02:00
parent 3f04bc9286
commit d56be0e8f2

View file

@ -1324,6 +1324,8 @@ class ArmSyncProxyButton(bpy.types.Operator):
def execute(self, context):
if len(bpy.data.libraries) > 0:
for obj in bpy.data.objects:
if obj == None or obj.proxy == None:
continue
if obj.arm_proxy_sync_loc:
arm.proxy.sync_location(obj)
if obj.arm_proxy_sync_rot: