|
|
|
@ -193,7 +193,11 @@ class PlasmaAnimationGroupModifier(ActionModifier, PlasmaModifierProperties):
|
|
|
|
|
msg = "Animation Group '{}' specifies an invalid object. Ignoring..." |
|
|
|
|
exporter.report.warn(msg, self.key_name, ident=2) |
|
|
|
|
continue |
|
|
|
|
if child_bo.animation_data is None or child_bo.animation_data.action is None: |
|
|
|
|
animation_data = child_bo.animation_data |
|
|
|
|
if animation_data is None or animation_data.action is None: |
|
|
|
|
if child_bo.data is not None: |
|
|
|
|
animation_data = child_bo.data.animation_data |
|
|
|
|
if animation_data is None or animation_data.action is None: |
|
|
|
|
msg = "Animation Group '{}' specifies an object '{}' with no valid animation data. Ignoring..." |
|
|
|
|
exporter.report.warn(msg, self.key_name, child_bo.name, indent=2) |
|
|
|
|
continue |
|
|
|
|