godot/modules/gridmap
Casey 0defaefdba 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
2023-06-17 16:09:41 -06:00
..
doc_classes Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
editor Update GridMap editor grid location when required 2023-06-17 16:09:41 -06:00
icons Add syntax highlighter icons 2023-05-29 20:42:54 +02:00
config.py Disable 3D-only modules when 3D is disabled 2021-06-03 17:45:28 -04:00
grid_map.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
grid_map.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00