From e4d7e80994a2ab471bddb29c785376e419677ecd Mon Sep 17 00:00:00 2001 From: Doprez <73259914+Doprez@users.noreply.github.com> Date: Wed, 25 Sep 2024 05:04:40 -0600 Subject: [PATCH] fix: changed AssImp unsupported pivot bone error to warning (#2467) --- sources/tools/Stride.Importer.3D/MeshConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/tools/Stride.Importer.3D/MeshConverter.cs b/sources/tools/Stride.Importer.3D/MeshConverter.cs index 887c6393e3..e7e64621ff 100644 --- a/sources/tools/Stride.Importer.3D/MeshConverter.cs +++ b/sources/tools/Stride.Importer.3D/MeshConverter.cs @@ -529,7 +529,7 @@ private unsafe AnimationInfo ProcessAnimations(Scene* scene, int animationIndex) // TODO: Need to resample the animation created by the pivot chain into a single animation, have a look at the file hierarchy in Assimp's viewer to get a better clue // See: 'IMPORT_FBX_PRESERVE_PIVOTS' above and https://github.com/assimp/assimp/discussions/4966 if (nodeAnim->MNodeName.AsString.Contains("$AssimpFbx$")) - Logger.Error($"Animation '{animName}' contains a pivot bone ({nodeAnim->MNodeName.AsString}), we currently do not handle these. This animation may not resolve properly."); + Logger.Warning($"Animation '{animName}' contains a pivot bone ({nodeAnim->MNodeName.AsString}), we currently do not handle these. This animation may not resolve properly."); if (visitedNodeNames.Add(nodeName)) {