Fix Collada: nullptr is a c++11 keyword. Changed to NULL
This commit is contained in:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue