passivestar
5689dbc209
Allow to abort SpinSlider
value changes
2024-02-16 07:54:35 +04:00
Rémi Verschelde
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
Robert Yevdokimov
be0104a129
Fix position and basis of 3D Scenes instantiated via drag and drop
2024-02-13 12:43:22 -05:00
kleonc
c0a1b4f32d
Fix CanvasItem/Node3D editor plugin drag drop transform calculation
2024-02-13 13:52:37 +01:00
Rémi Verschelde
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
Silc Lizard (Tokage) Renew
67e38709fd
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 18:53:21 +09:00
Zi Ye
123dbdb4af
Fixed an edge case bug in drag-and-drop Node3D spawning.
2024-02-12 22:29:31 -06:00
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
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
Rémi Verschelde
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
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
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
Robert Yevdokimov
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
Robert Yevdokimov
7a2c386e28
Clear drag preview nodes on NOTIFICATION_DRAG_END
2024-02-03 18:50:33 -05:00
Rémi Verschelde
607a3b2409
Merge pull request #87631 from ryevdokimov/decouple-message-from-framerate
...
Make viewport message dependent on framerate not physics step
2024-02-03 23:19:50 +01:00
viksl
93334eb6d0
Select nodes on drag and drop in 3D viewport
2024-02-02 23:03:21 +01:00
Robert Yevdokimov
17e9fd06ce
Make viewport message dependent on framerate not physics step
2024-02-02 14:47:30 -05:00
Robbie Cooper
30914c0434
Fix bounding boxes
...
Each time an AABB is rotated, it gets bigger. That means opposite rotations don't cancel out.
The previous implementation repeatedly rotates children AABBs as it climbs up the tree. This often resulted in selection boxes looking bigger than their contents.
This implementation calculates and applies a single final transformation to each AABB before it is merged with the others. After merging, there are no additional rotations, so AABBs remain accurate.
Co-Authored-By: Robert Yevdokimov <105675984+ryevdokimov@users.noreply.github.com>
2024-02-02 07:59:47 -05:00
Rémi Verschelde
7f5079f7c8
Merge pull request #87757 from hakro/vampire-origins
...
Do not reflect the origin lines in a mirror
2024-02-02 12:03:35 +01:00
Rémi Verschelde
a3d50f7714
Merge pull request #87769 from ryevdokimov/fix-all-tools-can-select-regression
...
Fix a regression that breaks gizmo transforming when 'View Gizmos' is off
2024-01-31 10:56:30 +01:00
Robert Yevdokimov
87d97fe7d8
Fix a regression in #86804 that breaks gizmos transforming when 'View Gizmos' is off
2024-01-30 22:31:52 -05:00
Hugo Locurcio
253ad63005
Clarify the FOV setting in the 3D editor camera is vertical FOV
2024-01-31 01:20:21 +01:00
Hakim
59c75b074a
Do not reflect the origin lines in a mirror
2024-01-30 22:57:02 +01: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
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
SaracenOne
cb8a743e18
Fix behavior of 'Editable Children' toggle.
...
Prevents losing nodes owned by the edited scene when
toggling editable_children off on an instanced scene,
and makes the toggle compatible with undo-redo.
2024-01-09 13:34:38 +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
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
Robert Yevdokimov
ff03a32323
Allow all editor modes to select nodes in the viewport
2024-01-05 10:07:34 -05:00
Rémi Verschelde
0cdb530c18
Merge pull request #83895 from clayjohn/origin-lines
...
Use screen-aligned quads for origin lines to avoid issues on NVidia
2024-01-04 16:39:42 +01:00
Rémi Verschelde
3224e47af8
Merge pull request #84486 from jcostello/jcostello/fix-material-drop
...
Fix material drag and drop
2024-01-04 14:25:52 +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
oeelis
834ccb9698
Fix issue with 3D scene drag and drop preview node
2023-11-24 15:44:51 +02:00
Cerno_b
9a684cf199
Clarify description of "group selected"
2023-11-12 10:53:44 +01:00
Yuri Sizov
b04b546092
Fix node names of submenu items across the editor
...
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Juan Manuel Costello
aa2522edcd
Fix material drop
2023-11-06 12:57:19 -03:00
kleonc
74a35526e0
Fix some Node3DEditor snapping issues
2023-10-27 13:00:49 +02:00
clayjohn
5591f289d7
Uses screen-aligned quads for origin lines to avoid issues on NVidia
...
While we are add it, use alpha-antialised lines to make them look nice
2023-10-24 18:02:36 +02:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
kleonc
db6a8956b2
Make gizmo plugin handle SpriteBase3D instead of Sprite3D
2023-10-06 11:03:44 +02:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
...
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +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
Dario
057367bf4f
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
...
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03: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
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
...
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +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