You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto startTime = std::chrono::steady_clock::now();
329
329
auto meshes_bundle = assetManager->getAsset(filePath.data(), mitsubaLoaderParams);
330
-
assert(!meshes_bundle.getContents().empty(), ("ERROR (" + std::to_string(__LINE__) + " line): The xml file is invalid! Id of input stride: " + std::to_string(id)).c_str());
330
+
if (meshes_bundle.getContents().empty())
331
+
{
332
+
os::Printer::log("ERROR (" + std::to_string(__LINE__) + " line): The xml file is invalid/cannot be loaded! Id of input file: " + std::to_string(id) + ". File path: " + filePath, ELL_ERROR);
os::Printer::log("ERROR (" + std::to_string(__LINE__) + " line): The is no transform matrix in " + filePath + " ! Id of input stride: " + std::to_string(id), ELL_ERROR);
342
-
assert(validateFlag);
346
+
exit(-2);
343
347
}
344
348
345
349
auto transformReference = mitsubaMetadata->m_global.m_sensors[0].transform.matrix.extractSub3x4();
0 commit comments