aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 2a25316..0144c4c 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1006,19 +1006,18 @@ namespace OpenSim.Region.Environment.Scenes
1006 } 1006 }
1007 } 1007 }
1008 1008
1009/* Tree has been removed from libSL
1010 public void AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position, 1009 public void AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position,
1011 libsecondlife.ObjectManager.Tree treeType, bool newTree) 1010 Tree treeType, bool newTree)
1012 { 1011 {
1013 PrimitiveBaseShape treeShape = new PrimitiveBaseShape(); 1012 PrimitiveBaseShape treeShape = new PrimitiveBaseShape();
1014 treeShape.PathCurve = 16; 1013 treeShape.PathCurve = 16;
1015 treeShape.PathEnd = 49900; 1014 treeShape.PathEnd = 49900;
1016 treeShape.PCode = newTree ? (byte)libsecondlife.ObjectManager.PCode.NewTree : (byte)libsecondlife.ObjectManager.PCode.Tree; 1015 treeShape.PCode = newTree ? (byte)PCode.NewTree : (byte)PCode.Tree;
1017 treeShape.Scale = scale; 1016 treeShape.Scale = scale;
1018 treeShape.State = (byte)treeType; 1017 treeShape.State = (byte)treeType;
1019 AddNewPrim(LLUUID.Random(), position, rotation, treeShape); 1018 AddNewPrim(LLUUID.Random(), position, rotation, treeShape);
1020 } 1019 }
1021*/ 1020
1022 public void RemovePrim(uint localID, LLUUID avatar_deleter) 1021 public void RemovePrim(uint localID, LLUUID avatar_deleter)
1023 { 1022 {
1024 m_innerScene.RemovePrim(localID, avatar_deleter); 1023 m_innerScene.RemovePrim(localID, avatar_deleter);