Fixed preprocessor #if statements

This commit is contained in:
Xiao Qi 2023-01-07 21:56:05 +08:00
parent 9ef0ff1a93
commit 71dbf6632e
1 changed files with 3 additions and 5 deletions

View File

@ -49,17 +49,15 @@ int main(int argc, char* argv[])
paths.emplace_back(argv[i]); paths.emplace_back(argv[i]);
} }
} }
#else
for (auto const& path : paths) for (auto const& path : paths)
{ {
SH_COMP::MeshCompiler::LoadAndCompile(path); SH_COMP::MeshCompiler::LoadAndCompile(path);
} }
#endif
#else
SH_COMP::MeshCompiler::LoadAndCompile("MD_Homeowner-NoRig.gltf"); SH_COMP::MeshCompiler::LoadAndCompile("MD_Homeowner-NoRig.gltf");
#endif
return 0; return 0;
} }