Skip to content

Commit 97bb9b7

Browse files
authored
Update cursor instance when calling set_selected_palette_item
1 parent a7a2a12 commit 97bb9b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/gridmap/editor/grid_map_editor_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,6 +1854,7 @@ void GridMapEditorPlugin::set_selected_palette_item(int p_item) const {
18541854
}
18551855
if (p_item != grid_map_editor->selected_palette) {
18561856
grid_map_editor->selected_palette = p_item;
1857+
grid_map_editor->_update_cursor_instance();
18571858
grid_map_editor->update_palette();
18581859
}
18591860
}

0 commit comments

Comments
 (0)