diff options
author | Dahlia Trimble | 2009-07-01 01:27:36 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-07-01 01:27:36 +0000 |
commit | aae94a8c802817e2d103c2d112fc3a280acc0c01 (patch) | |
tree | 56d9ec2a95f43a5f398ccc6a6d120ba491488f73 /OpenSim/Framework/PrimitiveBaseShape.cs | |
parent | Updated services to allow external applications like web interfaces to (diff) | |
download | opensim-SC_OLD-aae94a8c802817e2d103c2d112fc3a280acc0c01.zip opensim-SC_OLD-aae94a8c802817e2d103c2d112fc3a280acc0c01.tar.gz opensim-SC_OLD-aae94a8c802817e2d103c2d112fc3a280acc0c01.tar.bz2 opensim-SC_OLD-aae94a8c802817e2d103c2d112fc3a280acc0c01.tar.xz |
add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index cb203b9..b646f92 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -316,6 +316,12 @@ namespace OpenSim.Framework | |||
316 | _pathEnd = Primitive.PackEndCut(pathRange.Y); | 316 | _pathEnd = Primitive.PackEndCut(pathRange.Y); |
317 | } | 317 | } |
318 | 318 | ||
319 | public void SetPathRange(float begin, float end) | ||
320 | { | ||
321 | _pathBegin = Primitive.PackBeginCut(begin); | ||
322 | _pathEnd = Primitive.PackEndCut(end); | ||
323 | } | ||
324 | |||
319 | public void SetSculptData(byte sculptType, UUID SculptTextureUUID) | 325 | public void SetSculptData(byte sculptType, UUID SculptTextureUUID) |
320 | { | 326 | { |
321 | _sculptType = sculptType; | 327 | _sculptType = sculptType; |
@@ -328,6 +334,12 @@ namespace OpenSim.Framework | |||
328 | _profileEnd = Primitive.PackEndCut(profileRange.Y); | 334 | _profileEnd = Primitive.PackEndCut(profileRange.Y); |
329 | } | 335 | } |
330 | 336 | ||
337 | public void SetProfileRange(float begin, float end) | ||
338 | { | ||
339 | _profileBegin = Primitive.PackBeginCut(begin); | ||
340 | _profileEnd = Primitive.PackEndCut(end); | ||
341 | } | ||
342 | |||
331 | public byte[] ExtraParams | 343 | public byte[] ExtraParams |
332 | { | 344 | { |
333 | get | 345 | get |