1
0
Fork 0
Commit Graph

868 Commits

Author SHA1 Message Date
Thaddeus Crews 81733e6622 Merge pull request #99506 from Giganzo/scale-2d-selection
Change how multi selection scale is applied to canvas item
2024-11-25 13:22:28 -06:00
Thaddeus Crews eedc820f37 Merge pull request #99487 from passivestar/fix-viewport-offsets
Fix viewport message offsets
2024-11-22 14:54:16 -06:00
Giganzo c4bb252294 Change how multi selection scale is applied to canvas item 2024-11-21 20:52:33 +01:00
passivestar 5cd0d42d2b Fix viewport message offsets 2024-11-21 08:24:08 +04:00
Giganzo 61cf0253ce Fix toast spam about child of container position 2024-11-19 11:25:28 +01:00
Thaddeus Crews 9513d18180
Merge pull request #98534 from YeldhamDev/i_hate_math
Make possible to scale multiple nodes at once in the canvas editor
2024-11-14 14:51:51 -06:00
Thaddeus Crews 925b690c98
Core: Integrate `Ref::instantiate` where possible 2024-11-10 12:41:26 -06:00
Michael Alexsander baffa731ab
Make possible to scale multiple nodes at once in the canvas editor
And also some smaller enhancements.
2024-10-30 13:24:00 -03:00
Michael Alexsander 16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03: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 574b413bef Fix heap-use-after-free when ctrl-clicking controls in a container 2024-10-26 10:43:54 +08:00
Rémi Verschelde b6906b9677
Merge pull request #96389 from kitbdev/extract-main-screen
Extract EditorMainScreen from EditorNode
2024-09-11 12:34:46 +02:00
Rémi Verschelde 1a51637732
Merge pull request #96681 from Giganzo/lock-group-double-buttons
Fix 2D editor view showing both lock/unlock, group/ungroup buttons when starting a saved project with empty scene
2024-09-10 09:51:30 +02:00
kit 5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
Harsche 7d8e8e7854 Fix tooltip description to be more precise 2024-09-08 00:48:04 -03:00
Giganzo 96aa2f285c Fix double lock/group buttons when starting editor with empty scene 2024-09-05 21:42:12 +02:00
Hilderin 613d4d10cb Fix selection stuck after saving scene 2024-09-04 19:12:30 -04:00
Rémi Verschelde b310e5e064
Merge pull request #92842 from mihe/multi-node-keying
Allow keying properties when selecting multiple nodes
2024-08-30 09:59:01 +02:00
Yuri Rubinsky 52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
Rémi Verschelde 3e23f56c72
Merge pull request #94288 from KoBeWi/cursed_code
Allow box selecting over CanvasItems when Shift is held
2024-08-28 00:12:02 +02:00
Mikael Hermansson 351f454a94 Allow keying properties with multiple nodes selected 2024-08-19 14:05:33 +02:00
Rémi Verschelde f9474f0925
Merge pull request #93764 from patwork/fix-aspect-div-by-zero
Fix division by zero in aspect ratio calculation
2024-07-29 15:17:22 +02:00
kobewi 0b513b9f65 Allow box selecting over CanvasItems when Shift is held 2024-07-13 18:21:17 +02:00
Anni Ryynänen 4a27fb7e83
Fix edited node being removed before editor plugin handles focus loss
`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
2024-07-10 16:32:56 +03:00
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 -04:00
patwork 31629744f8 Fix division by zero in aspect ratio calculation 2024-06-30 02:18:57 +02:00
kobewi 1d69358471 Prevent selecting when a CanvasItem is selected 2024-06-29 19:56:48 +02:00
matheusmdx f746632369 Fix snapping lines don't disappearing after drag anchors 2024-06-23 21:05:33 -03:00
Manny-OnGit 8a44cf0342 fixed issue #93043, ruler tool prevents new nodes from being added with right click. 2024-06-19 10:51:46 -07: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 d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)` 2024-06-18 17:24:27 +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
Rémi Verschelde 32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
A Thousand Ships 4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)` 2024-05-27 13:29:57 +02:00
kobewi d927d41f89 Optimize usage of position icon in 2D editor 2024-05-26 20:08:59 +02:00
kobewi e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
Haoyu Qiu e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Rémi Verschelde b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Nodragem 8e0f0c6edb change default behaviour when drag-and-drop to 2d and 3d editor
correct formatting with clang-formatter

US English
2024-05-16 10:42:13 +01: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
naputt 9e196b7d8c fix 2d editor selection 2024-05-08 19:34:17 +01:00
A Thousand Ships 955d5affa8
Reduce and prevent unnecessary random-access to `List`
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
kobewi f8cd3bbc36 Add temporary pivot for rotating multiple 2D nodes 2024-04-26 11:03:47 +02:00
风青山 b5157e0686
Make the loading scene open in the current scene tab if the current scene is empty 2024-04-16 23:04:25 +08:00
风青山 4ff5326959
Fix crash when dragging scene files to 2D/3D screen
The crash usually occurs when there is no scene root node.
2024-04-12 13:10:02 +08:00