diff options
author | lbsa71 | 2007-07-18 09:36:47 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-18 09:36:47 +0000 |
commit | f70ec1fa75ef526266ad359d2db0e25f2635c182 (patch) | |
tree | 0ce6f6df1702d849532d1818c76c2bd301fb4579 /OpenSim/Framework/General/Types/PrimData.cs | |
parent | * One hopefully-final attempt at fixing this remoting issue. (diff) | |
download | opensim-SC_OLD-f70ec1fa75ef526266ad359d2db0e25f2635c182.zip opensim-SC_OLD-f70ec1fa75ef526266ad359d2db0e25f2635c182.tar.gz opensim-SC_OLD-f70ec1fa75ef526266ad359d2db0e25f2635c182.tar.bz2 opensim-SC_OLD-f70ec1fa75ef526266ad359d2db0e25f2635c182.tar.xz |
* Added a FileSystemObject to SimpleApp
* Added Some ShapeTypes (shapes doesn't work though!)
* Fixed some \0 issues
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/General/Types/PrimData.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Framework/General/Types/PrimData.cs b/OpenSim/Framework/General/Types/PrimData.cs index 6b8fa3a..9b24c0f 100644 --- a/OpenSim/Framework/General/Types/PrimData.cs +++ b/OpenSim/Framework/General/Types/PrimData.cs | |||
@@ -194,35 +194,35 @@ namespace OpenSim.Framework.Types | |||
194 | return bytes; | 194 | return bytes; |
195 | } | 195 | } |
196 | 196 | ||
197 | public static PrimData DefaultCube() | 197 | //public static PrimData DefaultCube() |
198 | { | 198 | //{ |
199 | PrimData primData = new PrimData(); | 199 | // PrimData primData = new PrimData(); |
200 | primData.CreationDate = (Int32)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; | 200 | // primData.CreationDate = (Int32)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; |
201 | primData.FullID = LLUUID.Random(); | 201 | // primData.FullID = LLUUID.Random(); |
202 | primData.Scale = new LLVector3(0.5f, 0.5f, 0.5f); | 202 | // primData.Scale = new LLVector3(0.5f, 0.5f, 0.5f); |
203 | primData.Rotation = new LLQuaternion(0, 0, 0, 1); | 203 | // primData.Rotation = new LLQuaternion(0, 0, 0, 1); |
204 | primData.PCode = 9; | 204 | // primData.PCode = 9; |
205 | primData.ParentID = 0; | 205 | // primData.ParentID = 0; |
206 | primData.PathBegin = 0; | 206 | // primData.PathBegin = 0; |
207 | primData.PathEnd = 0; | 207 | // primData.PathEnd = 0; |
208 | primData.PathScaleX = 0; | 208 | // primData.PathScaleX = 0; |
209 | primData.PathScaleY = 0; | 209 | // primData.PathScaleY = 0; |
210 | primData.PathShearX = 0; | 210 | // primData.PathShearX = 0; |
211 | primData.PathShearY = 0; | 211 | // primData.PathShearY = 0; |
212 | primData.PathSkew = 0; | 212 | // primData.PathSkew = 0; |
213 | primData.ProfileBegin = 0; | 213 | // primData.ProfileBegin = 0; |
214 | primData.ProfileEnd = 0; | 214 | // primData.ProfileEnd = 0; |
215 | primData.PathCurve = 16; | 215 | // primData.PathCurve = 16; |
216 | primData.ProfileCurve = 1; | 216 | // primData.ProfileCurve = 1; |
217 | primData.ProfileHollow = 0; | 217 | // primData.ProfileHollow = 0; |
218 | primData.PathRadiusOffset = 0; | 218 | // primData.PathRadiusOffset = 0; |
219 | primData.PathRevolutions = 0; | 219 | // primData.PathRevolutions = 0; |
220 | primData.PathTaperX = 0; | 220 | // primData.PathTaperX = 0; |
221 | primData.PathTaperY = 0; | 221 | // primData.PathTaperY = 0; |
222 | primData.PathTwist = 0; | 222 | // primData.PathTwist = 0; |
223 | primData.PathTwistBegin = 0; | 223 | // primData.PathTwistBegin = 0; |
224 | 224 | ||
225 | return primData; | 225 | // return primData; |
226 | } | 226 | //} |
227 | } | 227 | } |
228 | } | 228 | } |