Commit graph

29982 commits

Author SHA1 Message Date
Austin Tasato 7855d3f436
Add "Physics intro" docs link for State classes
(cherry picked from commit ce8eb09a25)
2021-09-29 08:57:27 +02:00
kleonc 59f69e2b04
TabContainer Fix drawing current tab when it's disabled
(cherry picked from commit 8004678d57)
2021-09-29 08:57:26 +02:00
Bartłomiej T. Listwon ba6d8153af
Fix buffer creation in light_internal_create()
(cherry picked from commit 350573a4df)
2021-09-29 08:57:26 +02:00
Haoyu Qiu 1722d0cc12
Fix LineEdit undo crash
Make sure all related member variables are initialized before creating
the first undo state.

(cherry picked from commit eab1e228c8)
2021-09-29 08:57:26 +02:00
Rémi Verschelde 3bd4611e2a
nanosvg: Sync with upstream ccdb199
Includes fixes for a memory corruption bug (CVE-2019-1000032)
and possible division by zero.

(cherry picked from commit 05b28b66ea)
2021-09-29 08:57:26 +02:00
laws65 8d0b878367
Prevent being able to set bone's parent as itself
(cherry picked from commit d1bacb53fd)
2021-09-29 08:57:26 +02:00
Germanrc aa679b2fe0
C# script reload fixed
Co-authored-by: Michael Bickel <mib@developium.net>
(cherry picked from commit 84a218d346)
2021-09-29 08:57:26 +02:00
gyroninja 96d418cb94
Fail at instantiating if the root node is instantiated
(cherry picked from commit f400c9239e)
2021-09-29 08:57:26 +02:00
Fabio Alessandrelli 41b1f2a7f9
[HTML5] Use browser mix rate by default on the Web.
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not
allow input (microphone) if the mix rate is not the default one, Chrom*
will exhibit worse performances, etc.

(cherry picked from commit b800438efb)
2021-09-29 08:57:26 +02:00
Hugo Locurcio e34c09a705
Document that most emoji won't display correctly on Windows
(cherry picked from commit 622f0b7d38)
2021-09-29 08:57:25 +02:00
Fabio Alessandrelli addadf92a1
[HTML5] Fix bug in AudioWorklet when reading output buffer.
Would attempt an out of bounds read, causing an exception.

(cherry picked from commit ba08f39e47)
2021-09-29 08:57:25 +02:00
lawnjelly ef4f207b12
Improve Basis::get_quaternion error message
The previous error message incorrectly suggested that any Basis could be fixed by calling get_rotation_quation() or orthonormalize(). This PR points out that only a valid rotation Basis can be fixed in this way.

(cherry picked from commit d3a3b3aff3)
2021-09-29 08:57:25 +02:00
David Cambré 5144cbf8ed
Fix VisualScriptPropertySet value hint
(cherry picked from commit 0c9947cb2f)
2021-09-29 08:57:25 +02:00
Haoyu Qiu 758428dd9f
Quote and escape ConfigFile keys when necessary
(cherry picked from commit 597d489a20)
2021-09-29 08:57:25 +02:00
LeaoLuciano 138e995177
LinkButton's text now is automatically translated
(cherry picked from commit 9cecabb186)
2021-09-29 08:57:25 +02:00
Gilles Roudière 7e105039f8
Fix LocalVector crash on insert.
(cherry picked from commit de0765b94a)
2021-09-29 08:57:25 +02:00
Hugo Locurcio 1b7d42c99e
Print colored diffs when there are formatting failures in CI
This makes diffs more readable in CI logs.

(cherry picked from commit 38424714b1)
2021-09-29 08:57:25 +02:00
Hugo Locurcio 44bda5351c
Document that ENet compression mode must match between client and server
(cherry picked from commit c2945365d8)
2021-09-29 08:57:25 +02:00
Hugo Locurcio d8138c6f4a
Remove deprecation warning for BaseButton.enabled_focus_mode
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.

(cherry picked from commit 43da1790c8)
2021-09-29 08:57:24 +02:00
Hugo Locurcio eb504880f1
Document Image.generate_mipmaps() always running on the main thread
(cherry picked from commit 30a88f464b)
2021-09-29 08:57:24 +02:00
bruvzg 3fea85a6f0
[macOS] Request camera permission before session init.
(cherry picked from commit e6801a098e)
2021-09-29 08:57:24 +02:00
Marcus Brummer 2abf2a6622
Check if vibration duration is > 0 on Android
(cherry picked from commit 47f338fc12)
2021-09-29 08:57:24 +02:00
clayjohn 1b585634f1
Properly clear cubemap filter state when texture array environment disabled
(cherry picked from commit 987aef4e0d)
2021-09-29 08:57:24 +02:00
LoipesMas 8205edaa64
Add note about batching to Line2D's anti-aliasing
(cherry picked from commit b047430702)
2021-09-29 08:57:21 +02:00
Kyle 5646d32a91
Wrote JNISinglton docs
I added a few descriptions and links to the empty JNISingleton class doc.

(cherry picked from commit 4eff57d39b)
2021-09-29 08:14:21 +02:00
skyace65 6d98595280
Add note that for _gui_input(event) event position is relative to the control origin
(cherry picked from commit 824259aca0)
2021-09-29 08:13:26 +02:00
Rémi Verschelde 55e614abce
Revert "Load assets before enabling editor plugins"
This reverts commit 5dcf325778.

It caused regressions #52968 and #52995.
2021-09-27 18:28:40 +02:00
Rémi Verschelde 522b5ee12d
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@AnilBK, @Jummit

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 252ae43737)
2021-09-24 12:28:46 +02:00
Rémi Verschelde 9471f9f022
Merge pull request #52910 from kleonc/sprite-frames-dialog-fix-drawing-3.3 2021-09-21 21:15:16 +02:00
kleonc 6e9fcf721b SpriteFramesEditor Fix preview grid in "Select Frames" dialog and preserve source texture margins when creating frames from AtlasTexture 2021-09-21 20:08:25 +02:00
kobewi 5b97007def
Improve call_group documentation
(cherry picked from commit 31ef94f2ec)
2021-09-21 17:45:13 +02:00
kleonc 7c9e0595b7
AStar Add error messages
(cherry picked from commit 71255bc2a9)
2021-09-21 17:45:13 +02:00
Hugo Locurcio 651ab394a8
Document how to delay code execution in a non-blocking manner
(cherry picked from commit 1529bf7c10)
2021-09-21 17:45:13 +02:00
mechPenSketch 9569ec516b
Add Graph Illustrations to Doc
(cherry picked from commit 9ea619c486)
2021-09-21 17:45:12 +02:00
Nick Huelin c939ef15fa
Add note to SceneTree about pausing
This pull request adds a small amendment to `SceneTree` describing the behavior `_physics_process()` when pausing the scene.

`_physics_process` will completely stop processing collisions and signals whenever the scene is paused, however, the function will still receive calls.

This addresses: #47326

(cherry picked from commit d62175e009)
2021-09-21 15:39:12 +02:00
Nick Huelin 525e5ba729
Add note to RichTextLabel
(cherry picked from commit 4a0cadd4ed)
2021-09-21 15:38:57 +02:00
Marcus Brummer 3abde51994
Documented that mutexes are implemented recursively
(cherry picked from commit 46bbeb2b60)
2021-09-21 15:30:33 +02:00
georgespatton 1c1bc75e28
doc: Clarify need to save ConfigFile to apply changes to file
See #52645 for context.

(cherry picked from commit fd8bdddd5d)
2021-09-21 15:29:39 +02:00
Hugo Locurcio 8e55a1870f
Document caveats with StyleBoxFlat antialiasing and beveled corners
(cherry picked from commit f7f8ae6372)
2021-09-21 15:27:15 +02:00
TechnoPorg 5dcf325778
Load assets before enabling editor plugins
Moves the code for enabling plugins from NOTIFICATION_READY to after the first scan has been completed.

(cherry picked from commit 1963c63b91)
2021-09-21 15:26:51 +02:00
Haoyu Qiu bdbd34b388
Don't update CSG Shape when not inside tree
(cherry picked from commit 07042b4044)
2021-09-21 15:05:21 +02:00
David Cambré 20b481f3f8
Update VisualScriptCustomNode.xml
(cherry picked from commit 080125660a)
2021-09-21 15:00:54 +02:00
kleonc 7c981804b7
MultiNodeEdit Fix setting NodePath
(cherry picked from commit 5260fd8f3e)
2021-09-21 15:00:00 +02:00
Hugo Locurcio 2773548b58
Add logo attribution for Android, HTML5 and Linux platform icons
- Tweak the Android platform logo to remove the Android wordmark,
  as it can't be used without explicit permission.

(cherry picked from commit 1513aa9b26)
2021-09-21 14:56:03 +02:00
Hugo Locurcio aa0de1c6e0
Improve documentation for String.get_extension()
(cherry picked from commit 09eb98c530)
2021-09-21 14:26:47 +02:00
Rémi Verschelde 052ca31a36
HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@
Follow-up to #51002.

(cherry picked from commit 16f49d4b29)
2021-09-21 14:26:15 +02:00
Tom Coxon a2f3decb88
Prevent shaders from generating code before the constructor finishes.
Fixes #43733: "creating SpatialMaterial in a separate thread creates invalid
shaders (temporarily)."

The bug occurred because various setters called in materials' constructors add
materials to queues that are processed on the main thread. This means that
when the materials are created in another thread, they can be processed on the
main thread before the constructor has finished.

The fix adds a flag to affected materials that prevents them from being added
to the queue until their constructors have finished initialising all the
members.

(cherry picked from commit 9e9bac1549)
2021-09-21 13:53:31 +02:00
Hugo Locurcio 0ac9c9906b
Document Object.get_class()/is_class() ignores class_name declaration
(cherry picked from commit a15847e5ca)
2021-09-21 11:02:15 +02:00
Hugo Locurcio 2cd5516672
Improve documentation for Engine.get_idle_frames/get_physics_frames()
(cherry picked from commit 31c07bcca7)
2021-09-21 10:52:40 +02:00
Hugo Locurcio 62953c4fae
Document that ConfigFiles can use any file extension
The file extension given to a ConfigFile has no impact on its
formatting or behavior.

(cherry picked from commit 9c6ae95cb2)
2021-09-20 16:21:42 +02:00