diff options
Diffstat (limited to 'external/libgltf/patches/wrong_animation_state_when_set_time_to_null.patch')
-rw-r--r-- | external/libgltf/patches/wrong_animation_state_when_set_time_to_null.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/external/libgltf/patches/wrong_animation_state_when_set_time_to_null.patch b/external/libgltf/patches/wrong_animation_state_when_set_time_to_null.patch new file mode 100644 index 000000000000..56548e24f648 --- /dev/null +++ b/external/libgltf/patches/wrong_animation_state_when_set_time_to_null.patch @@ -0,0 +1,12 @@ +diff -ur libgltf.org/src/libgltf.cpp libgltf/src/libgltf.cpp +--- libgltf.org/src/libgltf.cpp 2014-06-23 20:38:35.470838661 +0200 ++++ libgltf/src/libgltf.cpp 2014-06-23 20:44:37.042823092 +0200 +@@ -235,7 +235,7 @@ + RenderScene* renderScene = (RenderScene*)handle->renderer;
+ if (time <= 0)
+ {
+- renderScene->startAnimation();
++ renderScene->setAnimTime(0.0);
+ }
+ else
+ {
|