diff options
author | John Hurliman | 2009-09-16 15:06:08 -0700 |
---|---|---|
committer | John Hurliman | 2009-09-16 15:06:08 -0700 |
commit | f42d085ab17098709bcba0c816c9742a213d3c01 (patch) | |
tree | cdf3af0cf5e65ad949f07afc80d28a29954bfa42 /OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs | |
parent | Add the Null storage implementation for the RegionData service. Standalones (diff) | |
download | opensim-SC_OLD-f42d085ab17098709bcba0c816c9742a213d3c01.zip opensim-SC_OLD-f42d085ab17098709bcba0c816c9742a213d3c01.tar.gz opensim-SC_OLD-f42d085ab17098709bcba0c816c9742a213d3c01.tar.bz2 opensim-SC_OLD-f42d085ab17098709bcba0c816c9742a213d3c01.tar.xz |
SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart
Diffstat (limited to 'OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs b/OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs index 59b7289..fbe43d6 100644 --- a/OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs +++ b/OpenSim/Region/OptionalModules/ContentManagementSystem/PointMetaEntity.cs | |||
@@ -66,7 +66,6 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
66 | 66 | ||
67 | private void CreatePointEntity(Scene scene, UUID uuid, Vector3 groupPos) | 67 | private void CreatePointEntity(Scene scene, UUID uuid, Vector3 groupPos) |
68 | { | 68 | { |
69 | SceneObjectGroup x = new SceneObjectGroup(); | ||
70 | SceneObjectPart y = new SceneObjectPart(); | 69 | SceneObjectPart y = new SceneObjectPart(); |
71 | 70 | ||
72 | //Initialize part | 71 | //Initialize part |
@@ -93,8 +92,8 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
93 | y.TrimPermissions(); | 92 | y.TrimPermissions(); |
94 | 93 | ||
95 | //Initialize group and add part as root part | 94 | //Initialize group and add part as root part |
95 | SceneObjectGroup x = new SceneObjectGroup(y); | ||
96 | x.SetScene(scene); | 96 | x.SetScene(scene); |
97 | x.SetRootPart(y); | ||
98 | x.RegionHandle = scene.RegionInfo.RegionHandle; | 97 | x.RegionHandle = scene.RegionInfo.RegionHandle; |
99 | x.SetScene(scene); | 98 | x.SetScene(scene); |
100 | 99 | ||