mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10:36 +00:00
Enable onMouseMove script method for GameTSCtrl
Enables the onMouseMove method for scripting in the GameTSCtrl class.
This commit is contained in:
parent
80b16185ef
commit
59b938151d
1 changed files with 2 additions and 0 deletions
|
|
@ -158,6 +158,8 @@ void GameTSCtrl::onMouseMove(const GuiEvent &evt)
|
|||
lineTestEnd = pos + vec * 1000;
|
||||
}
|
||||
}
|
||||
if (isMethod("onMouseMove"))
|
||||
makeScriptCall("onMouseMove", evt);
|
||||
}
|
||||
|
||||
void GameTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue