mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
* changed nonsensical PermissionMask and ObjectFlags mixup; if this causes perms weirdness, let's all work together to find the real cause.
This commit is contained in:
@@ -933,7 +933,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
AddEntityFromStorage(group);
|
||||
SceneObjectPart rootPart = group.GetChildPart(group.UUID);
|
||||
rootPart.ApplySanePermissions();
|
||||
rootPart.TrimPermissions();
|
||||
|
||||
group.ApplyPhysics(m_physicalPrim);
|
||||
//rootPart.DoPhysicsPropertyUpdate(UsePhysics, true);
|
||||
@@ -1065,7 +1065,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
AddEntity(sceneOb);
|
||||
SceneObjectPart rootPart = sceneOb.GetChildPart(sceneOb.UUID);
|
||||
// if grass or tree, make phantom
|
||||
//rootPart.ApplySanePermissions();
|
||||
//rootPart.TrimPermissions();
|
||||
if ((rootPart.Shape.PCode == 95) || (rootPart.Shape.PCode == 255) || (rootPart.Shape.PCode == 111))
|
||||
{
|
||||
rootPart.AddFlag(LLObject.ObjectFlags.Phantom);
|
||||
|
||||
Reference in New Issue
Block a user