diff --git a/code/SceneCombiner.cpp b/code/SceneCombiner.cpp index 8a061609a..c0b63f971 100644 --- a/code/SceneCombiner.cpp +++ b/code/SceneCombiner.cpp @@ -967,7 +967,7 @@ void SceneCombiner::CopyScene(aiScene** _dest,const aiScene* src,bool allocate) dest->mFlags = src->mFlags; // source private data might be NULL if the scene is user-allocated (i.e. for use with the export API) - ScenePriv(dest)->mPPStepsApplied = ScenePriv(src) ? ScenePriv(src)->mPPStepsApplied : NULL; + ScenePriv(dest)->mPPStepsApplied = ScenePriv(src) ? ScenePriv(src)->mPPStepsApplied : 0; } // ------------------------------------------------------------------------------------------------