mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 10:03:48 +00:00
Fix for Issue #88 for River Editor Snapping
This commit is contained in:
parent
394d87cd54
commit
9ba4a35bca
2 changed files with 6 additions and 2 deletions
|
|
@ -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 ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue