summaryrefslogtreecommitdiffstats
path: root/platform/macos/export/export_plugin.cpp
diff options
context:
space:
mode:
authorCasey <67843601+caseyjoy@users.noreply.github.com>2023-06-15 02:29:39 -0600
committerCasey <67843601+caseyjoy@users.noreply.github.com>2023-06-17 16:09:41 -0600
commit0defaefdba7c7e747191445dc5ef0e5256b54d60 (patch)
treecaf2828b07ececd1419f28ddb339bd64905927c8 /platform/macos/export/export_plugin.cpp
parent33957aee69683cf1f542a8622e5a9efd23070f1c (diff)
downloadredot-engine-0defaefdba7c7e747191445dc5ef0e5256b54d60.tar.gz
Update GridMap editor grid location when required
The GridMap editor's grid previously did not not move when moving the tile cursor, only on certain menu actions. This commit adds an update_grid call for valid mouse movement in the editor, changes update_grid to only offset if there's a valid cursor, and adds updates for the grid and cursor when a mesh library is changed since we need the new RID for the update_grid check, and if we remove the mesh library we want to make sure it gets recentered. As a nice side-effect, it also updates to the new cursor mesh if you load a new mesh library. Fixes #57068
Diffstat (limited to 'platform/macos/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions