diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-05-22 22:33:50 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-05-22 22:34:43 +0300 |
commit | b471e48c305b6fdee69a862b50547a59dd368c4d (patch) | |
tree | a59adcdd1cf3b89c770254f4bc1375b554f001ed /source/blender/collada/AnimationExporter.cpp | |
parent | 8fdbd1377e53144d62148d3e5e8277e467bed1a7 (diff) |
fix T64873 collada export crashes Blender on Mac
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r-- | source/blender/collada/AnimationExporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp index a34f92f66d6..eaa1626f7d8 100644 --- a/source/blender/collada/AnimationExporter.cpp +++ b/source/blender/collada/AnimationExporter.cpp @@ -79,13 +79,13 @@ bool AnimationExporter::exportAnimations() { Scene *sce = blender_context.get_scene(); - LinkNode &export_set = *this->export_settings->export_set; + LinkNode *export_set = this->export_settings->export_set; bool has_anim_data = bc_has_animations(sce, export_set); int animation_count = 0; if (has_anim_data) { BCObjectSet animated_subset; - BCAnimationSampler::get_animated_from_export_set(animated_subset, export_set); + BCAnimationSampler::get_animated_from_export_set(animated_subset, *export_set); animation_count = animated_subset.size(); BCAnimationSampler animation_sampler(blender_context, animated_subset); |