Kaynağa Gözat

Update FBXConverter.cpp

Replaces a 0 by nullptr.
Kim Kulling 7 yıl önce
ebeveyn
işleme
31e75b9d54
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      code/FBXConverter.cpp

+ 1 - 1
code/FBXConverter.cpp

@@ -1532,7 +1532,7 @@ aiString Converter::GetTexturePath(const Texture* tex)
     path.Set(tex->RelativeFilename());
 
     const Video* media = tex->Media();
-    if (media != 0) {
+    if (media != nullptr) {
         bool textureReady = false; //tells if our texture is ready (if it was loaded or if it was found)
         unsigned int index;