mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-04 01:04:47 +00:00
Fixed: Don't try to convert next meshes if an error occurs
This commit is contained in:
parent
247839f8b9
commit
c385292a20
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,7 @@ int main(int argc, char *argv[])
|
||||||
NL3D::registerSerial3d();
|
NL3D::registerSerial3d();
|
||||||
|
|
||||||
sint res = 0;
|
sint res = 0;
|
||||||
|
|
||||||
for(uint i = 0; i < filePathes.size(); ++i)
|
for(uint i = 0; i < filePathes.size(); ++i)
|
||||||
{
|
{
|
||||||
std::string filePath = filePathes[i];
|
std::string filePath = filePathes[i];
|
||||||
|
@ -78,6 +78,8 @@ int main(int argc, char *argv[])
|
||||||
settings.ToolErrorLog = settings.DestinationDirectoryPath + "error.log";
|
settings.ToolErrorLog = settings.DestinationDirectoryPath + "error.log";
|
||||||
|
|
||||||
res = exportScene(settings);
|
res = exportScene(settings);
|
||||||
|
|
||||||
|
if (res != EXIT_SUCCESS) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue