summaryrefslogtreecommitdiffstats
path: root/editor/plugins/canvas_item_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #89264 from ryevdokimov/don't-update-snap-every-scanRémi Verschelde2024-03-081-2/+5
|\ | | | | | | Move `snap_controls_to_pixels` from process to projects settings changed method
| * Move `snap_controls_to_pixels` from process to projects settings changed methodRobert Yevdokimov2024-03-071-2/+5
| |
* | Fix wrong undo-redo action when dropping files containing circular dependenciesDavid Luevano Alvarado2024-03-071-12/+25
|/
* Merge pull request #87886 from ryevdokimov/don't-use-physics-processRémi Verschelde2024-03-071-3/+3
|\ | | | | | | Do not use `NOTIFICATION_PHYSICS_PROCESS` for 2D Editor
| * Do not use physics process for 2D editorRobert Yevdokimov2024-02-021-3/+3
| |
* | Merge pull request #89132 from jsjtxietian/lock-updateRémi Verschelde2024-03-061-29/+33
|\ \ | | | | | | | | | Update lock and group button state when selection changed in CanvasItemEditor
| * | Update lock and group button state when selection changedjsjtxietian2024-03-061-29/+33
| | |
* | | Fix editor crash when unsupported `Resource` is dropped in sceneDavid Luevano Alvarado2024-03-041-51/+48
|/ /
* | Merge pull request #88829 from ryevdokimov/institate_message-2dRémi Verschelde2024-02-271-49/+61
|\ \ | | | | | | | | | Show instantiating or inherit message when using drag to instantiate in 2D
| * | Show instantiating or inherit message when using to drag to instantiate in 2DRobert Yevdokimov2024-02-271-49/+61
| | |
* | | Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-2/+2
|/ /
* | Add methods to add submenus without using nameskobewi2024-02-221-12/+6
| |
* | Merge pull request #69032 from ↵Rémi Verschelde2024-02-201-0/+4
|\ \ | | | | | | | | | | | | | | | KoBeWi/check_every_changed_setting_in_every_group_everywhere() Use `check_changed_settings_in_group()` everywhere
| * | Use check_changed_settings_in_group() everywherekobewi2024-02-191-0/+4
| | |
* | | use ED_IS_SHORTCUT macro instead of matches_eventCookieBadger2024-02-191-10/+10
|/ /
* | Make auto translation inheritableMichael Alexsander2024-02-151-1/+1
| |
* | Select newly added nodes on drag and drop in 2D viewportviksl2024-02-141-0/+5
| |
* | Fix CanvasItem/Node3D editor plugin drag drop transform calculationkleonc2024-02-131-1/+1
| |
* | Merge pull request #86659 from MajorMcDoom/live-debug-local-transformRémi Verschelde2024-02-121-1/+5
|\ \ | | | | | | | | | Improved synchronization of Transforms during live debug sessions
| * | Changed various editor transform operations to be committed in local instead ↵Zi Ye2024-01-051-1/+5
| | | | | | | | | | | | of global space. Fixed a couple of bugs when syncing transforms to debug instance.
* | | Merge pull request #87623 from Calinou/editor-scene-drag-and-drop-tweak-modifierRémi Verschelde2024-02-051-7/+6
|\ \ \ | | | | | | | | | | | | Change scene drag-and-drop modifier behavior in the 2D and 3D editors
| * | | Change scene drag-and-drop modifier behavior in the 2D and 3D editorsHugo Locurcio2024-01-261-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #87125 from ↵Rémi Verschelde2024-02-051-0/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | ryevdokimov/fix-removing-preview-nodes-on-ui-cancel Clear drag preview nodes on `NOTIFICATION_DRAG_END`
| * | | Clear drag preview nodes on `NOTIFICATION_DRAG_END`Robert Yevdokimov2024-02-031-0/+4
| | | |
* | | | Add cancel transformation shortcut to 2DRobert Yevdokimov2024-01-261-6/+8
| |/ / |/| |
* | | Update the viewport if CanvasItem top level is changedRobert Yevdokimov2024-01-221-1/+1
| | |
* | | Improve editor theme generation after the refactorYuri Sizov2024-01-171-1/+2
| | |
* | | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update deferred calls to use Callableskobewi2024-01-091-6/+8
| |
* | Merge pull request #86933 from alessandrofama/drop-texture-scene-historyRémi Verschelde2024-01-081-1/+1
|\ \ | | | | | | | | | Fix 2D viewport texture drop issue with global history registration
| * | Fix issue with dropping texture in 2D viewport causing incorrect global ↵Alessandro Famà2024-01-071-1/+1
| |/ | | | | | | | | | | | | 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.
* | Merge pull request #86805 from ryevdokimov/clear-nodes-on-ui-cancel-2dRémi Verschelde2024-01-081-1/+1
|\ \ | | | | | | | | | Allow `ui_cancel` to unselect all nodes in all edit modes in 2D, matching 3D behavior
| * | Allow ui_cancel to unselect all nodes in 2D, matching 3D behaviorRobert Yevdokimov2024-01-041-1/+1
| | |
* | | Merge pull request #86804 from ryevdokimov/allow-all-modes-to-selectRémi Verschelde2024-01-081-9/+10
|\ \ \ | | | | | | | | | | | | Allow all editor modes to select nodes in the viewport
| * | | Allow all editor modes to select nodes in the viewportRobert Yevdokimov2024-01-051-9/+10
| |/ /
* | / Add const lvalue ref to container parametersMuller-Castro2024-01-051-5/+5
| |/ |/|
* | Merge pull request #75005 from J-N-Witch/add-position-gizmo-toggleRémi Verschelde2024-01-041-18/+54
|\ \ | |/ |/| | | Add option to toggle visibility of Position gizmos in 2D editor, organize existing options
| * Introduce a "Gizmos" submenu for toggling visibility of gizmos in 2D editorJ. N. Witch2023-10-251-18/+54
| | | | | | | | | | | | instead of standalone checkboxes like "Show Group And Lock Gizmos". Add option to toggle visibility of Position gizmos.
* | Merge pull request #84788 from Cerno-b/fix-description-text-for-groupingRémi Verschelde2024-01-031-2/+2
|\ \ | | | | | | | | | Clarify description of "group selected"
| * | Clarify description of "group selected"Cerno_b2023-11-121-2/+2
| |/
* / Remove unnecessary assignmentsWilson E. Alvarez2023-12-131-2/+1
|/ | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* Merge pull request #82667 from ↵Rémi Verschelde2023-10-221-6/+9
|\ | | | | | | | | | | kleonc/canvas-item-editor-drag-moving-transforms-fix Fix transform calculations for drag-moving CanvasItems in editor
| * Fix transform calculations for drag-moving CanvasItems in editorkleonc2023-10-041-6/+9
| |
* | Merge pull request #81812 from MewPurPur/zoomiesRémi Verschelde2023-10-091-10/+4
|\ \ | | | | | | | | | Incorporate min and max zoom limits into the EditorZoomWidget
| * | Incorporate min and max zoom limits into the EditorZoomWidgetMewPurPur2023-10-071-10/+4
| | |
* | | Fix node icons appearing too big in some caseskobewi2023-10-031-4/+8
| |/ |/|
* | Merge pull request #81939 from YuriSizov/gui-flat-and-depressedRémi Verschelde2023-09-251-20/+28
|\ \ | | | | | | | | | Replace flat buttons with flat-styled buttons with a visible pressed state
| * | Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-20/+28
| | |
* | | Fix leak when calling remove_control_from_menu_panelHaoyu Qiu2023-09-241-1/+3
| | |
* | | Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platformajreckof2023-09-191-6/+6
|/ /