aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-07 01:52:39 +0000
committerTeravus Ovares2008-02-07 01:52:39 +0000
commit1b8e89751a40ba7bcb1e068f60d4d5228d31f4ce (patch)
treeeff527670ee99e08712ad2f171a05c0340912a1d /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentmake a couple more changes to get us back very close to old color scheme (diff)
downloadopensim-SC_OLD-1b8e89751a40ba7bcb1e068f60d4d5228d31f4ce.zip
opensim-SC_OLD-1b8e89751a40ba7bcb1e068f60d4d5228d31f4ce.tar.gz
opensim-SC_OLD-1b8e89751a40ba7bcb1e068f60d4d5228d31f4ce.tar.bz2
opensim-SC_OLD-1b8e89751a40ba7bcb1e068f60d4d5228d31f4ce.tar.xz
* Added the Scripted objectflag if there is a script running in a prim. Remove the flag if you delete all of the scripts in the object.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 4456fce..0a9d21a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -670,6 +670,7 @@ namespace OpenSim.Region.Environment.Scenes
670 LLObject.ObjectFlags.AllowInventoryDrop | 670 LLObject.ObjectFlags.AllowInventoryDrop |
671 LLObject.ObjectFlags.CreateSelected; 671 LLObject.ObjectFlags.CreateSelected;
672 672
673
673 TrimPermissions(); 674 TrimPermissions();
674 675
675 ScheduleFullUpdate(); 676 ScheduleFullUpdate();
@@ -707,7 +708,11 @@ namespace OpenSim.Region.Environment.Scenes
707 OffsetPosition = position; 708 OffsetPosition = position;
708 RotationOffset = rotation; 709 RotationOffset = rotation;
709 ObjectFlags = flags; 710 ObjectFlags = flags;
710 711
712 // Since we don't store script state, this is only a 'temporary' objectflag now
713 // If the object is scripted, the script will get loaded and this will be set again
714 ObjectFlags &= ~(uint)LLObject.ObjectFlags.Scripted;
715
711 TrimPermissions(); 716 TrimPermissions();
712 // ApplyPhysics(); 717 // ApplyPhysics();
713 718