Commit Graph

77006 Commits

Author SHA1 Message Date
Rakka Rage 58c9e341f1 Fix asset importer conflicted indeterminate state. 2023-11-17 19:58:18 -05:00
Pawel Lampe a4b3546577 Fix memory leak in 'NavigationServer3D' involving static obstacles 2023-11-17 21:20:14 +01:00
Markus Sauermann d3d00c7039 Fix crash caused by stale owner
Adjust `NOTIFICATION_PREDELETE` in `Node` to clean up owned nodes.
Also print a warning, when the owner becomes invalid.
2023-11-17 19:53:58 +01:00
Zach Coleman 6a8f6bae4c Make screen_get_refresh_rate() respect iOS Low Power Mode 2023-11-17 08:36:52 -05:00
bruvzg 932174fedf [Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02: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
Hugo Locurcio 0185835988 Alias platform=javascript SCons option to platform=web
This makes build scripts backward-compatible, as was already done
for other platforms that were renamed in 4.0.
2023-11-16 17:53:03 +01: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
Marcin Nowak 561fcf54a4 Fix #82756: Save branch as scene saves children without owner set 2023-11-16 01:14:04 +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
Hugo Locurcio ab8c9b678f Document the upsides and downsides of packed arrays versus typed arrays 2023-11-15 23:30:47 +01: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
Raul Santos a351c4bbe3 C#: Use get_instance_binding instead of set 2023-11-15 21:06:13 +01:00
Saracen f392a9c4f8 Fix CACHE_MODE_REPLACE 2023-11-15 18:55:20 +00: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
Hugo Locurcio 9f1870ec49 Hide ineffective TextureProgressBar properties in the editor
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Silc Lizard (Tokage) Renew f853d675e8 Fix ValueTrack with Resource is leaking 2023-11-16 02:12:39 +09:00
Stanislav Labzyuk ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +01: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
jsjtxietian 4680ced5fa support updating tooltip after editor description change 2023-11-15 14:27:49 +08:00
Bastiaan Olij b1c4d4e55b Ensure optional variants are loaded last. 2023-11-15 14:31:25 +11:00