mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-12 19:47:27 +00:00
chore: log about deprecated xmodel version 1 backwards compatibility
This commit is contained in:
@@ -104,7 +104,11 @@ namespace
|
||||
return false;
|
||||
}
|
||||
|
||||
m_gltf_bad_rotation_formulas = version == 1u;
|
||||
if (version == 1u)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
const auto jXModel = jRoot.get<JsonXModel>();
|
||||
return CreateXModelFromJson(jXModel, xmodel, context, registration);
|
||||
|
Reference in New Issue
Block a user