Commit Graph

645 Commits

Author SHA1 Message Date
passivestar 83078715ca Add missing style overrides for viewport overlay buttons 2024-06-20 22:28:45 +04: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
viksl df71600d2b Blender's rotation does allow wrapping the original implementation of this behaviour in Godot disabled it, this commit brings it in line with Blender's functionality. 2024-04-01 15:13:13 +02:00
jsjtxietian 20f4a5d03a Fix path3d's pick works incorrectly when viewport is in half resolution 2024-03-26 17:24:41 +08:00
matricola787 5c83d14698 UX and stability improvements for Path3D node 2024-03-25 16:51:37 +01:00
jsjtxietian 816812ee6c Disable lock and group buttons when selected item can't be locked or grouped 2024-03-21 13:02:34 +08:00
Rémi Verschelde 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
Rémi Verschelde 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
David Luevano Alvarado 71426d0f5c
Fix wrong undo-redo action when dropping files containing circular dependencies 2024-03-07 12:20:49 -06:00
Rémi Verschelde 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
David Luevano Alvarado a918c7c5fe Match #89126 for 3D: check `Resource` type instead of extension 2024-03-05 06:08:35 -06:00
Rémi Verschelde 21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
smix8 35dafc9fa8 Split monolithic physics class files
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde 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
Muller-Castro 1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
Aaron Franke c399424db9
Move 3D-only resources to their own folder 2024-02-26 05:23:04 -06:00
Robert Yevdokimov 967d03ac5c Show instantiating message with position when using to drag to instantiate in 3D 2024-02-24 13:58:23 -05:00
Rémi Verschelde 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
Robert Yevdokimov df431542c3 Add ability to hide grid per viewport 2024-02-23 10:25:29 -05:00