mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-12 11:37:27 +00:00
fix: reset xmodel version configuration on every model instead of only on version 1
This commit is contained in:
@@ -109,6 +109,10 @@ namespace
|
||||
m_gltf_bad_rotation_formulas = true;
|
||||
std::cerr << std::format("DEPRECATED: XModel {} is version 1 that made use of bad GLTF bone rotations.\n", xmodel.name);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_gltf_bad_rotation_formulas = false;
|
||||
}
|
||||
|
||||
const auto jXModel = jRoot.get<JsonXModel>();
|
||||
return CreateXModelFromJson(jXModel, xmodel, context, registration);
|
||||
|
Reference in New Issue
Block a user