mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user