From 3f601c9267f95f6d88d5fd81d3937b6b73f290c2 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 20 Jan 2020 19:01:15 +0000 Subject: [PATCH] don't allow viewer to change rotation on sit --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f8f3c9cd1f..343afad810 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -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;