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
localFrame2.Rotation=point2.Body.Transform.RotationToLocal(point1.Transform.Rotation*newAngles(90,0,0)*newAngles(0,90,0));// face the right way, steer the right way
Copy file name to clipboardExpand all lines: engine/Sandbox.Engine/Scene/GameObjectSystems/SceneAnimationSystem.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ void UpdateAnimation()
65
65
}
66
66
);
67
67
68
-
// Now merge any descendants
69
-
System.Threading.Tasks.Parallel.ForEach(rootRenderers.Where( x =>!x.BoneMergeTarget.IsValid()),_animParallelOptions,x=>x.MergeDescendants(ChangedTransforms.Enqueue));
68
+
// Now merge any descendants without allocating per-merge delegates
69
+
System.Threading.Tasks.Parallel.ForEach(rootRenderers.Where( x =>!x.BoneMergeTarget.IsValid()),_animParallelOptions,renderer=>renderer.MergeDescendants(ChangedTransforms));
0 commit comments