We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a720e0c commit d7dcc75Copy full SHA for d7dcc75
samples/3D/e3dView/modelView.ec
@@ -221,9 +221,9 @@ class ModelViewer : Window
221
bool OnLoadGraphics()
222
{ // 3DS Loader currently needs DisplaySystem to load materials
223
char ext[MAX_EXTENSION];
224
- const String convertTo = "glb"; //"e3d";
+ const String convertTo = "e3d";
225
// bool is3DS = modelFile && !strcmpi(GetExtension(modelFile, ext), "3ds");
226
- bool isE3D = !strcmpi(ext, convertTo);
+ bool isE3D = modelFile && !strcmpi(GetExtension(modelFile, ext), convertTo);
227
char outName[MAX_FILENAME];
228
DisplaySystem loadDS = 0;//!isE3D ? displaySystem : null;
229
Map<uint, Bitmap> texturesByID { };
0 commit comments