Fix for issue #76
This commit is contained in:
@@ -110,7 +110,7 @@ def get_animation_data_object(context: Context) -> Object:
|
|||||||
if active_object.type != 'ARMATURE':
|
if active_object.type != 'ARMATURE':
|
||||||
raise RuntimeError('Selected object must be an Armature')
|
raise RuntimeError('Selected object must be an Armature')
|
||||||
|
|
||||||
if pg.should_override_animation_data:
|
if pg.sequence_source != 'ACTIONS' and pg.should_override_animation_data:
|
||||||
animation_data_object = pg.animation_data_override
|
animation_data_object = pg.animation_data_override
|
||||||
else:
|
else:
|
||||||
animation_data_object = active_object
|
animation_data_object = active_object
|
||||||
|
|||||||
Reference in New Issue
Block a user