add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange
parent
858b0a2efd
commit
aae94a8c80
|
@ -316,6 +316,12 @@ namespace OpenSim.Framework
|
|||
_pathEnd = Primitive.PackEndCut(pathRange.Y);
|
||||
}
|
||||
|
||||
public void SetPathRange(float begin, float end)
|
||||
{
|
||||
_pathBegin = Primitive.PackBeginCut(begin);
|
||||
_pathEnd = Primitive.PackEndCut(end);
|
||||
}
|
||||
|
||||
public void SetSculptData(byte sculptType, UUID SculptTextureUUID)
|
||||
{
|
||||
_sculptType = sculptType;
|
||||
|
@ -328,6 +334,12 @@ namespace OpenSim.Framework
|
|||
_profileEnd = Primitive.PackEndCut(profileRange.Y);
|
||||
}
|
||||
|
||||
public void SetProfileRange(float begin, float end)
|
||||
{
|
||||
_profileBegin = Primitive.PackBeginCut(begin);
|
||||
_profileEnd = Primitive.PackEndCut(end);
|
||||
}
|
||||
|
||||
public byte[] ExtraParams
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Reference in New Issue