Commit Graph

58 Commits

Author SHA1 Message Date
e7e48cd58c Allow undoredo actions to not make history unsaved 2025-05-13 02:40:31 +02:00
242293c451 Remove registration of deprecated classes 2025-05-05 20:16:50 +02:00
627547cb7d Merge pull request #105861 from groud/fix_flipped_tile_rendering
Fix rotated/flipped tiles rendering origin
2025-04-28 14:10:48 -05:00
bfdb0f0ecf Fix various sanitizer issues. 2025-04-28 15:23:35 +02:00
52aee9c325 Fix rotated/flipped tiles rendering origin 2025-04-28 13:34:39 +02:00
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
6b5b84c0c5 Merge pull request #101737 from btgs-0/add-tile-coordinate-and-rectangle-size-display-to-terrains-editor-101634
Draw tilemap coordinate and rectangle size on the screen when using the TileMapLayer's Terrains plugin
2025-03-24 15:27:35 -05:00
BT
b954ddce28 Draw the mouse position's tilemap co-ordinate (and rectangle size) on the screen when using the TileMapLayer's Terrains plugin. 2025-03-22 10:29:24 +10:30
581d675eeb Core: Convert Math class to namespace 2025-03-21 10:29:18 -05:00
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
94f0ce4a96 Merge pull request #104192 from arkology/tile_editors_ui_ux
Improve/fix `TileMap` and `TileSet` editors UI
2025-03-19 12:27:18 +01:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
1be23eee2c Improve TileMap and TileSet editors UI 2025-03-16 11:21:17 +03:00
fdfa1f24a0 Merge pull request #101098 from KoBeWi/rect_pretender
Don't show "Drawing rect" when not actually drawing
2025-01-07 23:17:55 +01:00
f8fd15690c Don't show "Drawing rect" when not actually drawing 2025-01-03 22:54:26 +01:00
3366f08a2c Don't print error when updating terrains tree without layer 2025-01-03 22:23:52 +01:00
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
e041356f3c Merge pull request #99357 from Giganzo/tile-map-grid-button
Fix button state of grid and highlight layer in tile map layer editor
2024-12-23 11:15:13 -06:00
f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
0ff5d5fd04 Add theme type variations for secondary Trees and ItemLists 2024-11-19 18:33:30 +04:00
a864bcc773 Fix button state of grid and highlight layer in tile map layer editor 2024-11-17 14:10:19 +01:00
bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
ab504b3139 Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap 2024-09-11 10:45:23 +02:00
aaa157f929 Fix TileSet Scattering setting vanishing when changing tools 2024-08-29 12:17:38 +01:00
52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
14dda6a4b9 Tweak missing tile source message in the TileSet editor
This also renames the Tiles tab in the TileSet bottom panel
to Tile Sources to make it more explicit (and avoid using
the same name as the Tiles tab in the TileMap editor).
2024-08-12 21:41:50 +02:00
a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
8ebaf4437a Fix crash in the TileMapLayer editor when using editable children 2024-07-05 17:08:18 +02:00
af28d58215 Fix RMB erasing of tiles 2024-07-02 08:45:05 +02:00
92b0375785 Fix some TileMapLayer editing problems 2024-06-29 18:18:54 +02:00
230a4cb63f Store TileMapLayer selection in scene's history 2024-06-22 18:42:48 +02:00
fbb879debd [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
d9e2fc74c7 [Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
755a0efbb6 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
bdefe53992 Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
b0cd6edceb Fix TileMap selection pattern being needlessly reorganized 2024-05-13 14:34:33 +02:00
6b69ae8dd0 Reuse single erase pattern in tile editor 2024-04-17 20:43:00 +02:00
bb6a1cb5a8 Fix heap-use-after-free error in TileMapLayerEditor 2024-04-12 17:56:28 +02:00
f6a78f83aa Merge pull request #90207 from groud/fix_no_cached_rect
Fix "no cached rect" errors in TileMapLayer editor
2024-04-04 17:09:26 +02:00