Fix for Issue #88 for River Editor Snapping

This commit is contained in:
DavidWyand-GG 2012-10-16 12:30:54 -04:00
parent 394d87cd54
commit 9ba4a35bca
2 changed files with 6 additions and 2 deletions

View file

@ -225,13 +225,16 @@ void GuiRiverEditorCtrl::get3DCursor( GuiCursor *&cursor,
void GuiRiverEditorCtrl::on3DMouseDown(const Gui3DMouseEvent & event)
{
_process3DMouseDown( event );
mGizmo->on3DMouseDown( event );
if ( !isFirstResponder() )
setFirstResponder();
}
void GuiRiverEditorCtrl::_process3DMouseDown( const Gui3DMouseEvent& event )
{
// Get the raycast collision position
Point3F tPos;
if ( !getStaticPos( event, tPos ) )