Fix animation manager with empty objects
2.3.2 - fixed: Bug with animation manager when there is image.empty object in scene
This commit is contained in:
@@ -1194,8 +1194,11 @@ def anim_status(objects) -> tuple((str, str)):
|
||||
|
||||
for o in objects:
|
||||
## Skip object with no animation
|
||||
if not (o.animation_data and o.animation_data.action) and not (o.data.animation_data and o.data.animation_data.action):
|
||||
continue
|
||||
if not (o.animation_data and o.animation_data.action):
|
||||
if o.type == 'EMPTY':
|
||||
continue
|
||||
if not (o.data.animation_data and o.data.animation_data.action):
|
||||
continue
|
||||
|
||||
## Also skip hidden objects
|
||||
if o.hide_get() and o.hide_render:
|
||||
|
||||
Reference in New Issue
Block a user