remove repeated set of group rotation to physics
parent
df9935273f
commit
c7c0d5558b
|
@ -3527,14 +3527,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public void UpdateGroupRotationR(Quaternion rot)
|
public void UpdateGroupRotationR(Quaternion rot)
|
||||||
{
|
{
|
||||||
m_rootPart.UpdateRotation(rot);
|
m_rootPart.UpdateRotation(rot);
|
||||||
|
|
||||||
|
/* this is done by rootpart RotationOffset set called by UpdateRotation
|
||||||
PhysicsActor actor = m_rootPart.PhysActor;
|
PhysicsActor actor = m_rootPart.PhysActor;
|
||||||
if (actor != null)
|
if (actor != null)
|
||||||
{
|
{
|
||||||
actor.Orientation = m_rootPart.RotationOffset;
|
actor.Orientation = m_rootPart.RotationOffset;
|
||||||
m_scene.PhysicsScene.AddPhysicsActorTaint(actor);
|
m_scene.PhysicsScene.AddPhysicsActorTaint(actor);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
HasGroupChanged = true;
|
HasGroupChanged = true;
|
||||||
ScheduleGroupForTerseUpdate();
|
ScheduleGroupForTerseUpdate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue