Skip to content

Commit

Permalink
Fix inconsistent overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Mar 7, 2024
1 parent 9d639d5 commit f78dd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/layered_tile_map/editor/layered_tile_data_editors.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class TileDataDefaultEditor : public LayeredTileDataEditor {
virtual void _setup_undo_redo_action(LayeredTileSetAtlasSource *p_tile_set_atlas_source, const HashMap<LayeredTileMapCell, Variant, LayeredTileMapCell> &p_previous_values, const Variant &p_new_value);

public:
virtual Control *get_toolbar() override { return toolbar; };
virtual Control *get_toolbar() { return toolbar; };
virtual void forward_draw_over_atlas(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform);
virtual void forward_draw_over_alternatives(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform);
virtual void forward_painting_atlas_gui_input(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, const Ref<InputEvent> &p_event);
Expand Down Expand Up @@ -383,7 +383,7 @@ class TileDataTerrainsEditor : public LayeredTileDataEditor {
static void _bind_methods();

public:
virtual Control *get_toolbar() override { return toolbar; };
virtual Control *get_toolbar() { return toolbar; };
virtual void forward_draw_over_atlas(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform);
virtual void forward_draw_over_alternatives(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform);
virtual void forward_painting_atlas_gui_input(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, const Ref<InputEvent> &p_event);
Expand Down

0 comments on commit f78dd78

Please sign in to comment.