diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 0608fa7..f345dab 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2367,7 +2367,21 @@ namespace OpenSim.Region.Environment.Scenes | |||
2367 | m_parentGroup.SetScriptEvents(scriptID, events); | 2367 | m_parentGroup.SetScriptEvents(scriptID, events); |
2368 | } | 2368 | } |
2369 | } | 2369 | } |
2370 | 2370 | public int registerTargetWaypoint(LLVector3 target, float tolerance) | |
2371 | { | ||
2372 | if (m_parentGroup != null) | ||
2373 | { | ||
2374 | return m_parentGroup.registerTargetWaypoint(target, tolerance); | ||
2375 | } | ||
2376 | return 0; | ||
2377 | } | ||
2378 | public void unregisterTargetWaypoint(int handle) | ||
2379 | { | ||
2380 | if (m_parentGroup != null) | ||
2381 | { | ||
2382 | m_parentGroup.unregisterTargetWaypoint(handle); | ||
2383 | } | ||
2384 | } | ||
2371 | protected SceneObjectPart(SerializationInfo info, StreamingContext context) | 2385 | protected SceneObjectPart(SerializationInfo info, StreamingContext context) |
2372 | { | 2386 | { |
2373 | //System.Console.WriteLine("SceneObjectPart Deserialize BGN"); | 2387 | //System.Console.WriteLine("SceneObjectPart Deserialize BGN"); |