e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
1069d7b7c6
Merge pull request #88343 from Riteo/warped-mouse-float
...
Handle warped mouse motion as floating point
2024-05-06 15:14:46 +02:00
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
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
1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
...
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
8caa1b8783
Add Gizmo to display 3D custom AABB
2024-04-19 02:31:30 +03: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
a53841021c
Fixes 3D axes flickering in the negative direction
...
When zooming out in the 3d node editor view, the negative half
of all 3d axes starts flickering upon moving the camera. To fix this,
the logic surrounding 3d transform "scaled" and "translated" calls has
been altered so as to account for negative distance values.
Fixes #89215 .
2024-04-09 10:38:22 +02:00
f202ebb495
Merge pull request #90102 from themancalledjakob/fix-drag-drop-shadermaterial
...
Allow drag and dropping ShaderMaterial in 3D viewport
2024-04-08 11:20:59 +02:00
8516304b82
Merge pull request #89847 from GreenCrowDev/missing-bezier-handles
...
UX and stability improvements for `Path3D` node
2024-04-04 14:31:49 +02:00
d90d5eb3c1
allow drag and dropping ShaderMaterial in 3D viewport
...
Fixes #90075
2024-04-01 15:52:22 +02:00
20f4a5d03a
Fix path3d's pick works incorrectly when viewport is in half resolution
2024-03-26 17:24:41 +08:00
5c83d14698
UX and stability improvements for Path3D node
2024-03-25 16:51:37 +01:00
816812ee6c
Disable lock and group buttons when selected item can't be locked or grouped
2024-03-21 13:02:34 +08:00
6db28c9fb7
Merge pull request #89204 from luevano/fix-cyclic-dep-on-drop
...
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-08 13:09:37 +01:00
2c0797b257
Merge pull request #87161 from ryevdokimov/do-not-commit
...
Do not commit transforms and handles if no changes were made
2024-03-08 13:09:10 +01:00
71426d0f5c
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-07 12:20:49 -06:00
9d8e267131
Merge pull request #87989 from ryevdokimov/fix-editor-tool-tooltips
...
Show modifier key functionality on all the editor tools
2024-03-07 00:23:49 +01:00
a918c7c5fe
Match #89126 for 3D: check Resource type instead of extension
2024-03-05 06:08:35 -06:00
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
...
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
6ed4a279d9
Merge pull request #88774 from ryevdokimov/instantiating-message
...
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-27 10:17:55 +01:00
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
967d03ac5c
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-24 13:58:23 -05:00
fd788d7df9
Merge pull request #88584 from ryevdokimov/hide_grid_per_viewport
...
Add ability to hide grid per viewport
2024-02-23 22:19:01 +01:00
df431542c3
Add ability to hide grid per viewport
2024-02-23 10:25:29 -05:00
42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
...
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
6efff2cd06
Use subgizmos instead of handles for Path3D curve points
2024-02-22 22:33:34 +01:00
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
3a8fdc0bac
Fix 3D editor project settings update
2024-02-21 20:20:52 +01:00
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
5689dbc209
Allow to abort SpinSlider value changes
2024-02-16 07:54:35 +04:00
55dd98e4f8
Merge pull request #84347 from viksl/drag_and_drop_3d_selection
...
Select newly added nodes on drag and drop in 3D viewport
2024-02-15 15:44:25 +01:00
759a32eb0c
Handle warped mouse motion as floating point
...
Fixes certain issues where sub-pixel motions would get discarded while
the mouse is captured, such as when free look is enabled in the editor
(at least when turned on while holding right click).
Very slightly compat breaking, as actual public APIs are changed,
although with "compatible" types (Point2i->Point2).
2024-02-14 22:37:51 +01:00
be0104a129
Fix position and basis of 3D Scenes instantiated via drag and drop
2024-02-13 12:43:22 -05:00
c0a1b4f32d
Fix CanvasItem/Node3D editor plugin drag drop transform calculation
2024-02-13 13:52:37 +01:00
dfe226b933
Merge pull request #88270 from TokageItLab/avoid-near-far
...
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 11:25:24 +01:00
67e38709fd
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 18:53:21 +09:00
123dbdb4af
Fixed an edge case bug in drag-and-drop Node3D spawning.
2024-02-12 22:29:31 -06:00
f2f3f17de8
Do not commit transforms and handles if no changes were made
2024-02-12 16:20:08 -05:00
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
433c22fb6f
Show modifier key functionality on all the editor tools
2024-02-05 15:20:27 -05:00
710c56e6b1
Merge pull request #87948 from ryevdokimov/always-default-to-region-select
...
Fix new region select with selection when over geometry
2024-02-05 14:54:10 +01:00
64cee8a99f
Merge pull request #87922 from ryevdokimov/all-tools-can-select-regression-2
...
Fix a regression when multiple nodes are selected and drag transform is attempted w/o gizmo
2024-02-05 14:51:48 +01:00
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
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
6718a9e4cf
Fix bug that translates node during region select over geometry by always defaulting to region select
2024-02-04 13:34:18 -05:00
677bd9783a
Fix a regression when multiple nodes are selected. and drag transform is attempted w/o gizmo
2024-02-03 21:45:08 -05:00
7a2c386e28
Clear drag preview nodes on NOTIFICATION_DRAG_END
2024-02-03 18:50:33 -05:00