diff options
author | Justin Clarke Casey | 2008-06-27 14:25:36 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-27 14:25:36 +0000 |
commit | 836557a2f7a0bfae129626b54150cefd782cbaf9 (patch) | |
tree | 823c008e343c4e1dd61a8300bb0506612073fc8f /OpenSim/Region/Examples/SimpleModule/RegionModule.cs | |
parent | added in new type for mapping texture objects to the db (diff) | |
download | opensim-SC-836557a2f7a0bfae129626b54150cefd782cbaf9.zip opensim-SC-836557a2f7a0bfae129626b54150cefd782cbaf9.tar.gz opensim-SC-836557a2f7a0bfae129626b54150cefd782cbaf9.tar.bz2 opensim-SC-836557a2f7a0bfae129626b54150cefd782cbaf9.tar.xz |
* refactor: fission InnerScene.AddSceneObject()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 2e6ed42..327bd75 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs | |||
@@ -76,7 +76,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
76 | } | 76 | } |
77 | 77 | ||
78 | FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos); | 78 | FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos); |
79 | m_scene.AddSceneObject(fileObject, true); | 79 | m_scene.AddNewSceneObject(fileObject, true); |
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
@@ -106,7 +106,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
106 | ComplexObject complexObject = | 106 | ComplexObject complexObject = |
107 | new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), | 107 | new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), |
108 | pos + posOffset); | 108 | pos + posOffset); |
109 | m_scene.AddSceneObject(complexObject, true); | 109 | m_scene.AddNewSceneObject(complexObject, true); |
110 | } | 110 | } |
111 | } | 111 | } |
112 | 112 | ||
@@ -115,7 +115,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
115 | SceneObjectGroup sceneObject = | 115 | SceneObjectGroup sceneObject = |
116 | new CpuCounterObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), | 116 | new CpuCounterObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(), |
117 | pos + new LLVector3(1f, 1f, 1f)); | 117 | pos + new LLVector3(1f, 1f, 1f)); |
118 | m_scene.AddSceneObject(sceneObject, true); | 118 | m_scene.AddNewSceneObject(sceneObject, true); |
119 | } | 119 | } |
120 | 120 | ||
121 | public void Close() | 121 | public void Close() |