Malcolm Tyrrell 5 年之前
父节点
当前提交
d70685d37f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/AssetLib/FBX/FBXConverter.cpp

+ 2 - 2
code/AssetLib/FBX/FBXConverter.cpp

@@ -105,7 +105,7 @@ FBXConverter::FBXConverter(aiScene *out, const Document &doc, bool removeEmptyBo
     // The idea here is to traverse all objects to find these Textures and convert them,
     // The idea here is to traverse all objects to find these Textures and convert them,
     // so later during material conversion it will find converted texture in the textures_converted array.
     // so later during material conversion it will find converted texture in the textures_converted array.
     if (doc.Settings().readTextures) {
     if (doc.Settings().readTextures) {
-        ConvertOrphantEmbeddedTextures();
+        ConvertOrphanedEmbeddedTextures();
     }
     }
     ConvertRootNode();
     ConvertRootNode();
 
 
@@ -3467,7 +3467,7 @@ void FBXConverter::TransferDataToScene() {
     }
     }
 }
 }
 
 
-void FBXConverter::ConvertOrphantEmbeddedTextures() {
+void FBXConverter::ConvertOrphanedEmbeddedTextures() {
     // in C++14 it could be:
     // in C++14 it could be:
     // for (auto&& [id, object] : objects)
     // for (auto&& [id, object] : objects)
     for (auto &&id_and_object : doc.Objects()) {
     for (auto &&id_and_object : doc.Objects()) {