Olanti
f389776d7d
Fix issues with 'create alternative tile' button
...
Fix button sizing for small tile sizes.
Stop button from preventing MMB panning.
Support undo operations for the button.
Hide button when "Paint" mode is active.
2025-02-13 15:43:14 +03:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-08 14:47:42 +02:00
Rémi Verschelde
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
kobewi
f8fd15690c
Don't show "Drawing rect" when not actually drawing
2025-01-03 22:54:26 +01:00
kobewi
3366f08a2c
Don't print error when updating terrains tree without layer
2025-01-03 22:23:52 +01:00
A Thousand Ships
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
Thaddeus Crews
98c3138804
Merge pull request #92717 from KoBeWi/twisted_frying_pan
...
Add warped panning to every ViewPanner instance
2024-12-23 11:15:16 -06:00
Thaddeus Crews
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
Yufeng Ying
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
kobewi
9a96393f46
Add warped panning to every ViewPanner instance
2024-12-20 17:40:27 +01:00
Thaddeus Crews
cbfc34d279
Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp
...
Fix `ViewPanner` panning-mouse-warp
2024-12-19 20:00:01 -06:00
Markus Sauermann
4887172a59
Fix ViewPanner panning mouse warp
...
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.
This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.
This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.
This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
Haoyu Qiu
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
Chaosus
9a8d6628de
[Scene] Add SceneStringName::hover
2024-12-11 11:11:25 +03:00
Chaosus
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
rune-scape
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
passivestar
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
Giganzo
a864bcc773
Fix button state of grid and highlight layer in tile map layer editor
2024-11-17 14:10:19 +01:00
Thaddeus Crews
d58ac7fc12
Merge pull request #98629 from timothyqiu/delete-delete
...
Fix duplicated Delete shortcut entries in Tiles Editor
2024-11-12 09:27:58 -06:00
Thaddeus Crews
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
Thaddeus Crews
89a311205f
Style: Apply clang-tidy fixes
...
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
...
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Haoyu Qiu
514c3278a2
Fix duplicated Delete shortcut entries in Tiles Editor
2024-10-29 08:07:52 +08:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Rémi Verschelde
fe31ede42d
Merge pull request #95034 from KoBeWi/take_a_problem_and_make_it_worse._solved
...
Close expanded tile editor when inspector updates
2024-10-04 22:43:02 +02:00
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
...
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition
2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes
2024-09-20 08:09:48 -05:00
kleonc
ab504b3139
Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap
2024-09-11 10:45:23 +02:00
Gilles Roudière
d75c5ec7ba
Implement multiple occlusion polygons within each TileSet occlusion layer
2024-09-03 15:38:51 +02:00
Sébastien Dunne Fulmer
aaa157f929
Fix TileSet Scattering setting vanishing when changing tools
2024-08-29 12:17:38 +01:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
Rémi Verschelde
9bb86dfa4a
Merge pull request #95249 from KoBeWi/pluginector
...
Fix usage of `add_inspector_plugin()`
2024-08-17 00:46:35 +02:00
Rémi Verschelde
a3904585bc
Merge pull request #95440 from Calinou/tileset-editor-tweak-no-tile-source-message
...
Tweak missing tile source message in the TileSet editor
2024-08-16 14:34:37 +02:00
Rémi Verschelde
60b0b5cd42
Merge pull request #95337 from kleonc/tile_set_editor_fix_transposed_polygons_editing
...
Fix polygon drawing for transposed tiles in `TileSet` editor
2024-08-16 14:33:37 +02:00
Hugo Locurcio
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
kleonc
3dfac1644d
Fix transposed tiles drawing in GenericTilePolygonEditor
2024-08-09 19:26:09 +02:00
kleonc
6895f6f8cc
Fix TileAtlasView bounds checks for transposed tiles
2024-08-09 19:26:02 +02:00
kobewi
8623a75380
Fix usage of add_inspector_plugin()
2024-08-07 14:16:02 +02:00
kobewi
e2c03469fb
Close expanded tile editor when inspector updates
2024-08-02 13:43:30 +02:00
bruvzg
cbcc8fab73
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures.
2024-07-29 11:41:15 +03:00
kobewi
a0824735a0
Make sure that selected tile source is remembered
2024-07-14 19:07:17 +02:00
Gilles Roudière
8ebaf4437a
Fix crash in the TileMapLayer editor when using editable children
2024-07-05 17:08:18 +02:00
kobewi
267b5bca23
Fix crash in tile physics editor
2024-07-05 14:00:30 +02:00
kobewi
af28d58215
Fix RMB erasing of tiles
2024-07-02 08:45:05 +02:00
Rémi Verschelde
4ab8fb8093
Merge pull request #93747 from KoBeWi/layer_of_bugs
...
Fix some TileMapLayer editing problems
2024-06-29 19:54:30 +02:00
Rémi Verschelde
8d4c593c54
Merge pull request #93720 from MewPurPur/remove-overbright
...
Fix unnecessary overbright modulates used in a few editors
2024-06-29 19:54:10 +02:00
kobewi
92b0375785
Fix some TileMapLayer editing problems
2024-06-29 18:18:54 +02:00