Skip to content

Commit

Permalink
Fix #763 #1273 add popup warning when more than 1 action in NLA
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Mar 12, 2024
1 parent f87810f commit 3745cc9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ def __get_blender_actions(obj_uuid: str,
# so skip them for now and only write single-strip tracks.
non_muted_strips = [strip for strip in track.strips if strip.action is not None and strip.mute is False]
if track.strips is None or len(non_muted_strips) != 1:
export_settings['log'].warning("NLA track '{}' has {} strips, but only single-strip tracks are supported in 'actions' mode.".format(track.name, len(track.strips)), popup=True)
continue
for strip in non_muted_strips:

Expand Down

0 comments on commit 3745cc9

Please sign in to comment.