From 59b938151dc28ac5e38c5be1911f03ae800a65ad Mon Sep 17 00:00:00 2001 From: Olathuss Date: Tue, 4 Mar 2025 21:30:19 -0700 Subject: [PATCH] Enable onMouseMove script method for GameTSCtrl Enables the onMouseMove method for scripting in the GameTSCtrl class. --- Engine/source/T3D/gameTSCtrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Engine/source/T3D/gameTSCtrl.cpp b/Engine/source/T3D/gameTSCtrl.cpp index a8389e456..f4f5543db 100644 --- a/Engine/source/T3D/gameTSCtrl.cpp +++ b/Engine/source/T3D/gameTSCtrl.cpp @@ -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)