浏览代码

added missing file extensions to aiImporterDesc::mFileExtensions

Krishty 4 年之前
父节点
当前提交
196deea7ce

+ 1 - 1
code/AssetLib/Collada/ColladaLoader.cpp

@@ -75,7 +75,7 @@ static const aiImporterDesc desc = {
     3,
     3,
     1,
     1,
     5,
     5,
-    "dae zae"
+    "dae xml zae"
 };
 };
 
 
 static const float kMillisecondsFromSeconds = 1000.f;
 static const float kMillisecondsFromSeconds = 1000.f;

+ 2 - 3
code/AssetLib/M3D/M3DImporter.cpp

@@ -95,10 +95,9 @@ static const aiImporterDesc desc = {
     0,
     0,
     0,
     0,
     0,
     0,
-#ifdef M3D_ASCII
-    "m3d a3d"
-#else
     "m3d"
     "m3d"
+#ifdef M3D_ASCII
+    " a3d"
 #endif
 #endif
 };
 };
 
 

+ 1 - 1
code/AssetLib/Q3BSP/Q3BSPFileImporter.cpp

@@ -75,7 +75,7 @@ static const aiImporterDesc desc = {
     0,
     0,
     0,
     0,
     0,
     0,
-    "pk3"
+    "bsp pk3"
 };
 };
 
 
 namespace Assimp {
 namespace Assimp {