Fabio Alessandrelli
2cbfe1afd4
[HTML5] Allow selecting the export type.
...
Available types:
- Regular
- GDNative (support dynamic linking and thus GDNative WASM files)
- Threads (uses WebAssembly Threads)
2020-12-05 01:00:32 +01:00
Fabio Alessandrelli
4ad95cc039
[HTML5] EditorRunNative works with GDNative.
...
This "breaks" our loading bar logic (libraries are not counted).
Fixing it is non trivial and probably deserves investigating a different
strategy.
2020-12-05 01:00:29 +01:00
Fabio Alessandrelli
4d1ebaad0f
[HTML5] GDNative support via SIDE_MODULE.
...
Working, with emscripten > 2.0.9
Yes, the unreleased version. 2.0.9 works, but throws and error due to a
bug in emscripten with the thirdparty ENet library.
The issue is fixed upstream so newer releases will work.
2020-12-05 01:00:02 +01:00
Fabio Alessandrelli
8ebb52fad6
[HTML5] Add function signatures to JS libraries.
2020-12-04 23:37:41 +01:00
Rémi Verschelde
185520c5b0
Merge pull request #43907 from alan-w-255/fix_android_wrong_multitouch_pointerid
...
fix android wrong multi-touch pointerid
2020-12-03 14:49:30 +01:00
Rémi Verschelde
9962fa6975
Merge pull request #42313 from kurinoku/fix-tileset-editor-3.2
...
Fixed tile_set_editor_plugin.cpp selection issue where it wouldn't cycle through all subtiles of an autotile.
2020-12-03 14:45:37 +01:00
Rémi Verschelde
9df3d06d1f
Merge pull request #43897 from RandomShaper/fix_refl_probe_vis_3.2
...
Put misc. 3D tool visible instances on their own layer (3.2)
2020-12-03 13:29:36 +01:00
Rémi Verschelde
7d7b9a7fe2
Merge pull request #44062 from madmiraal/fix-44056-3.2
...
[3.2] Ignore hint entries in game controller mapping
2020-12-03 13:27:35 +01:00
Marcel Admiraal
c3150eb783
Ignore hint entries in game controller mapping
2020-12-03 09:07:15 +00:00
Adam Brown
639fdefc10
xatlas should be using the options configured here
...
It was using the defaults by mistake
(cherry picked from commit 9367b1d6c1
)
2020-12-02 20:54:39 +01:00
Rémi Verschelde
8b1ee204cf
Use GLES2 by default in the project manager
...
This only applies to the project manager instance, what driver is used is otherwise
still defined by the project settings for a running game/editor.
Should help users who have issues with buggy GLES3 drivers to still use the project
manager to create and edit GLES2 projects.
2020-12-02 18:15:54 +01:00
Rémi Verschelde
77e6164a3d
Merge pull request #44039 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 11th batch
2020-12-02 17:09:27 +01:00
bruvzg
cc86b11858
Fix .pck lookup for extensionless binary in macOS resources.
...
(cherry picked from commit 7be8759991
)
2020-12-02 16:08:29 +01:00
Adam Brown
df047e56fe
xatlas: Sync with upstream 5571fc7
...
Fixes #44017 by changing the `normalize()` function to check for non-negative rather than non-zero via an epsilon check.
(cherry picked from commit 23c754360a
)
2020-12-02 16:03:26 +01:00
Hugo Locurcio
eda04c6b6c
Fix incorrect Curve3D.interpolate_baked()
description
...
The offset is in 3D units, not pixels.
This closes https://github.com/godotengine/godot-docs/issues/4339 .
(cherry picked from commit 5a9600cd24
)
2020-12-02 16:03:06 +01:00
Aaron Franke
80c72a529f
Limit the zoom and freelook speed based on camera settings
...
(cherry picked from commit 896a297c1f
)
2020-12-02 16:02:39 +01:00
Rémi Verschelde
8633cbc825
X11: Include limits.h for LONG_MAX
...
Fixes #44030 .
(cherry picked from commit f1a9de9c59
)
2020-12-02 16:00:54 +01:00
Tomasz Chabora
afdf189776
Show editable children in the connect dialog
...
(cherry picked from commit c93a3bdaef
)
2020-12-01 09:00:55 +01:00
Andrii Doroshenko (Xrayez)
c663b3d5f8
Fix doctool misleading error message
...
(cherry picked from commit b0e8177306
)
2020-12-01 09:00:54 +01:00
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