Make GridMap editor Preview Size setting take effect immediately after change
Previously, you had to interact with the zoom widget after changing the editor setting for the preview size to update. This also adds property hints for the GridMap editor settings.
This commit is contained in:
parent
5b52b4b5c4
commit
80b8d6dbe6
2 changed files with 6 additions and 4 deletions
|
|
@ -1254,6 +1254,9 @@ void GridMapEditor::_notification(int p_what) {
|
|||
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
indicator_mat->set_albedo(EDITOR_GET("editors/3d_gizmos/gizmo_colors/gridmap_grid"));
|
||||
|
||||
// Take Preview Size changes into account.
|
||||
update_palette();
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue