diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index 030b9e7582b..72f7fb2ddcc 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -893,7 +893,7 @@ void AnimationImporter::translate_Animations_NEW ( COLLADAFW::Node * node , AnimationImporter::AnimMix* AnimationImporter::get_animation_type ( const COLLADAFW::Node * node , std::map FW_object_map) { - AnimationImporter::AnimMix *types = NULL; + AnimMix *types = new AnimMix(); types->transform = INANIMATE ; types->light = INANIMATE; types->camera = INANIMATE;