Explorar o código

Merge pull request #89843 from kleonc/csharp-transform3d-interpolate-with-first-scale-then-rotate

[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
Rémi Verschelde hai 1 ano
pai
achega
60d37f1d49
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs

@@ -212,7 +212,7 @@ namespace Godot
 
         private void Rotate(Quaternion quaternion)
         {
-            this *= new Basis(quaternion);
+            this = new Basis(quaternion) * this;
         }
 
         private void SetDiagonal(Vector3 diagonal)