You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Update cursor instance when calling set_selected_palette_item
This commit is contained in:
@@ -1854,6 +1854,7 @@ void GridMapEditorPlugin::set_selected_palette_item(int p_item) const {
|
||||
}
|
||||
if (p_item != grid_map_editor->selected_palette) {
|
||||
grid_map_editor->selected_palette = p_item;
|
||||
grid_map_editor->_update_cursor_instance();
|
||||
grid_map_editor->update_palette();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user