diff options
author | Adam Frisby | 2008-04-29 14:04:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-29 14:04:55 +0000 |
commit | 375163a6fece8b3a57c7555246abe8338223a599 (patch) | |
tree | 163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/PrimitiveBaseShape.cs | |
parent | Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff) | |
download | opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.zip opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.tar.gz opensim-SC-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2 opensim-SC-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.cs | 4 |
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 |