George Marques
54a1414500
GDScript: Implement pattern guards for match statement
...
Within a match statement, it is now possible to add guards in each
branch:
var a = 0
match a:
0 when false: print("does not run")
0 when true: print("but this does")
This allows more complex logic for deciding which branch to take.
2023-09-27 11:25:25 -03:00
Patrick Dawson
d80dc0ff58
Add compatibility methods for RenderingDevice BarrierMask
2023-09-27 10:22:03 -04:00
Pedro J. Estébanez
f84c3d4477
Avoid trying to free null RIDs in FSR2 teardown
2023-09-27 16:07:41 +02:00
Yuri Sizov
5e3229b7ed
Fix leak when closing theme editor preview tabs
2023-09-27 15:29:20 +02:00
Rémi Verschelde
0a10f09ce4
Web: Clarify that OS.get_unique_id
is not supported
...
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.
Fixes #82439 .
2023-09-27 15:17:45 +02:00
Rémi Verschelde
ec62b8a3ee
Merge pull request #82436 from Rindbee/fix-axis-being-mixed-up
...
Fix axis getting mixed up when split leaf
2023-09-27 14:03:51 +02:00
Rémi Verschelde
d616c3ecd0
Merge pull request #82408 from hpvb/fix-import-crash
...
Fix Image import crash
2023-09-27 14:03:47 +02:00
Rémi Verschelde
048abcb2bb
Merge pull request #82384 from YeldhamDev/corner_cases_man_i_swear
...
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-27 14:03:43 +02:00
Rémi Verschelde
214c978f4b
Merge pull request #81862 from akien-mga/thorvg-0.10.6
...
thorvg: Update to 0.10.7
2023-09-27 14:03:38 +02:00
Rémi Verschelde
737c308dcc
Merge pull request #74588 from puchik/float-variant-nan-inequality
...
Support numeric/binary hash comparison for floats derived from Variants (as well as existing semantic comparison)
2023-09-27 14:03:34 +02:00
Rémi Verschelde
19057c07bc
Merge pull request #67080 from Mickeon/resource-virtual-local-to-scene-setup
...
Reimplement Resource.`_setup_local_to_scene` & deprecate signal
2023-09-27 14:03:28 +02:00
风青山
0156860ad5
Fix axis getting mixed up when split leaf
2023-09-27 17:56:12 +08:00
Rémi Verschelde
545d1c0adb
Merge pull request #82416 from Calinou/decal-fix-clamp-extents
...
Fix Decal clamping to positive values not being applied to RenderingServer
2023-09-27 09:21:58 +02:00
Rémi Verschelde
3228f73127
Merge pull request #82413 from Calinou/3d-editor-gizmos-ignore-fog
...
Make 3D editor gizmos and debug shapes ignore fog
2023-09-27 09:21:35 +02:00
Rémi Verschelde
7da8f08ff1
Merge pull request #82411 from Calinou/editor-audiostreamrandomizer-tweak-property-order
...
Tweak property order in the inspector for AudioStreamRandomizer
2023-09-27 09:21:11 +02:00
Rémi Verschelde
27f86d9985
Merge pull request #82403 from mihe/ray-result-reordering
...
Moved `face_index` field in 3D `RayResult` to end of struct
2023-09-27 09:20:47 +02:00
Rémi Verschelde
c7a5a284d3
Merge pull request #80260 from raulsntos/dotnet/msbuild-panel
...
C#: Redesign MSBuild panel
2023-09-27 09:20:19 +02:00
bruvzg
b7b5fbe7aa
[macOS] Check all exclusive fullscreen windows before setting presentation mode.
2023-09-27 09:01:52 +03:00
Raul Santos
f19694a8d6
C#: Redesign MSBuild panel
...
- Redesign panel to look closer to the look of other Godot panels such as Output and Debugger.
- Moved list of problems and output log to separate tabs instead of using a HSplit.
- Added Tree/List layouts to the problems tab.
- Added search box to filter problems tab.
- Added `FileTree` icon, made from `FileList`. Both are used for the button that toggles the Tree/List layouts.
2023-09-27 02:53:27 +02:00
Hugo Locurcio
a052d34129
Fix Decal clamping to positive values not being applied to RenderingServer
...
This means the Decal editor gizmo could be incorrect compared to the actual
rendering if you enter a negative value in the inspector.
2023-09-27 02:21:07 +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
Hugo Locurcio
50f6c578c6
Tweak property order in the inspector for AudioStreamRandomizer
...
This puts non-foldable properties above foldable properties, which
matches the usual expectation in the editor inspector.
2023-09-27 00:19:29 +02:00
Hein-Pieter van Braam
b5705958e6
Fix import crash
...
I was trying to import a solid colored metal/roughness texture that
worked in Godot 4.1.1 but failed to load on master. I eventually tracked
it down to this: to_x and to_y can be 0, which then leads them to be -1
later, which then causes ofs to overflow.
Some of these cases were hidden because of the use of Vector so we were
just happily scribbling in ram elsewhere.
Switched to LocalVector as it made debugging a bit easier.
2023-09-26 23:50:50 +02:00
Mikael Hermansson
f1a9d8b5a5
Moved face_index
field in 3D RayResult
to end of struct
2023-09-26 23:18:16 +02:00
Rémi Verschelde
251fb83d53
Merge pull request #82331 from rburing/gdextension_dump_docs
...
Optionally include documentation in GDExtension API dump
2023-09-26 22:46:34 +02:00
Rémi Verschelde
f14ed3067d
Merge pull request #81573 from YuriSizov/docs-use-theme-binds-in-help
...
Use bound theme properties for documentation
2023-09-26 22:46:10 +02:00
Rémi Verschelde
2dd129505a
Merge pull request #79313 from aaronfranke/editor-file-dialog-side-menu
...
Allow adding a custom side menu to EditorFileDialog
2023-09-26 22:45:46 +02:00
Rémi Verschelde
28b1678215
Merge pull request #48800 from madmiraal/fix-48788
...
Check if input marked handled before processing additional CollisionObjects
2023-09-26 22:45:17 +02:00
Rémi Verschelde
81949c2cd2
thorvg: Update to 0.10.7
...
Fixes #81618 .
2023-09-26 22:43:44 +02:00
Ricardo Buring
8ee04c5f87
Optionally include documentation in GDExtension API dump
2023-09-26 21:39:24 +02:00
Jorrit Rouwe
eff7f27c48
Fixed performance regression in godot 4.2 in RigidBody2D/3D and PhysicalBone3D
...
After change c118256865
the body state is synched 2x, but this is only needed if _integrate_forces is overridden.
Adding this extra if increases the FPS by 2.5% in a heavy physics scene, see: https://github.com/godot-jolt/godot-jolt/discussions/611
2023-09-26 21:19:58 +02:00
Aaron Franke
b0c1c24c38
Allow adding a custom side menu to EditorFileDialog
2023-09-26 14:03:18 -05:00
bitsawer
7654e7852e
Fix RaycastOcclusionCull World3D scenario memory leak
2023-09-26 21:53:17 +03:00
Marcel Admiraal
3a7eda8f87
Check if input marked handled before processing additional CollisionObjects
2023-09-26 20:42:15 +02:00
Michael Alexsander
decae848a8
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-26 15:08:47 -03:00
Yuri Sizov
596dd726a1
Use bound theme properties for documentation
2023-09-26 18:48:51 +02:00
Rémi Verschelde
b905959f43
Merge pull request #82371 from KoBeWi/menus_that_should_be_there
...
Fix submenus deleted accidentally
2023-09-26 17:53:02 +02:00
Rémi Verschelde
f0d86f3767
Merge pull request #82365 from YuriSizov/editor-colormatch-pressed-buttons
...
Color match editor log toggles and flat pressed buttons
2023-09-26 17:52:59 +02:00
Rémi Verschelde
1a7ea4ba50
Merge pull request #82360 from kleonc/tilemap-tile-animation-time-float-error
...
Fix animated tile time-slice calculation accumulating float errors
2023-09-26 17:52:55 +02:00
Rémi Verschelde
dc14f02892
Merge pull request #81851 from aaronfranke/gltf-single-root
...
GLTF: Add root node export options and GODOT_single_root extension
2023-09-26 17:52:51 +02:00
Rémi Verschelde
7a4d55db56
Merge pull request #81760 from AThousandShips/null_check_modules
...
[Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-26 17:52:43 +02:00
Aaron Franke
446893fdd1
GLTF: Add GODOT_single_root extension
2023-09-26 10:18:52 -05:00
kobewi
e30e84d77a
Fix submenus deleted accidentally
2023-09-26 16:47:33 +02:00
A Thousand Ships
517e9f8aef
[Modules] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-26 16:44:52 +02:00
Yuri Sizov
cdec1ee6cb
Color match editor log toggles and flat pressed buttons
2023-09-26 16:41:50 +02:00
Yuri Sizov
378ab38b1f
Rename close requests to delete requests in GraphEdit
2023-09-26 16:41:39 +02:00
Rémi Verschelde
36945dad07
Merge pull request #82359 from bitsawer/add_gles3_device_cache_key
...
Add device info to GLES3 shader cache key hash
2023-09-26 16:36:57 +02:00
Rémi Verschelde
92ac0e54fe
Merge pull request #82353 from RPicster/optimizing-glow
...
Optimizing glow behaviour
2023-09-26 16:36:53 +02:00
Rémi Verschelde
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
...
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00
Rémi Verschelde
9b0b441cf3
Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning
...
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-26 16:36:39 +02:00