Commit Graph

44619 Commits

Author SHA1 Message Date
Rémi Verschelde c1460b9413
Merge pull request #61450 from KoBeWi/autohide
Hide redundant categories from project settings
2022-05-31 12:21:08 +02:00
Rémi Verschelde cea54a0357
Merge pull request #61489 from Rindbee/reset-buttons_visible-to-false-if-tabs-is-empty
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
2022-05-31 12:19:36 +02:00
Yuri Rubinsky cf240a7ae0 Refactor shader hints 2022-05-31 11:51:47 +03:00
Rémi Verschelde a837accc5d
Merge pull request #61495 from timothyqiu/asymmetric-le
Fix LineEdit clear button for asymmetric stylebox
2022-05-31 08:55:21 +02:00
Clay John c89d2b8aac
Merge pull request #61475 from smix8/navigation_fix_multimesh_bake_crash_4.x
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
2022-05-30 15:44:28 -07:00
Yuri Rubinsky 3df8296d8d
Merge pull request #61541 from Geometror/graphedit-connections-improvements 2022-05-30 19:05:36 +03:00
Hendrik Brucker 70c234f3e3 Improve Graphedit connection lines 2022-05-30 17:33:01 +02:00
Yuri Rubinsky 3ed2a0428c
Merge pull request #61515 from Geometror/improve-graphedit-hotzones 2022-05-30 17:39:34 +03:00
Hendrik Brucker 771cb1261a Improve and fix the GraphNode port hotzones
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
Rémi Verschelde 9b78d68605
Merge pull request #61536 from bruvzg/fix_help_links
Fix help links with threaded RTL.
2022-05-30 10:24:49 +02:00
bruvzg 96cc3c74da
Fix help links with threaded RTL. 2022-05-30 10:05:14 +03:00
Rémi Verschelde 6bfea24695
Merge pull request #61505 from ArneStenkrona/script-drop-focus
Ensure focus when dropping to script editor
2022-05-30 02:04:55 +02:00
Rémi Verschelde 26bfaf34dd
Merge pull request #61488 from fire-forge/filter 2022-05-30 02:03:45 +02:00
Rémi Verschelde 5dd667905f
Merge pull request #61532 from KoBeWi/random_bugs_be_like 2022-05-30 01:55:36 +02:00
kobewi 7bae94910e Update VisibleOnScreenNotifier2D when rect changed 2022-05-29 23:51:24 +02:00
Rémi Verschelde 823f1d389e
Merge pull request #61526 from Calinou/doc-empty-variant-null
Change instances of "returns an empty Variant" to "returns null" in docs
2022-05-29 22:29:58 +02:00
Hugo Locurcio e4706ef933
Change instances of "returns an empty Variant" to "returns null" in docs
While "returns an empty Variant" technically valid (it's constructed
as `Variant()` in C++), "returns null" is more intuitive to users.
2022-05-29 20:12:32 +02:00
Rémi Verschelde d0d71a58fd
Merge pull request #61514 from clayjohn/VULKAN-rb-spam
Fix error with !rb spam when using background color mode with reflection probes
2022-05-29 10:27:12 +02:00
Aaron Franke aa86986954
Merge pull request #61512 from dtesniere/patch-1
Fix class name : change "string" to "String"
2022-05-28 20:53:02 -05:00
clayjohn 2ba53547c9 Fix error with !rb spam when using background color mode with reflection probes 2022-05-28 18:11:28 -07:00
FireForge 7f7244f04a Use consistent casing in editor filter/search bars 2022-05-28 18:43:16 -05:00
dtesniere 55b63eceaa
Fix class name : change "string" to "String"
Change case of "s" letter : "string" does not compile but "String" does (for gdScript)
2022-05-29 00:40:56 +02:00
Arne Stenkrona 6cd4d5f061 Ensure focus when dropping to script editor
This improves usability by making sure actions subsequent to drop
are performed within the script editor. For example, dropping a
node from the scene tree to the script editor and attempting undo
will now undo the drop instead of performing an undo in the scene
tree.

Fixes issue #61465
2022-05-28 19:58:46 +02:00
Hugo Locurcio f06ad0374e
Print messages when textures are detected as used in 3D/normal/roughness
This detection automatically changes some import options, so it's
important that users are aware of this.
2022-05-28 15:34:35 +02:00
Haoyu Qiu e021fc9419 Fix LineEdit clear button for asymmetric stylebox 2022-05-28 19:50:35 +08:00
reduz 73c102f272 Redo the shader editor
* Shader editor is permanent (no longer transient).
* Can edit multiple files at the same time.

Likely fixes many usability issues (please lend me a hand Bugsquad team to identify them).
2022-05-28 11:03:16 +02:00
Rindbee a3b23f6b67 Reset buttons_visible to false while tabs is empty in TabBar::_update_cache 2022-05-28 12:54:45 +08:00
kobewi 1a9635cc57 Hide redundant categories from project settings 2022-05-28 01:25:23 +02:00
Hugo Locurcio 6c12502076
Increase the editor profiler frame history default and maximum limit
The new default value (1800) allows storing 30 seconds of profiling
at 60 FPS.

The new maximum value (10000) allows storing about 3 minutes of
profiling at 60 FPS.

The profiler graph will scale accordingly to the chosen setting,
so the default value is kept relatively low to prevent the graph
from looking too squished on narrow displays.
2022-05-28 01:03:32 +02:00
Hugo Locurcio 36428305a6
Add a 3D suffix to relevant physics profiler categories
2D physics categories already had a 2D suffix: "Physics 2D"
2022-05-28 00:54:53 +02:00
Rémi Verschelde 1f690f197a
Merge pull request #61264 from KoBeWi/zoom_reset_begone
Remove zoom_reset shortcut in 2D editor
2022-05-27 22:45:55 +02:00
smix8 caceceab08 Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
2022-05-27 19:35:00 +02:00
George Marques eba3e0a9fc
GDScript: Support `%` in shorthand for `get_node`
The `%` is used in scene unique nodes. Now `%` can also be used instead
of `$` for the shorthand, besides being allowed generally anywhere in
the path as the prefix for a node name.
2022-05-27 13:46:18 -03:00
Marcel Admiraal d0cb299f04 Only use Android fullscreen theme for splash screen 2022-05-27 16:54:44 +02:00
George Marques 328aadc0ef
GDScript: Fix stack overflow when using multiple `await` 2022-05-27 09:31:37 -03:00
Rémi Verschelde 8a21f7231f
Merge pull request #61441 from clayjohn/rd-dependency
Remove mesh and particles RD dependencies from canvas rendering server
2022-05-27 10:22:09 +02:00
Rémi Verschelde 92b337a215
Merge pull request #61371 from KoBeWi/stealth_tree_editor
Optimize SceneTreeEditor filtering
2022-05-27 10:19:54 +02:00
Rémi Verschelde b60c78ab72
Merge pull request #61437 from monkeyman192/hide_invisble_lines
Check visibility of items before drawing their relationship lines
2022-05-27 10:19:17 +02:00
m3g4d1v3r ee89c65b11 Add nullptr handling of argument pointer in Tree::scroll_to_item 2022-05-26 23:56:52 -03:00
FireForge eb573da2b5 Use "odd" style for TabContainers on base BG color
- Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
2022-05-26 21:19:15 -05:00
FireForge c159c64a28 Add rounded corners to the script editor 2022-05-26 20:36:21 -05:00
Rémi Verschelde 9d28e10276
Merge pull request #61443 from KoBeWi/primitive_fix
Use Spatial shader as default for PrimitiveMesh
2022-05-26 23:47:39 +02:00
Rémi Verschelde 155c6e909a
Merge pull request #61429 from KoBeWi/texturegion
Improve TextureRegionEditor
2022-05-26 22:34:30 +02:00
Yuri Rubinsky 6b9f6823c4
Merge pull request #61432 from Chaosus/fix_material_free_errors
Fix errors when materials attached to 3d object are not freed
2022-05-26 22:07:30 +03:00
kobewi e748fc1a11 Improve TextureRegionEditor 2022-05-26 20:54:45 +02:00
Hugo Locurcio 93933e4085
Add a gizmo to visualize AudioStreamPlayer3D's audible radius
The ring's color changes depending on the attenuation model chosen,
and whether Max Distance is capping the distance the sound can be
heard at.

Cold colors are used when the volume cap is a "soft" cap (the sound
can still be heard past the distance, but only faintly).

Warm colors are used when the volume cap is a "hard" cap (the sound
can't be heard past the distance at all).

White is used for linear fade performed when the attenuation model
is Disabled and Max Distance is greater than 0.

No ring is drawn when the attenuation model is Disabled and Max Distance
is equal to 0 (since the sound can be heard from anywhere).
2022-05-26 20:53:07 +02:00
kobewi a1899111be Use Spatial shader as default for Mesh 2022-05-26 20:46:17 +02:00
clayjohn 7b71545652 Remove mesh and particles RD dependencies from canvas rendering server 2022-05-26 10:43:37 -07:00
monkeyman192 d4aa6e5366 Check visibility of items before drawing their relationship lines 2022-05-26 23:25:42 +10:00
Rémi Verschelde 2e8862887c
Merge pull request #61434 from nathanfranke/tree-item-edited
tree: do not pass custom click to item edited
2022-05-26 13:29:15 +02:00