mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Merge pull request #1405 from Olathuss/my-dev
Enables onMouseMove method for scripting on the GameTSCtrl class.
This commit is contained in:
commit
346339904e
1 changed files with 2 additions and 0 deletions
|
|
@ -158,6 +158,8 @@ void GameTSCtrl::onMouseMove(const GuiEvent &evt)
|
||||||
lineTestEnd = pos + vec * 1000;
|
lineTestEnd = pos + vec * 1000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isMethod("onMouseMove"))
|
||||||
|
makeScriptCall("onMouseMove", evt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
void GameTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue