Fix Collada: nullptr is a c++11 keyword. Changed to NULL

This commit is contained in:
Gaia Clary 2018-04-06 13:06:46 +02:00
parent fe73c12990
commit d2e1a14a57
Notes: blender-bot 2023-02-14 06:02:01 +01:00
Referenced by issue #54584, Crash/program shutdown - draw texture in fullscreen
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ void AnimationImporter:: Assign_color_animations(const COLLADAFW::UniqueId& list
BLI_strncpy(rna_path, anim_type, sizeof(rna_path));
const COLLADAFW::AnimationList *animlist = animlist_map[listid];
if (animlist == nullptr)
if (animlist == NULL)
{
fprintf(stderr, "Collada: No animlist found for ID: %s of type %s\n", listid.toAscii().c_str(), anim_type);
return;