mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
remove repeated set of group rotation to physics
This commit is contained in:
@@ -3527,14 +3527,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void UpdateGroupRotationR(Quaternion rot)
|
||||
{
|
||||
m_rootPart.UpdateRotation(rot);
|
||||
|
||||
|
||||
/* this is done by rootpart RotationOffset set called by UpdateRotation
|
||||
PhysicsActor actor = m_rootPart.PhysActor;
|
||||
if (actor != null)
|
||||
{
|
||||
actor.Orientation = m_rootPart.RotationOffset;
|
||||
m_scene.PhysicsScene.AddPhysicsActorTaint(actor);
|
||||
}
|
||||
|
||||
*/
|
||||
HasGroupChanged = true;
|
||||
ScheduleGroupForTerseUpdate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user