File tree 2 files changed +5
-1
lines changed
Client/trunk/ParaEngineClient
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,13 @@ XFile::Scene* ParaEngine::BlockModelManager::GetXFile(const std::string& filenam
61
61
XFileStaticModelParser parser (file.getBuffer (), file.getSize ());
62
62
pScene = parser.ParseParaXStaticModel ();
63
63
}
64
+ #ifdef SUPPORT_FBX_MODEL_FILE
64
65
else if (sFileExt == " fbx" || sFileExt == " FBX" )
65
66
{
66
67
FBXParser parser;
67
68
pScene = parser.ParseFBXFile (file.getBuffer (), file.getSize ());
68
69
}
69
-
70
+ # endif
70
71
if (pScene)
71
72
{
72
73
RemoveUntexturedFaces (*pScene);
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
3
#if !defined(NPLRUNTIME) && (defined(USE_DIRECTX_RENDERER) || defined(USE_OPENGL_RENDERER))
4
+ #ifndef SUPPORT_FBX_MODEL_FILE
5
+ #define SUPPORT_FBX_MODEL_FILE
6
+ #endif
4
7
5
8
#include " XFileParser.h"
6
9
#include " ParaXModel.h"
You can’t perform that action at this time.
0 commit comments