mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* 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.
This commit is contained in:
@@ -1003,6 +1003,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
AddEntityFromStorage(group);
|
||||
SceneObjectPart rootPart = group.GetChildPart(group.UUID);
|
||||
rootPart.ObjectFlags &= ~(uint)LLObject.ObjectFlags.Scripted;
|
||||
rootPart.TrimPermissions();
|
||||
|
||||
group.ApplyPhysics(m_physicalPrim);
|
||||
|
||||
Reference in New Issue
Block a user