瀏覽代碼

Update FBXConverter.cpp

Replaces a 0 by nullptr.
Kim Kulling 7 年之前
父節點
當前提交
31e75b9d54
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;