diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index ebd79e2..9a418b8 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1809,7 +1809,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1809 | linkPart.LinkNum = m_parts.Count; | 1809 | linkPart.LinkNum = m_parts.Count; |
1810 | 1810 | ||
1811 | linkPart.SetParent(this); | 1811 | linkPart.SetParent(this); |
1812 | linkPart.AddFlag(PrimFlags.CreateSelected); | 1812 | linkPart.AddFlag(PrimFlags.CreateSelected); |
1813 | 1813 | ||
1814 | //if (linkPart.PhysActor != null) | 1814 | //if (linkPart.PhysActor != null) |
1815 | //{ | 1815 | //{ |
@@ -2081,6 +2081,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
2081 | { | 2081 | { |
2082 | SceneObjectPart selectionPart = GetChildPart(localID); | 2082 | SceneObjectPart selectionPart = GetChildPart(localID); |
2083 | 2083 | ||
2084 | if (data[47] != 0) // Temporary | ||
2085 | DetachFromBackup(); | ||
2086 | |||
2084 | if (selectionPart != null) | 2087 | if (selectionPart != null) |
2085 | { | 2088 | { |
2086 | lock (m_parts) | 2089 | lock (m_parts) |
@@ -2089,7 +2092,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2089 | { | 2092 | { |
2090 | if (part.Scale.X > 10.0 || part.Scale.Y > 10.0 || part.Scale.Z > 10.0) | 2093 | if (part.Scale.X > 10.0 || part.Scale.Y > 10.0 || part.Scale.Z > 10.0) |
2091 | { | 2094 | { |
2092 | data[47] = 0; // Reset physics | 2095 | data[46] = 0; // Reset physics |
2093 | break; | 2096 | break; |
2094 | } | 2097 | } |
2095 | } | 2098 | } |