aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDahlia Trimble2009-07-01 01:27:36 +0000
committerDahlia Trimble2009-07-01 01:27:36 +0000
commitaae94a8c802817e2d103c2d112fc3a280acc0c01 (patch)
tree56d9ec2a95f43a5f398ccc6a6d120ba491488f73 /OpenSim
parentUpdated services to allow external applications like web interfaces to (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs12
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