fix targetOmega resend on deselect on the right place, can't be at sop

but packethandlers
avinationmerge
UbitUmarov 2014-10-06 00:17:41 +01:00
parent c3a1d6b5ef
commit c0a75fcc03
2 changed files with 5 additions and 2 deletions

View File

@ -291,6 +291,10 @@ namespace OpenSim.Region.Framework.Scenes
EventManager.TriggerParcelPrimCountTainted();
}
// restore targetOmega
if (part.AngularVelocity != Vector3.Zero)
part.ScheduleTerseUpdate();
}
public virtual void ProcessMoneyTransferRequest(UUID source, UUID destination, int amount,

View File

@ -666,8 +666,7 @@ namespace OpenSim.Region.Framework.Scenes
m_isSelected = value;
if (ParentGroup != null)
ParentGroup.PartSelectChanged(value);
if (!m_isSelected && m_angularVelocity != Vector3.Zero)
ScheduleTerseUpdate();
}
}