Merge pull request #101455 from Calinou/editor-gridmap-update-preview-size
Make GridMap editor Preview Size setting take effect immediately after change
This commit is contained in:
commit
336459168f
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