diff options
author | lbsa71 | 2007-12-11 13:30:08 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-11 13:30:08 +0000 |
commit | ffd60baa4898efd1175dc551b9b1288820edfb61 (patch) | |
tree | c500d1363d23d71b45e75113a8f5f6db2d02bfb2 /OpenSim/Framework | |
parent | Implementing updateinventoryfolder: Should now be able to rename folders in i... (diff) | |
download | opensim-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')
-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 | { |