diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 88da9be..bca1ff9 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1608,6 +1608,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1608 | if (ei.HitTF) | 1608 | if (ei.HitTF) |
1609 | { | 1609 | { |
1610 | pos = new Vector3(ei.ipoint.X, ei.ipoint.Y, ei.ipoint.Z); | 1610 | pos = new Vector3(ei.ipoint.X, ei.ipoint.Y, ei.ipoint.Z); |
1611 | } else | ||
1612 | { | ||
1613 | // fall back to our stupid functionality | ||
1614 | pos = RayEnd; | ||
1611 | } | 1615 | } |
1612 | 1616 | ||
1613 | return pos; | 1617 | return pos; |