don't allow viewer to change rotation on sit

master
UbitUmarov 2020-01-20 19:01:15 +00:00
parent 0bd102a397
commit 3f601c9267
1 changed files with 1 additions and 1 deletions

View File

@ -2670,7 +2670,7 @@ namespace OpenSim.Region.Framework.Scenes
{
// m_log.DebugFormat("[SCENE PRESENCE]: Initial body rotation {0} for {1}", agentData.BodyRotation, Name);
bool update_rotation = false;
if (agentData.BodyRotation != Rotation)
if (!IsSatOnObject && agentData.BodyRotation != Rotation)
{
Rotation = agentData.BodyRotation;
update_rotation = true;