Thaddeus Crews
efb40c1524
Merge pull request #107932 from Nikitf777/polygon2d-editor-fix-remove-order
...
Fix removing wrong vertices in the Polygon2D editor when points overlap each other
2025-07-01 17:58:03 -05:00
Rémi Verschelde
a9cef6cf69
Merge pull request #107933 from Nikitf777/Fix-point-jumping-when-dragging
...
Fix points jumping when dragging starts in the Polygon2D editor
2025-06-28 13:03:05 +02:00
Nikita Samusev
83aa9cf57e
Fix removing wrong vertices in the Polygon2D editor when points overlap each other
2025-06-24 15:49:45 +03:00
Nikita Samusev
8098581079
Fix points jumping when dragging starts in the Polygon2D editor
2025-06-24 15:11:13 +03:00
Pāvels Nadtočajevs
a272376f89
Cleanup accessibility names.
2025-06-23 11:08:36 +03:00
Haoyu Qiu
1301343f42
Improve auto-translation of editor's top & bottom bars
...
- The main menu
- The run bar
- The update spinner
- The bottom panel buttons
2025-06-18 21:11:32 +08:00
Pāvels Nadtočajevs
22b5a2fc5c
Change editor button focus mode to FOCUS_ACCESSIBILITY.
2025-06-08 15:53:27 +03:00
Pāvels Nadtočajevs
302fa831cc
Initial editor accessibility.
2025-04-08 20:25:48 +03:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
aXu-AP
8318eda899
Move Polygon2D editor to bottom panel
...
Move UV editor to bottom panel to allow realtime preview of results. Rename the editor to Polygon editor.
Refactor enums and rename polygon editor members.
Remove "uv" prefixes and clarify some names. Reorder/regroup some members in header file.
2025-01-03 22:22:55 +02: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
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
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
Chaosus
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
Thaddeus Crews
489d4933ab
Merge pull request #97081 from aXu-AP/uv-editor-without-polygon
...
Open UV editor in point editing mode if no points
2024-11-11 14:18:12 -06:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
aXu-AP
2b303cb489
Open uv editor in point editing mode if no points
...
Open polygon editor in point editing mode if there's no polygon yet. Disable other modes until points are added.
2024-09-17 19:43:42 +03:00
aXu-AP
ec8374643e
Allow opening of polygon editor without texture
...
There's no reason to deny access to polygon editor when there's no texture set.
2024-09-08 23:24:13 +03:00
Lars Pettersson
5a0a0257e1
Fix Polygon2D UV editor error when opening grid settings
2024-08-31 23:22:48 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
kleonc
1b7626f391
Fix snapping when zoomed in Polygon2D UV editor
2024-08-27 17:01:41 +02:00
bruvzg
fba7ad8c7b
Remove spaces and punctuation from the beginning of translatable strings.
2024-08-22 20:51:13 +03:00
kleonc
6b82c48bc6
Fix leaf Bone2Ds drawing in Polygon2D UV editor
2024-08-07 21:06:00 +02:00
kobewi
681769e2c9
Fix undoredo handling in some dialogs
2024-07-04 14:17:47 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed
2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed
2024-06-19 09:40:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
6f7da2f5e4
Remove uv_editor_bounds editor setting
2024-04-23 19:13:22 +02:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
aXu-AP
5bdb5f5c37
Improve UV editor zoom behavior
...
Scrolling focuses towards mouse like in canvas editor.
Center view on opening.
Adjust scroll area to include polygons larger than texture.
Change zoom slider to EditorZoomWidget.
2024-01-10 13:27:20 +02:00
aXu-AP
a45db4d616
Fix UV editor not showing polygon correctly
...
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.
2023-12-05 15:38:37 +02:00
Rémi Verschelde
9108445eca
Merge pull request #84076 from aXu-AP/uv-editor-texture-transform
...
Fix UV editor not using texture transform
2023-12-04 23:00:54 +01:00
aXu-AP
d7e5c25e4a
Fix UV editor not using texture transform
2023-10-27 22:33:37 +03:00
aXu-AP
aa3568b8dd
Fix 2D bone weight editor not accounting for offset
...
Skeleton was shown in wrong place in Polygon2D UV editor's bone painting mode.
2023-10-27 20:37:23 +03:00
aXu-AP
76f81cfc21
Fix Polygon2D undo on transforming vertices
...
Fix: Action not committed to history when transforming all points in UV editor's Points mode.
2023-10-20 11:59:09 +03:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
...
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Alex Drozd
0c75d5d70c
apply selected texture filter when editing UV
2023-06-18 22:56:26 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Hugo Locurcio
0f73ef1df9
Use 8×8 default grid size for TextureRegion and 2D polygon editors
...
Power-of-two grid sizes are more suited to most game assets.
2023-02-21 17:02:24 +01:00
Gilles Roudière
a3b431b09d
Add gesture to ViewPanner and simplify a bit its API
2023-01-23 16:43:53 +01:00
Rémi Verschelde
5b1df48c6c
Convert en_GB spelling to en_US with codespell
2023-01-23 11:02:20 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00