Commit graph

59248 commits

Author SHA1 Message Date
kobewi
c6c872ba34 Provide more context when scene fails to load 2023-11-20 14:57:00 +01:00
Rémi Verschelde
ac29e8e3fe
Merge pull request #85086 from clayjohn/shaders-amount-ratio
Make `AMOUNT_RATIO` constant in the shader language specification.
2023-11-20 14:14:46 +01:00
Rémi Verschelde
83493023df
Merge pull request #85009 from Yagich/graphedit-connection-layer-internal
Add GraphEdit connection layer child as internal
2023-11-20 14:14:18 +01:00
jsjtxietian
a3f44cd67e Check nullptr in _nvapi_disable_threaded_optimization to prevent crash
update outdated link
2023-11-20 19:31:14 +08:00
clayjohn
c0c1efc5da Use vertex input mask for creating vertex arrays
Also fix bug in creation of vertex input mask
2023-11-19 16:32:55 +01:00
clayjohn
8a95b2956f Make AMOUNT_RATIO constant in the shader language specification.
Writing to it doesn't do anything and will crash the compatibility backend.
2023-11-19 14:36:26 +01:00
Hugo Locurcio
c6a16b176e
Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
2023-11-19 11:22:51 +01:00
风青山
ed0e6e87fd Fix translation po file not found when make rst
The parsed language parameters contain unstripped spaces. This will
generate a wrong path.

Provide a `TOOLSOPT` to allow overriding the default values of
parameters of the `make_rst.py` script.

The xml generated by `godot --doctool -l LANG` can be checked for
errors using `make xml-check LANGARG=LANG`, which may be useful for
checking errors in po files.
2023-11-19 11:29:46 +08:00
Saracen
57f1e5dcdc Fix imported track flag on sliced animations. 2023-11-18 15:36:33 +00:00
Pedro J. Estébanez
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Bastiaan Olij
3af0176e8c Remove unused grip touch action from default OpenXR action map 2023-11-18 20:17:28 +11:00
Pawel Lampe
a4b3546577 Fix memory leak in 'NavigationServer3D' involving static obstacles 2023-11-17 21:20:14 +01:00
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal 2023-11-17 15:29:39 +03:00
Rémi Verschelde
80de898d72
Merge pull request #85006 from Calinou/makerst-index-disallow-page-comments
makerst: Disallow user-contributed notes on the class index page
2023-11-17 12:43:54 +01:00
Hugo Locurcio
c7f6504105
makerst: Disallow user-contributed notes on the class index page
User-contributed notes are still allowed on individual class pages.
2023-11-17 10:51:29 +01:00
Alistair Leslie-Hughes
f912a5aa56 Fix memory leak on error paths in tinyexr loader 2023-11-17 17:40:26 +11:00
Rémi Verschelde
ad72de5083
Bump version to 4.2-rc 2023-11-16 17:40:19 +01:00
Rémi Verschelde
0bcd0745d6
Update AUTHORS list 2023-11-16 17:39:44 +01:00
Rémi Verschelde
80e1672836
i18n: Sync translations with Weblate 2023-11-16 17:38:43 +01:00
Rémi Verschelde
47c7abc212
Merge pull request #84973 from dsnopek/gdextension-fix-compat-hashes
Check that `GDExtensionCompatHashes` are valid when generating `extension_api.json`
2023-11-16 14:53:39 +01:00
Rémi Verschelde
4065266119
Merge pull request #84968 from groud/fix_tilemap_reparenting
Update tilemap physics' world2D on reparenting
2023-11-16 14:53:15 +01:00
Rémi Verschelde
7e679ea16b
Merge pull request #84945 from bruvzg/ios_dotnet_export_fix
[iOS] Fix dotnet export.
2023-11-16 14:52:52 +01:00
Rémi Verschelde
b049ac43ba
Merge pull request #84927 from bruvzg/macos_ext_frame_upd
[macOS] Process events before changing title style to update window frame.
2023-11-16 14:52:28 +01:00
Rémi Verschelde
6ae6cc0bf5
Merge pull request #84815 from TokageItLab/array-animation
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
bruvzg
a92511fec3
[iOS] Fix dotnet export. 2023-11-16 15:05:44 +02:00
David Snopek
5cf6d08dda Check that GDExtensionCompatHashes are valid when generating extension_api.json 2023-11-16 06:40:06 -06:00
Silc Lizard (Tokage) Renew
80c9533810 Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
Gilles Roudière
dae641625a Update tilemap physics' world2D on reparenting
Co-authored-by: Alon Ran <newdefectus@gmail.com>
2023-11-16 11:31:42 +01:00
Rémi Verschelde
ce9901ef54
Merge pull request #84955 from kisg/fix_opengl_on_ios
Fix iOS Simulator by removing incorrect `system_fbo` overwrite
2023-11-16 10:54:38 +01:00
Rémi Verschelde
60c40ed809
Merge pull request #84952 from alesliehughes/renderer_viewport_sizeof
Renderer Viewport correct `sizeof` usage.
2023-11-16 10:54:15 +01:00
Rémi Verschelde
25b0b46dcc
Merge pull request #84925 from alesliehughes/fix_sizeof_usage
Fix `sizeof` usage for Variant pointers in `alloca`
2023-11-16 10:53:51 +01:00
Bastiaan Olij
47983e30c5 Ensure 2D MSAA resolve is performed when 3D content but no 2D content in scene 2023-11-16 13:34:34 +11:00
Gabor Koncz
0198eedb06 Remove incorrect system_fbo overwrite 2023-11-16 01:56:20 +01:00
Alistair Leslie-Hughes
367079ffee Renderer Viewport correct sizeof usage.
The current usage.

In viewport_find_from_screen_attachment
- Allocates a list of pointers, eg sizeof(RID*) * ridcount.

We need fill that buffer
viewport_owner.fill_owned_buffer(rids);
...
 p_rid_buffer[idx] = _make_from_id((validator << 32) | i);

_make_from_id returns an RID object, not a pointer.

Since there isn't a copy constructor, a bitwise copy of the object occurs.

This issue will only present itself under 32bit builds.
sizeof(RID)  : 8
sizeof(RID*) : 4

whereas 64bit builds they are both 8.
2023-11-16 11:02:12 +11:00
Alistair Leslie-Hughes
5b6f641e99 Fix sizeof usage for Variant pointers in alloca
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
Rémi Verschelde
56a2b143a2
Merge pull request #84942 from TokageItLab/leak-res-track-cache
Fix ValueTrack with Resource is leaking
2023-11-15 18:47:10 +01:00
Silc Lizard (Tokage) Renew
f853d675e8 Fix ValueTrack with Resource is leaking 2023-11-16 02:12:39 +09:00
Alexander Hartmann
04a142cf71 Vulkan: Fix incorrect access to the buffers on Android 2023-11-15 14:46:25 +01:00
Rémi Verschelde
cc135c5821
Merge pull request #84931 from YuriSizov/editor-hot-topic-hot-keys
Make script/shader editor save shortcuts unique again
2023-11-15 14:32:22 +01:00
Rémi Verschelde
e0707a068c
Merge pull request #84924 from mihe/fix-84919
Fix transform sync in `RigidBody*D::_body_state_changed`
2023-11-15 14:32:18 +01:00
Rémi Verschelde
00177d7735
Merge pull request #84883 from BastiaanOlij/fix_variant_load
Ensure optional CopyEffects variants are loaded last.
2023-11-15 14:32:14 +01:00
Rémi Verschelde
d89c5313a5
Merge pull request #83290 from trollodel/move_progress_dialog_on_open
Keep focus on floating window when showing ProgressDialog
2023-11-15 14:32:07 +01:00
Yuri Sizov
0f5a14c397 Make script/shader editor save shortcuts unique again 2023-11-15 14:10:12 +01:00
Rémi Verschelde
c851a46065
Merge pull request #84929 from bruvzg/gl_prop
[macOS] Cleanup default GL driver setting.
2023-11-15 13:16:01 +01:00
Rémi Verschelde
6d47eff457
Merge pull request #83104 from jsjtxietian/fix-crash-when-reimport-animation-while-playing
Fix editor crash when re-importing GLTF while animation is playing
2023-11-15 13:15:54 +01:00
Hugo Locurcio
dc3194f668
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog 2023-11-15 12:24:11 +01:00
bruvzg
cf56b881eb
[macOS] Cleanup default GL driver setting. 2023-11-15 10:07:16 +02:00
bruvzg
c64c1053e9
[macOS] Process events before changing title style to update window frame. 2023-11-15 09:33:23 +02:00
Bastiaan Olij
b1c4d4e55b Ensure optional variants are loaded last. 2023-11-15 14:31:25 +11:00
jsjtxietian
3c10493d0b Fix Editor crash when re-importing GLTF while animation is playing 2023-11-15 11:13:42 +08:00