diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2020-04-18 10:29:51 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2020-04-18 10:29:51 +0300 |
commit | 4ef5cd10f6895fbee5704d088fdbc493c0874dd9 (patch) | |
tree | 42baad4073c5216d36e8ab89c909b7d3abcc5be6 /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py | |
parent | 15d56ea627d9f07b02521dfce09e9dce01647ef1 (diff) |
glTF exporter: do not raise error when some not known properties are animated
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py index 6edf52cc..488f09ea 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py @@ -122,6 +122,6 @@ def __gather_path(channels: typing.Tuple[bpy.types.FCurve], }.get(target) if target is None: - raise RuntimeError("Cannot export an animation with {} target".format(target)) + return None return path |