Giganzo
1629e9b1fa
Fix shift clicking on Add Sun/Environment to Scene buttons
...
(cherry picked from commit 1b6af3acd3
)
2024-09-17 08:57:43 +02:00
Hilderin
d842870331
Fix selection stuck after saving scene
...
(cherry picked from commit 613d4d10cb
)
2024-09-17 08:57:43 +02:00
ev13bird
cbcc5f8d19
Fix instant transformations not being committed when used in succession
...
Also:
- Fix holding down keys repeatedly committing instant transformations, and disallow starting instant during non-instant
- Fix echoed inputs starting new instant transformations after clicking to confirm, and disallow left mouse release committing instant transformations
(cherry picked from commit 060a1a0899
)
2024-09-17 08:57:43 +02:00
Saracen
30bba8745c
Fix crash when selecting ownerless 3D node.
...
(cherry picked from commit 279ccd6d32
)
2024-09-16 17:23:54 +02:00
tetrapod00
20ce427a6c
Remember "View Grid" (per-viewport) setting between editor sessions
...
(cherry picked from commit 080acd7246
)
2024-09-16 17:11:42 +02:00
Juan Pablo Arce
d0c4f19dd2
Fix gizmos without visible geometry not being selectable
...
The issue was that Node3DEditorViewport was using the render server's BVH to filter out nodes,
which is not correct for gizmos that have no renderable components,
or have collision triangles that exceed the bounds of their renderable components.
(cherry picked from commit 45f6110e26
)
2024-09-16 17:08:59 +02:00
Robert Yevdokimov
cff0ebd603
Clear drag preview material on NOTIFICATION_DRAG_END
...
(cherry picked from commit 6aee6c1fdd
)
2024-09-16 17:05:37 +02:00
Cory Petkovsek
3876287162
Ensure selected node is a descendant of the edited scene
...
(cherry picked from commit b1a45d9487
)
2024-09-16 17:00:54 +02:00
jsjtxietian
bba8f85945
Fix Pressing Escape doesn't exit freelook in the 3D editor
...
(cherry picked from commit 78dc310103
)
2024-09-16 16:56:10 +02:00
Zi Ye
2eec361f5f
Corrected rotation gizmo plane math for off-center perspective view.
...
(cherry picked from commit 1fc8255355
)
2024-09-16 16:34:16 +02:00
Rémi Verschelde
e2be29c2a9
Merge pull request #93404 from TokisanGames/fix-empty-scene-crash
...
Fix crash in Node3DEditorViewport selecting on empty scene
2024-07-31 16:13:12 +02:00
Mikael Hermansson
c9e0532bc2
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-15 13:14:57 +02:00
Eric allen
e03fb3043f
fix: change esthetic -> aesthetic
2024-07-05 16:03:01 -04:00
passivestar
4201c7d75f
Make the frame time and info boxes have same margins
2024-06-29 16:34:08 +04:00
Hugo Locurcio
6932630c02
Add alternative shortcut for Align Transform to View in the 3D editor
...
The new shortcut is Ctrl + Alt + Numpad 0 and is the one listed
in the 3D viewport's Perspective menu (since PopupMenu accelerators
display the first shortcut only). This shortcut matches Blender
and avoids conflicts with the GeForce Experience overlay, which
defaults to Ctrl + Alt + M.
Ctrl + Alt + M is still defined as an alternative default,
so that existing workflows are not impacted.
2024-06-27 20:34:28 +02:00
passivestar
a9ef6cd418
Improve viewport rotation gizmo drawing
2024-06-26 23:33:24 +04:00
passivestar
83078715ca
Add missing style overrides for viewport overlay buttons
2024-06-20 22:28:45 +04:00
Cory Petkovsek
1780f28407
Fix crash when drawing a selection box on an empty scene with certain plugins
2024-06-21 00:18:34 +07:00
Rémi Verschelde
4949e96b0b
Merge pull request #91845 from ryevdokimov/disable-freelook-when-drag-and-drop
...
Disable viewports inputs when dragging and dropping into the viewport
2024-06-19 10:53:17 +02: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
rune-scape
6adcb1373a
fix missing cleanup and null checks for various singletons
2024-06-18 01:05:30 -07:00
Rémi Verschelde
bb8fe430fe
Merge pull request #90098 from viksl/fix-instant-rotation-and-return-wrapping
...
Allow wrapping for begin rotate transformation to bring it in line with Blender.
2024-06-17 10:57:57 +02:00
bruvzg
5168647530
Use current mouse button state instead of saved values.
2024-05-31 15:50:14 +03:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal
in more places
2024-05-30 22:57:54 +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
25b17bd245
Merge pull request #92188 from SaracenOne/ownerless_node_select
...
Disallow selection of ownerless nodes
2024-05-28 15:48:54 +02:00
Saracen
596026a1ee
Disallows selection of ownerless nodes:
...
Attempts to select first node owned by the edited scene instead.
2024-05-28 11:13:40 +01:00
Hugo Locurcio
60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
...
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +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
Robert Yevdokimov
824d21b441
Disable viewport inputs when dragging and dropping into the viewport
2024-05-12 10:02:39 -04:00
Rémi Verschelde
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
Rémi Verschelde
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
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
Rémi Verschelde
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
Bogdan Inculet
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
Miguel Coelho
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
Rémi Verschelde
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
Rémi Verschelde
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
themancalledjakob
d90d5eb3c1
allow drag and dropping ShaderMaterial in 3D viewport
...
Fixes #90075
2024-04-01 15:52:22 +02:00