Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2020-04-18 10:29:51 +0300
committerJulien Duroure <julien.duroure@gmail.com>2020-04-18 10:29:51 +0300
commit4ef5cd10f6895fbee5704d088fdbc493c0874dd9 (patch)
tree42baad4073c5216d36e8ab89c909b7d3abcc5be6 /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py
parent15d56ea627d9f07b02521dfce09e9dce01647ef1 (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-xio_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channel_target.py2
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