diff options
* 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.cs | 6 |
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 | { |