Rémi Verschelde
966a3ffbba
Merge pull request #86659 from MajorMcDoom/live-debug-local-transform
...
Improved synchronization of Transforms during live debug sessions
2024-02-12 13:33:35 +01:00
Rémi Verschelde
07655a0e11
Merge pull request #87623 from Calinou/editor-scene-drag-and-drop-tweak-modifier
...
Change scene drag-and-drop modifier behavior in the 2D and 3D editors
2024-02-05 14:49:21 +01:00
Rémi Verschelde
e096be85c4
Merge pull request #87125 from ryevdokimov/fix-removing-preview-nodes-on-ui-cancel
...
Clear drag preview nodes on `NOTIFICATION_DRAG_END`
2024-02-05 14:48:56 +01:00
Robert Yevdokimov
7a2c386e28
Clear drag preview nodes on NOTIFICATION_DRAG_END
2024-02-03 18:50:33 -05:00
Hugo Locurcio
341ca31be8
Change scene drag-and-drop modifier behavior in the 2D and 3D editors
...
Behavior is now consistent across 2D and 3D editors.
- By default, drag-and-dropping adds the scene as a child of the selected
node. Hold Alt when releasing the mouse to add the scene as a child
of the root node, or Shift to add the scene as a sibling of the selected
node.
- To choose a different node type in the 2D editor when drag-and-dropping
a texture resource, hold Alt + Shift (instead of just Alt).
- If multiple nodes are selected, only the first one is taken into account.
This was previously the behavior in 2D, but not in 3D (an error dialog
appeared instead). This makes the UI more forgiving.
2024-01-26 18:05:58 +01:00
Robert Yevdokimov
d9057c8b56
Add cancel transformation shortcut to 2D
2024-01-26 08:30:13 -05:00
Robert Yevdokimov
3bed6b1cb0
Update the viewport if CanvasItem top level is changed
2024-01-22 13:10:54 -05:00
Yuri Sizov
45eedba1fa
Improve editor theme generation after the refactor
2024-01-17 15:16:53 +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
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
35da70f953
Merge pull request #86933 from alessandrofama/drop-texture-scene-history
...
Fix 2D viewport texture drop issue with global history registration
2024-01-08 12:01:55 +01:00
Rémi Verschelde
4aa8e87e50
Merge pull request #86805 from ryevdokimov/clear-nodes-on-ui-cancel-2d
...
Allow `ui_cancel` to unselect all nodes in all edit modes in 2D, matching 3D behavior
2024-01-08 11:56:43 +01:00
Rémi Verschelde
f46465ba14
Merge pull request #86804 from ryevdokimov/allow-all-modes-to-select
...
Allow all editor modes to select nodes in the viewport
2024-01-08 11:56:19 +01:00
Alessandro Famà
4ea5c1ff2a
Fix issue with dropping texture in 2D viewport causing incorrect global history registration
...
This fix addresses an issue where dropping a texture onto the 2D viewport in a scene without a root node incorrectly registers the action in the global history. Subsequently undoing and redoing this action in another scene results in the newly created node replacing the root of the current scene.
Fixes #86826 .
2024-01-07 21:54:44 +01:00
Zi Ye
97f9dbda81
Changed various editor transform operations to be committed in local instead of global space. Fixed a couple of bugs when syncing transforms to debug instance.
2024-01-05 17:07:20 -06:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Robert Yevdokimov
ff03a32323
Allow all editor modes to select nodes in the viewport
2024-01-05 10:07:34 -05:00
Robert Yevdokimov
06f586e890
Allow ui_cancel to unselect all nodes in 2D, matching 3D behavior
2024-01-04 18:07:31 -05:00
Rémi Verschelde
94f72a72e2
Merge pull request #75005 from J-N-Witch/add-position-gizmo-toggle
...
Add option to toggle visibility of Position gizmos in 2D editor, organize existing options
2024-01-04 16:38:24 +01:00
Rémi Verschelde
54b83bd705
Merge pull request #84788 from Cerno-b/fix-description-text-for-grouping
...
Clarify description of "group selected"
2024-01-03 15:42:50 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Cerno_b
9a684cf199
Clarify description of "group selected"
2023-11-12 10:53:44 +01:00
J. N. Witch
d832f62a01
Introduce a "Gizmos" submenu for toggling visibility of gizmos in 2D editor
...
instead of standalone checkboxes like "Show Group And Lock Gizmos".
Add option to toggle visibility of Position gizmos.
2023-10-25 12:41:37 +00:00
Rémi Verschelde
6bf936c4cc
Merge pull request #82667 from kleonc/canvas-item-editor-drag-moving-transforms-fix
...
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-22 12:11:28 +02:00
Rémi Verschelde
7513ae6d06
Merge pull request #81812 from MewPurPur/zoomies
...
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
MewPurPur
44d782681c
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-07 20:41:59 +03:00
kleonc
6f941cd8e3
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-04 15:44:34 +02:00
kobewi
52b62921b0
Fix node icons appearing too big in some cases
2023-10-03 15:56:13 +02: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
Haoyu Qiu
2d67ce4e60
Fix leak when calling remove_control_from_menu_panel
2023-09-24 08:35:45 +08: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
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
...
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
...
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00
kobewi
447a4b6bcf
Fix rotated 2D movement gizmo
2023-09-16 19:26:20 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
2febb246e1
Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
...
Hide animation toolbar above the viewport correctly when switching scenes
2023-09-15 19:48:23 +02:00
jsjtxietian
0113e6961d
Hide animation tool correctly when switching scenes
2023-09-15 10:48:26 +08:00
Rémi Verschelde
5a74ce9a56
Merge pull request #81557 from YuriSizov/editor-toolbars-divided
...
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-14 23:40:33 +02:00
Yuri Sizov
f542dffb39
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-13 13:04:55 +02:00
Rémi Verschelde
3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
...
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
John Gabriel
984eb96c43
Allow configuring primary line X/Ys separately
2023-09-12 10:24:07 +01:00
Yuri Sizov
fc01e2e7f6
Add a theme preview switcher to the 2D viewport
...
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
00d1fafc77
Merge pull request #81022 from YuriSizov/editor-run-scripts-valid-and-toasty
...
Improve warnings when running scripts in the editor
2023-08-28 12:08:37 +02:00
Yuri Sizov
2270f4917a
Improve warnings when running scripts in the editor
2023-08-27 13:59:06 +02:00
21dhruvp
a7b2819540
Added checks to remove meta arrays when creating and undoing guides
...
Added checks to remove meta arrays when creating and undoing guides
Update editor/plugins/canvas_item_editor_plugin.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Update editor/plugins/canvas_item_editor_plugin.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-26 10:35:54 -04:00
kobewi
0d8f8d7054
Simplify making texture nodes in 2D editor
2023-08-19 00:17:34 +02:00
RandomWalrus13
585633ea85
Fix menu items that trigger secondary interface missing ellipsis
...
fix #80347
2023-08-09 08:30:35 -05:00
Rémi Verschelde
169a28bd0f
Merge pull request #80362 from Calinou/string-use-unicode-compiletime
...
Use compile-time Unicode string conversion
2023-08-07 14:55:58 +02:00