aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs
diff options
context:
space:
mode:
authorlbsa712007-08-06 12:49:08 +0000
committerlbsa712007-08-06 12:49:08 +0000
commit95de99ff0a2f1d810c3f3dffc7a55cee98d5f28f (patch)
treea441b5906df6b6a665c91696d38587f3f8c8d615 /OpenSim/Framework/General/Types/PrimitiveBaseShape.cs
parent* SimpleApp works again: (diff)
downloadopensim-SC_OLD-95de99ff0a2f1d810c3f3dffc7a55cee98d5f28f.zip
opensim-SC_OLD-95de99ff0a2f1d810c3f3dffc7a55cee98d5f28f.tar.gz
opensim-SC_OLD-95de99ff0a2f1d810c3f3dffc7a55cee98d5f28f.tar.bz2
opensim-SC_OLD-95de99ff0a2f1d810c3f3dffc7a55cee98d5f28f.tar.xz
* Now we have boxes. Yay!
* Removed unused SendPrimitiveToClient that didn't have rot.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/General/Types/PrimitiveBaseShape.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs b/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs
index 1938a90..340947b 100644
--- a/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs
@@ -73,7 +73,7 @@ namespace OpenSim.Framework.Types
73 ExtraParams = new byte[1]; 73 ExtraParams = new byte[1];
74 TextureEntry = m_defaultTextureEntry; 74 TextureEntry = m_defaultTextureEntry;
75 } 75 }
76 76
77 //void returns need to change of course 77 //void returns need to change of course
78 public virtual void GetMesh() 78 public virtual void GetMesh()
79 { 79 {
@@ -94,6 +94,8 @@ namespace OpenSim.Framework.Types
94 PathCurve = 16; 94 PathCurve = 16;
95 ProfileCurve = 1; 95 ProfileCurve = 1;
96 PCode = 9; 96 PCode = 9;
97 PathScaleX = 100;
98 PathScaleY = 100;
97 } 99 }
98 100
99 public static BoxShape Default 101 public static BoxShape Default
@@ -103,10 +105,6 @@ namespace OpenSim.Framework.Types
103 BoxShape boxShape = new BoxShape(); 105 BoxShape boxShape = new BoxShape();
104 106
105 boxShape.Scale = new LLVector3(0.5f, 0.5f, 0.5f); 107 boxShape.Scale = new LLVector3(0.5f, 0.5f, 0.5f);
106
107 //boxShape.PathTaperX = 1;
108 //boxShape.PathTaperY = 1;
109 boxShape.PathSkew = 1;
110 108
111 return boxShape; 109 return boxShape;
112 } 110 }