diff options
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 1424395..abdd570 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -227,5 +227,17 @@ namespace OpenSim.Framework | |||
227 | 227 | ||
228 | return shape; | 228 | return shape; |
229 | } | 229 | } |
230 | |||
231 | public void SetPathRange( LLVector3 pathRange ) | ||
232 | { | ||
233 | PathBegin = LLObject.PackBeginCut(pathRange.X); | ||
234 | PathEnd = LLObject.PackEndCut(pathRange.Y); | ||
235 | } | ||
236 | |||
237 | public void SetProfileRange( LLVector3 profileRange ) | ||
238 | { | ||
239 | ProfileBegin = LLObject.PackBeginCut(profileRange.X); | ||
240 | ProfileEnd = LLObject.PackEndCut(profileRange.Y); | ||
241 | } | ||
230 | } | 242 | } |
231 | } | 243 | } |