aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-26 04:36:28 +0000
committerTeravus Ovares2007-12-26 04:36:28 +0000
commitb7170215baf52d7a0704f5e6550b034b6cb33ae0 (patch)
tree619d94d93a5e68c9ad0cc3f1853535440fe90b92
parent* Coded around another Null packet sent by the packet pool (diff)
downloadopensim-SC_OLD-b7170215baf52d7a0704f5e6550b034b6cb33ae0.zip
opensim-SC_OLD-b7170215baf52d7a0704f5e6550b034b6cb33ae0.tar.gz
opensim-SC_OLD-b7170215baf52d7a0704f5e6550b034b6cb33ae0.tar.bz2
opensim-SC_OLD-b7170215baf52d7a0704f5e6550b034b6cb33ae0.tar.xz
* Patch by Melanie to fix CreateSelected
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index cbb50d7..4f89dd0 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1453,9 +1453,15 @@ namespace OpenSim.Region.Environment.Scenes
1453 { 1453 {
1454 LLQuaternion lRot; 1454 LLQuaternion lRot;
1455 lRot = RotationOffset; 1455 lRot = RotationOffset;
1456 clientFlags &= ~(uint)LLObject.ObjectFlags.CreateSelected;
1457
1456 if (remoteClient.AgentId == OwnerID) 1458 if (remoteClient.AgentId == OwnerID)
1457 { 1459 {
1458 clientFlags &= ~(uint)LLObject.ObjectFlags.CreateSelected; 1460 if ((uint)(m_flags & LLObject.ObjectFlags.CreateSelected) != 0)
1461 {
1462 clientFlags |= (uint)LLObject.ObjectFlags.CreateSelected;
1463 m_flags &= ~LLObject.ObjectFlags.CreateSelected;
1464 }
1459 } 1465 }
1460 1466
1461 1467