aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/PrimitiveBaseShape.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 4243300..6607c4b 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -202,7 +202,7 @@ namespace OpenSim.Framework
202 202
203 public void SetRadius(float radius) 203 public void SetRadius(float radius)
204 { 204 {
205 Scale.X = Scale.Y = radius*2f; 205 Scale.X = Scale.Y = radius * 2f;
206 } 206 }
207 207
208 // TODO: void returns need to change of course 208 // TODO: void returns need to change of course
@@ -237,4 +237,4 @@ namespace OpenSim.Framework
237 ProfileEnd = LLObject.PackEndCut(profileRange.Y); 237 ProfileEnd = LLObject.PackEndCut(profileRange.Y);
238 } 238 }
239 } 239 }
240} 240} \ No newline at end of file