Collada: Remove unused vector of flaot[4][4] values
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 27 Feb 2018 10:14:55 +0000 (11:14 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 27 Feb 2018 10:14:55 +0000 (11:14 +0100)
Was in fact causing issues on macOS, something to do with
a destructor.

source/blender/collada/AnimationExporter.cpp

index 54da8b981389374fdfe736ddab20df74895ce547..3eefe84b21460cff23239bf27d52f13b1b4402f6 100644 (file)
@@ -155,7 +155,6 @@ void AnimationExporter::export_keyframed_animation_set(Object *ob)
        if (this->export_settings->export_transformation_type == BC_TRANSFORMATION_TYPE_MATRIX) {
 
                std::vector<float> ctimes;
-               std::vector<float[4][4]> values;
                find_keyframes(ob, ctimes);
                if (ctimes.size() > 0)
                        export_sampled_matrix_animation(ob, ctimes);