Jummit
deda90bad7
add root_node as property of MultiplayerAPI
...
(cherry picked from commit d4c4d2db4c
)
2020-12-01 09:00:54 +01:00
rileylyman
3c5fb3bbc7
skip extra newline in .tscn when renaming dependency
...
(cherry picked from commit 40ce9bfc2d
)
2020-12-01 09:00:53 +01:00
Cooper Harasyn
4bf141a47e
Prevent ALSA audio corruption
...
When using the ALSA driver, corruption would occur if `snd_pcm_writei`
was unable to consume the entire sound buffer. This would occur
frequently on the Raspberry Pi 3 which uses the `snd_bcm2835` audio
driver.
This bug resulted from incorrect pointer math on line 187, resulting in
the sample source pointer being advanced by `total * ad->channels` bytes
instead of `total * ad->channels` samples. In my opinion, the best fix
is to change `*src` to type `int16_t`, since that is the sample type in
use.
Fixes #43927 .
(cherry picked from commit 25b2f82ccf
)
2020-12-01 09:00:53 +01:00
Hugo Locurcio
d8c90f5f1e
Improve the ProjectSettings.globalize_path()
documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4409 .
(cherry picked from commit f415db5b75
)
2020-12-01 09:00:52 +01:00
Fabio Alessandrelli
f6cca77d8f
Disable SO_REUSEADDR for UDP.
...
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP,
which still requires different ADDR:PORT combinations).
(cherry picked from commit 4b6a35c74a
)
2020-12-01 09:00:52 +01:00
Rémi Verschelde
dbb69f8f49
doc: Mention iOS support for Input gravity/gyroscope sensors
...
It has been implemented for iOS a long time ago already with #7127 .
(cherry picked from commit 2d0fda3ca2
)
2020-12-01 09:00:48 +01:00
Rémi Verschelde
037a6c5b57
Merge pull request #43991 from volzhs/fix-lock-preview-dymanicfont
...
Fix editor locked by generating preview of dynamic font
2020-11-30 17:21:52 +01:00
volzhs
a1f63bac0e
Fix editor locked by generating preview of dynamic font
2020-12-01 01:09:00 +09:00
Rémi Verschelde
58ca8de52c
Merge pull request #43986 from Faless/js/3.x_em_fixes
...
[3.2] [HTML5] HiDPI, emscripten fixes
2020-11-30 14:45:48 +01:00
Rémi Verschelde
896b776c6a
Merge pull request #43984 from lawnjelly/ewok_ninepatch_break
...
Fix ninepatch batch break logic.
2020-11-30 14:44:24 +01:00
Rémi Verschelde
307a85872b
Merge pull request #43982 from akien-mga/3.2-enabled_focus_mode
...
Buttons: Don't use deprecated set_enabled_focus_mode
2020-11-30 12:32:58 +01:00
lawnjelly
4c588c21e8
Fix ninepatch batch break logic.
...
I'd forgotten to add check for need for a new batch. Fixes visual anomalies, particularly tab container.
2020-11-30 10:29:52 +00:00
Fabio Alessandrelli
0f40391924
[HTML5] Fix broken layout on load in HiDPI screens
...
This was caused by the devicePixelRatio being applied twice, once by the
HTML code, once by the OS code.
More specifically, OS.get_window_size() would return the canvas element
size, while OS.set_window_size() would set the element size to the
specified value times the devicePixelRatio.
Calling OS.set_window_size(OS.get_window_size()) would reapply the
devicePixelRatio every time.
This commit changes the behaviour so that OS.set_window_size() do not
apply the devicePixelRatio to the canvas element size, by it divides the
CSS size instead.
2020-11-30 11:29:35 +01:00
Fabio Alessandrelli
8d93c723f1
[HTML5] Remove file flags from writeFile in setup.
...
Flags where deprecated and partly in removed in emscripten 2.0.9.
2020-11-30 11:29:32 +01:00
Rémi Verschelde
f7061fd559
Buttons: Don't use deprecated set_enabled_focus_mode
...
It's better to use the equivalent, non-deprecated API.
Follow-up to #43974 .
2020-11-30 11:16:15 +01:00
Rémi Verschelde
4f30cdfc33
Merge pull request #43972 from volzhs/fix-tab-container-3
...
Fix TabContainer crashes
2020-11-30 09:41:39 +01:00
Rémi Verschelde
848b9e7deb
Merge pull request #43974 from FIF15/restore-default-focus-mode
...
fix #43695 on 3.2 by revert part of #41577
2020-11-30 09:39:19 +01:00
FIF15
f07fb4e595
fix #43695 by revert part of #41577
...
Restore the default focus mode for MenuButton and LinkButton,
since it is different from the default of BaseButton.
2020-11-30 10:47:26 +08:00
volzhs
efade4034b
Fix no padding between icon and text in TabContainer
2020-11-30 11:36:57 +09:00
volzhs
8e10e33762
Fix TabContainer crashes
2020-11-30 11:02:18 +09:00
name-here
27393de36e
Don't open editor window when using --export, --doctool, or --gdnative-generate-json-api
2020-11-29 16:53:38 -05:00
alan-w-255
cbda02991f
fix android wrong multi-touch pointerid
2020-11-27 16:46:21 +08:00
Pedro J. Estébanez
08a46bbacd
Put misc. 3D tool visible instances on their own layer
...
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
2020-11-26 20:08:30 +01:00
Rémi Verschelde
803f6d2388
Merge pull request #43885 from Firepal/3.2
...
Use correct normal for ReflectionProbe in GLES2
2020-11-26 16:16:30 +01:00
Firepal
ec7a9ca018
Use correct normal for ReflectionProbe in GLES2
2020-11-26 13:08:30 +01:00
Rémi Verschelde
b9b773c3f0
Merge pull request #43881 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 10th batch
2020-11-26 10:39:20 +01:00
Rémi Verschelde
5b504eaa69
Merge pull request #43866 from madmiraal/fix-43852-3.2
...
[3.2] Check joint nodes and generate configuration warning messages.
2020-11-26 10:21:54 +01:00
Rémi Verschelde
97e7d637e0
i18n: Sync translations with Weblate
2020-11-26 09:47:40 +01:00
jfons
bdc6f2fd95
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
(cherry picked from commit e6949dae72
)
2020-11-26 09:38:47 +01:00
Marcel Admiraal
e4b3461441
Fix useless assignement in webrtc/library_godot_webrtc.js
...
(cherry picked from commit 4f654dad13
)
2020-11-26 09:38:47 +01:00
Tomasz Chabora
0c50509326
Update clear button when clicked
...
(cherry picked from commit 836b78f329
)
2020-11-26 09:38:47 +01:00
volzhs
8aeeec034d
Fix to update scroll bar has correct max value in ScrollContainer
...
(cherry picked from commit 67c2f2445f
)
2020-11-26 09:38:47 +01:00
Hugo Locurcio
9706b78a3f
Document C# garbage collection caveats in Reference and Resource
...
(cherry picked from commit 0565c76e8b
)
2020-11-26 09:38:47 +01:00
Sergey Minakov
067d015d38
iOS: fix native video
...
Fixed view not being displayed.
Fixed view orientation change.
(cherry picked from commit 6b2483c331
)
2020-11-26 09:38:47 +01:00
Hugo Locurcio
b2b5d9a7a3
Improve the AudioStreamPlayer3D class documentation
...
(cherry picked from commit 95618e2937
)
2020-11-26 09:38:47 +01:00
greenfox
b7a712d9f3
fixed Camera2D rotation with non-square zoom
...
(cherry picked from commit b9c0897713
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
922136b30d
Document that WebM videos don't support the alpha channel
...
(cherry picked from commit 1a616726cf
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
fe69bb262e
Bind the editor's Search Help function to F1 by default
...
Now that the F1 key is available, we can bind Search Help to the key
generally used in other applications to open the help menu.
(cherry picked from commit 42685f514f
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
f2a20893cc
Use a power-of-two value for Primary Grid Steps in the 3D editor
...
This matches the 2D editor default behavior.
Powers of two are usually better for grid divisions as they are often
used in level design.
(cherry picked from commit 31cf3e2572
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
6553cd368b
nanosvg: Sync with upstream 3e403ec
...
Includes some loop condition fixes after fuzzing.
The previously identified regression (#43641 ) is now fixed upstream.
(cherry picked from commit 1bb6491992
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
4a1643114e
Export: Reorder options for consistency across platforms
...
(cherry picked from commit 504efc5f9b
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
ac8dedd532
doc: Warn about using Node internal processing
...
See #43689 .
Also 'fixed' some spelling for behavior in publicly visible strings.
(Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling
war.)
(cherry picked from commit a655de89e3
)
2020-11-26 09:38:45 +01:00
Andrii Doroshenko (Xrayez)
e95e934d88
Do not start Timer
upon manual switching of internal process
...
Prevents `Timer` to prematurely start and timeout immediately if internal
processing is enabled manually with `Timer.set_process_internal(true)` or
`Timer.set_physics_process_internal(true)`.
Even if the internal processing is enabled manually, the user still has to
actually start the timer with `start()` method explicitly.
(cherry picked from commit afcb6f38db
)
2020-11-26 09:38:45 +01:00
Rémi Verschelde
eafb021015
SCons: Remove unnecessary $LINK overrides
...
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself
is a function that will use $CXX as linker for C++:
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328
https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76
So we don't need to manually specify the same value as $CXX for $LINK.
(cherry picked from commit 2e4bff1cfe
)
2020-11-26 09:38:45 +01:00
Rémi Verschelde
797850321b
Merge pull request #42685 from nekomatata/x11-clipboard-fixes-3.2
...
[3.2] Fix issues with Linux clipboard
2020-11-26 09:34:53 +01:00
Rémi Verschelde
94c31175de
Merge pull request #43152 from Chaosus/color_autocompletion_3.2
...
[3.2] Shows ColorRect in Color constants autocompletion
2020-11-26 09:32:32 +01:00
Rémi Verschelde
17eb869231
Merge pull request #43858 from JFonS/fix_baked_lights_gles2
...
[3.2] Fix regression in baked lights when using GLES2
2020-11-25 23:11:38 +01:00
Rémi Verschelde
7b7ef98ec9
Merge pull request #43863 from akien-mga/3.2-TYPED_METHOD_BIND
...
SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang
2020-11-25 22:13:39 +01:00
Marcel Admiraal
e0e7332135
Check joint nodes and generate configuration warning messages.
2020-11-25 20:53:48 +00:00
Rémi Verschelde
0b38c50311
SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang
...
Port of #43862 .
2020-11-25 21:17:48 +01:00