aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs
diff options
context:
space:
mode:
authorlbsa712007-12-11 13:30:08 +0000
committerlbsa712007-12-11 13:30:08 +0000
commitffd60baa4898efd1175dc551b9b1288820edfb61 (patch)
treec500d1363d23d71b45e75113a8f5f6db2d02bfb2 /OpenSim/Framework/PrimitiveBaseShape.cs
parentImplementing updateinventoryfolder: Should now be able to rename folders in i... (diff)
downloadopensim-SC_OLD-ffd60baa4898efd1175dc551b9b1288820edfb61.zip
opensim-SC_OLD-ffd60baa4898efd1175dc551b9b1288820edfb61.tar.gz
opensim-SC_OLD-ffd60baa4898efd1175dc551b9b1288820edfb61.tar.bz2
opensim-SC_OLD-ffd60baa4898efd1175dc551b9b1288820edfb61.tar.xz
* The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
* Added two shape constants that
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index a9da7c8..8081ee7 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -129,6 +129,12 @@ namespace OpenSim.Framework
129 TextureEntry = m_defaultTextureEntry; 129 TextureEntry = m_defaultTextureEntry;
130 } 130 }
131 131
132 public static PrimitiveBaseShape Create()
133 {
134 PrimitiveBaseShape shape = new PrimitiveBaseShape();
135 return shape;
136 }
137
132 //void returns need to change of course 138 //void returns need to change of course
133 public virtual void GetMesh() 139 public virtual void GetMesh()
134 { 140 {