Commit Graph

31960 Commits

Author SHA1 Message Date
SnailRhymer f4814ab711
Backport improved look_at docs and errors
Take extra constraint info and function description from Node3D.look_at to improve Spatial.look_at docs.
Add an explicit error for up == 0

(cherry picked from commit 83298da9b8)
2022-02-02 23:13:26 +01:00
lawnjelly 48a4741740
Portals - fix DYNAMIC particle systems
A regression had occurred whereby particle systems in DYNAMIC mode weren't added to the room correctly.
This PR recognise the case and bypasses the function to retrieve geometry, as retrieving the geometry is not necessary for DYNAMIC objects as they should not affect the room bound. Their AABB will be retrieved during gameplay rather than once off at level conversion.

(cherry picked from commit d86061d7ae)
2022-02-02 23:13:10 +01:00
Hugo Locurcio 97ee014434
Clarify documentation for Rect2's `has_no_area()`
(cherry picked from commit 7f00317f67)
2022-02-02 23:12:42 +01:00
Rémi Verschelde 717cb07304
Windows: Fix GCC -fpermissive error with 'pck' section workaround
Follow-up to #57450.

(cherry picked from commit 5a1f42b322)
2022-02-01 12:20:50 +01:00
Rémi Verschelde caaa648e86
Merge pull request #57489 from akien-mga/3.4-cherrypicks 2022-01-31 22:54:02 +01:00
Fabio Alessandrelli 147e2b7c92
[HTML5] Fix gamepad samples not being properly reset.
(cherry picked from commit 93968e1451)
2022-01-31 21:45:51 +01:00
Fabio Alessandrelli 18d676636d
[HTML5] Better engine config parsing.
(cherry picked from commit 2f509f1b12)
2022-01-31 21:45:44 +01:00
Ryan Roden-Corrent 7dc7f31825
Merge create_physical_skeleton undo entries.
Pressing `ctrl+z` after clicking "Create Physical Skeleton" will now
undo the creation of all physical bones by that operation.

Previously undo would remove one bone at a time.

Fixes https://github.com/godotengine/godot/issues/55351.

(cherry picked from commit c9cce53983)
2022-01-31 21:32:28 +01:00
Bartłomiej T. Listwon 3cae7a7df5
Prevent LTCG (MSVC LTO) from removing "pck" section
(cherry picked from commit e4bde938a1)
2022-01-31 20:40:31 +01:00
Ev01 7753688f88
Fixes invalid links to tutorials in AudioStreamGenerator, AudioStreamGeneratorPlayback, and AudioEffectSpectrumAnalyzer class references
(cherry picked from commit b6c543179c)
2022-01-31 20:40:04 +01:00
Ignacio Roldán Etcheverry 6d5f8cd3ca
Mono/C#: Fix Android AAB export failing to load native libs
By default, when installing from Android App Bundles the native
libraries are not extracted. They are loaded directly from the APK.
See: https://stackoverflow.com/a/56551499

Passing only the file name to dlopen, without the location, makes it
search the native library in all locations, including inside the apk.

(cherry picked from commit c7f716e2ea)
2022-01-31 20:39:31 +01:00
Hugo Locurcio 9827d620e3
Improve documentation for `ReflectionProbe.max_distance` property
(cherry picked from commit c35968e276)
2022-01-31 20:38:55 +01:00
Fredia Huya-Kouadio 3b4be5741e
Fix XR Android manifest metadata
- Adds the parameters for supported Meta devices, which is required to access some device specific capabilities
- Remove the 'com.samsung.android.vr.application.mode' metadata when we're not using the VrApi plugin

(cherry picked from commit 5deeb38a70)
2022-01-31 20:38:43 +01:00
lawnjelly ef2f631aa9
Portals - Fix gameplay monitor ticking
Due to an optimization to prevent processing except when camera rooms changed, the ticking synchronization and updating of previous and current lists could get out of sync for affected objects, leading to missing gameplay notifications.

This PR adds new paths to properly support and synchronize objects in this "room based" path.

(cherry picked from commit 38240fd0c8)
2022-01-31 20:38:32 +01:00
Haoyu Qiu b54987760a
Store ObjectID instead of raw pointer for Shape Owners
(cherry picked from commit fa96505418)
2022-01-31 20:38:20 +01:00
Rémi Verschelde 2665fc1439
stb_vorbis: Add clearer error messages when failing to import OGG file
Fixes #56895.

(cherry picked from commit 8109902492)
2022-01-31 20:38:01 +01:00
kobewi f0cbd12ea8
Fix TextureButton focus texture logic
(cherry picked from commit 11111d997e)
2022-01-29 10:24:58 +01:00
Rémi Verschelde 4a83366185
Merge pull request #57217 from akien-mga/3.4-cherrypicks 2022-01-25 19:47:43 +01:00
Haoyu Qiu fbff61dfe9
Fix memory leak when move to trash fails on Linux
(cherry picked from commit 8be49838b3)
2022-01-25 18:56:36 +01:00
rafallus 9540c18c06
Make sure `MeshLibrary` shape array has correct number of elements
(cherry picked from commit 5f8b292ad3)
2022-01-25 18:56:36 +01:00
Haoyu Qiu c9f3719417
Fix crash after renaming an animation node
(cherry picked from commit 5ea4a8b421)
2022-01-25 18:56:36 +01:00
Wysocki Patryk db1105d4b3
Expose AnimationNodeOneShot::mix_mode as a property
Fixes #23458.

(cherry picked from commit f16c483c9d)
2022-01-25 18:56:36 +01:00
Rémi Verschelde 055fb93e56
doc: Clarify expected type of `Object *` parameters in Tree methods
They're meant to be `TreeItem *` but this can't be bound in Variant.

Fixes #20538.

(cherry picked from commit 81f2ce4e46)
2022-01-25 18:52:17 +01:00
Navdeep Singh Rathore a182b65455
Added the smart word wrap property to preview label
(cherry picked from commit 0b55eedc52)
2022-01-25 18:51:58 +01:00
SnailRhymer ad12f54778
Add clarification to tile_set_modulate
To resolve 45677, adds a note to tile_set_modulate clarifying how to use tile_modulate in shaders.

(cherry picked from commit 6ac800aab7)
2022-01-25 18:50:48 +01:00
Mack 2e8334fa00
Fixed accessing a null MeshInstance object in BakedLightmap instead of the GeometryInstance
(cherry picked from commit 36c7110c1b)
2022-01-25 18:50:35 +01:00
Max Hilbrunner f00260f1b7
[3.x] Fix make_rst.py on Windows
(cherry picked from commit 54de063890)
2022-01-25 18:49:52 +01:00
Max Hilbrunner a59bf9a3b2
Fix GDNative docs links
(cherry picked from commit 6cecb2210e)
2022-01-25 18:49:37 +01:00
Hugo Locurcio 7e32d42968
Document that soft bodies should be avoided for gameplay purposes
(cherry picked from commit 94b1ae5599)
2022-01-25 18:49:00 +01:00
LoserFox d218356ae8
Fix some errors in Environment documentation
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 0af26280b6)
2022-01-25 18:48:48 +01:00
Hugo Locurcio c6ed1ef342
Improve CSGPolygon3D documentation
- Describe why polygon triangulation usually fails in the error message.

(cherry picked from commit 1e1fb145b3)
2022-01-25 18:48:30 +01:00
lawnjelly 579c6238bb
Portals - fix gameplay monitor unloading
The gameplay monitor wasn't being unloaded correctly in between levels. This meant that exit signals were not being sent, and entered signals for the new level were being missed.

This PR sends appropriate exit signals on unloading, and clear the data.

(cherry picked from commit 6c1e243fa2)
2022-01-25 18:48:18 +01:00
floppyhammer 37489bcd0e
Fix nine patch of circular TextureProgressBar
(cherry picked from commit f9b1ce0922)
2022-01-25 18:47:55 +01:00
skyace65 4f3cc52426
Better explain JSON print indent parameter (3.x)
(cherry picked from commit c540a17efc)
2022-01-25 18:47:24 +01:00
Ricardo Buring 51911952c5
Fix "Convert to MeshLibrary" not respecting collision transforms
(cherry picked from commit 025d7b9332)
2022-01-25 18:45:58 +01:00
rafallus 92073c2fcd
Fix `input_ray_pickable` documentation for `CollisionObject3D`
(cherry picked from commit ba7d3f8331)
2022-01-25 18:45:35 +01:00
jmb462 e8f3dad898
Prevent renaming to an unkown extension from FileSystem dock.
(cherry picked from commit c24433f500)
2022-01-25 18:45:17 +01:00
kobewi 8db41cf94d
Clarify to_float() and to_int() methods
(cherry picked from commit 7bb682651f)
2022-01-25 18:44:49 +01:00
bruvzg d0d1e81696
[Documentation] Add instruction how to execute built-in commands of various shells.
(cherry picked from commit 9faf1e027a)
2022-01-25 18:44:25 +01:00
Haoyu Qiu 9e7bf8fa73
Fix invalid read when using LightOccluder2D
(cherry picked from commit 7870cf24f2)
2022-01-25 18:43:55 +01:00
Haoyu Qiu 987c43f060
Fix crash when undoing node creation of BlendTree editor
(cherry picked from commit 19634bd1a1)
2022-01-25 18:43:26 +01:00
Haoyu Qiu eb31abaf0c
Replicate load-as-placeholder state on node duplication
(cherry picked from commit 6aecf91e4f)
2022-01-25 18:43:12 +01:00
kobewi 7fade16b55
Mention that modifying text erases BBCode stacks
(cherry picked from commit 3f0e9da5a4)
2022-01-25 18:42:41 +01:00
Raul Santos 51bcfd53b4
Fix marshaling values of generic Godot Dictionary
(cherry picked from commit e4c40efeab)
2022-01-25 18:42:08 +01:00
Hugo Locurcio 0bf0dce1db
Fix visible background line in intersections in screen-space reflections
Adjusting the step grading by one resolves the issue without affecting
performance or introducing adverse artifacts.

(cherry picked from commit a80187f5bc)
2022-01-25 18:41:54 +01:00
QueenOfSquiggles c7a9ec4c29
Fixed a typo in BakedLightmap documentation
"capture_propagation" member documentation description was missing the second 'p' in "propagation". Fixed this minor typo
Also resubmitting pull request to 3.x branch as per @Calinou's recommendation.

(cherry picked from commit cab89124ff)
2022-01-25 18:41:33 +01:00
Haoyu Qiu 73d5851232
Expose `Image.COMPRESS_SOURCE_LAYERED` to scripting
(cherry picked from commit 7f49e5beec)
2022-01-25 18:41:18 +01:00
Rémi Verschelde 0e0ccc4adf
ImageLoader: Remove references to unsupported svgz extension
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.

Also cleaning a couple missing includes in platform export code.

(cherry picked from commit 1ee44b2366)
2022-01-25 18:41:01 +01:00
Haoyu Qiu fa709e7169
Fix LineEdit center and right alignment
(cherry picked from commit 64fcf7ee77)
2022-01-25 18:40:49 +01:00
Ignacio Roldán Etcheverry cd016ea0b1
C#: Allow configuring Mono debugger agent with cmdline args
The command line option is the same you would pass to Mono, but it
begins with `--mono-debugger-agent=` instead of `--debugger-agent=`.

This is useful for platforms where it's difficult for the user to
configure it via environment variables, like Android.

(cherry picked from commit 3b085e2665)
2022-01-25 18:40:19 +01:00