diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
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 | ||