Commit graph

33494 commits

Author SHA1 Message Date
Anshul7sp1
91181c2086 Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
Rémi Verschelde
adf233ed04
Merge pull request #46918 from ray90514/debug
Fix Tree focus border disappears when Border Size is set to 0
2021-03-12 13:42:54 +01:00
Rémi Verschelde
b5406a293d
Merge pull request #46934 from JFonS/fix_gridmap_visibility
Fix visibility toggle for baked GridMaps
2021-03-12 13:13:44 +01:00
jfons
809d88b925 Fix visibility toggle for baked GridMaps 2021-03-12 12:57:04 +01:00
Rémi Verschelde
a19ffe80da
Merge pull request #40774 from TwistedTwigleg/SkeletonIK_Godot_4_0_Fixes
SkeletonIK changes and bug fixes
2021-03-12 11:25:29 +01:00
Rémi Verschelde
a1eccd9eb8
Merge pull request #46930 from Faless/js/4.x_project_manager_drop_hack
[HTML5] Drag and drop zip in project manager.
2021-03-12 10:43:18 +01:00
Fabio Alessandrelli
f1e810adcb [HTML5] Drag and drop zip in project manager.
With a very nice hack, a new hidden configuration option that delays
dropped files removal at exit.

This still leaks while the project manager is running, but will clear
memory as soon as it exits or load something.
(reminder, dropped files are reguarly removed after the signal is
emitted specifically to avoid leaks, but I prefer hacking the HTML5
config then the project manager).
2021-03-12 10:16:02 +01:00
Rémi Verschelde
08767a16fd
Merge pull request #46913 from Faless/js/4.x_vk
[HTML5] Experimental (opt-in) virtual keyboard support.
2021-03-12 09:48:34 +01:00
Rémi Verschelde
3231edb779
Merge pull request #46926 from unsignedFoo/46188/fix-get-unix-from-datetime-empty-dict
[46188] fix: get unix from datetime when empty dict
2021-03-12 09:46:31 +01:00
Rémi Verschelde
02ae0afe63
Merge pull request #46699 from sps1112/fix-control.edit_set_state-crash
Add size and dictionary check in Control::_edit_set_state() to fix crash
2021-03-12 09:46:03 +01:00
Rémi Verschelde
fec979b850
Merge pull request #44671 from o01eg/fix-gcc-visibility
GDNative: Fix symbols visibility for GCC
2021-03-12 09:41:56 +01:00
Aitor Cereceto
1e820b3d9d [46188] fix: get unix from datetime when empty dict 2021-03-12 09:27:21 +01:00
Rémi Verschelde
be4669d08d
Merge pull request #46890 from mujpao/fix-export-filter-crash
Fix crash when trying to export zero files.
2021-03-12 08:11:35 +01:00
ray90514
4c0ab07809 Fix Tree focus border disappears when Border Size is set to 0 2021-03-12 09:28:20 +08:00
Fabio Alessandrelli
3416f7b521 [HTML5] Opt-in virtual keyboard support.
Added as an export option "Experimental Virtual Keyboard".
There is no zoom, so text/line edit must be in the top part of the
screen, or it will get hidden by the virtual keyboard.
UTF8/Latin-1 only (I think regular UTF-8 should work out of the box in
4.0 but I can't test it).
It uses an hidden textarea or input, based on the multiline variable,
and only gets activated if the device has a touchscreen.
This could cause problems on devices with both touchscreen and a real
keyboard (although input should still work in general with some minor
focus issues). I'm thinking of a system to detect the first physical
keystroke and disable it in case, but it might do more harm then good,
so it must be well thought.
2021-03-11 23:08:08 +01:00
Fabio Alessandrelli
eda5ae9d75 Add IME support checks in LineEdit/TextEdit.
Avoid spamming "IME is unsupported" when the DisplayServer report it as
such.
2021-03-11 23:04:22 +01:00
mujpao
15656d4182 Fix crash when trying to export zero files.
Fixes crash that happened while exporting if zero files were selected
and adds more error handling to EditorExportPlatform class.
2021-03-11 13:30:04 -08:00
Rémi Verschelde
27dea9366f
Merge pull request #46510 from hilfazer/nested_scene_duplication_4_0
Support for duplication of nested instanced scenes
2021-03-11 21:39:43 +01:00
hilfazer
72134a7f2a Support for duplication of nested instanced scenes 2021-03-11 19:26:15 +01:00
Rémi Verschelde
5024b7236e
Merge pull request #46859 from akien-mga/scons-more-env-woes
SCons: Use default env["ENV"] and prepend PATH to it
2021-03-11 12:38:53 +01:00
Rémi Verschelde
dc0d1ab3b5
Merge pull request #46888 from BastiaanOlij/cleanup_storage_rendererrd
Cleanup storage RendererRD
2021-03-11 11:06:53 +01:00
Bastiaan Olij
f7cbeb0d1b Removed time duplicate from ForwardClustered. Just use the variable from its superclass 2021-03-11 18:08:10 +11:00
Bastiaan Olij
73b5eb2673 Combine init_gi and init_sdfgi into a single init 2021-03-11 18:07:33 +11:00
Bastiaan Olij
52ab369d5f Renamed one more Forward render struct and fixed typo 2021-03-11 14:18:05 +11:00
Bastiaan Olij
dfc41eb6f6 Moving RendererStorageRD *storage to protected, no sense duplicating it in forward_clustered 2021-03-11 13:24:23 +11:00
Bastiaan Olij
01851defb5
Merge pull request #46811 from BastiaanOlij/rename_forward_renderer
Renaming RendererSceneRenderForward to ...ForwardClustered
2021-03-10 23:36:08 +11:00
Bastiaan Olij
a895844c82 Renaming RendererSceneRenderForward to RendererSceneRenderForwardClustered so we can introduce RendererSceneRenderForwardMobile 2021-03-10 22:34:50 +11:00
Rémi Verschelde
bc229cdf29
Merge pull request #46786 from groud/navigation
Remove Navigation2D/3D nodes
2021-03-10 12:07:46 +01:00
Gilles Roudière
ba1344408f Implement Navigation layers 2021-03-10 11:23:06 +01:00
Gilles Roudière
a9dc53d152 Remove Navigation2D/3D nodes, and move the navigation map to the world resource 2021-03-10 11:23:06 +01:00
Rémi Verschelde
b7ebd22314 SCons: Use default env["ENV"] and prepend PATH to it
See discussion in #46814. Now going with the safe option again (like in 3.2)
as it turns out that we can't rely on user environments on Windows, since each
shell has a different set of env variables (especially the ones necessary to
use MSVC).

SCons does its own magic when we don't pass it an `ENV` dictionary, so we
should preserve it and only add things in a second step.

Fixes this warning when compiling with MSVC using git-bash.exe:
```
Missing environment variable: WindowsSdkDir
```

Possibly fixes build issues when having both MinGW and MSVC installed and an
older SCons version.
2021-03-10 11:07:34 +01:00
Rémi Verschelde
469ac1e415 doc: Sync classref with current source 2021-03-10 10:54:21 +01:00
Rémi Verschelde
a3cdaa7a09
Merge pull request #46845 from Faless/js/4.x_init_canvas_size
[HTML5] Properly set canvas size during setup.
2021-03-10 07:49:13 +01:00
Fabio Alessandrelli
3f059b90d6 [HTML5] Properly set canvas size during setup.
It used to be updated before the first iteration, causing the
window/viewport size values to be incorrect during the initialization
phase (e.g. during the first `_ready` notification).
2021-03-10 00:00:14 +01:00
Rémi Verschelde
0bef220f0a
Merge pull request #46759 from qarmin/crashes_others
Fix crashes when manipulating nodes in editor
2021-03-09 17:19:07 +01:00
Rémi Verschelde
83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
Rémi Verschelde
18bb36707f
Merge pull request #46110 from gongpha/colorbar-in-colorpicker
Add color interpolation bar on each channel in ColorPicker
2021-03-09 14:43:26 +01:00
Rémi Verschelde
ca1db9626c
Merge pull request #46670 from Shatur95/fix-enable-created-plugin
Fix enabling of created plugin
2021-03-09 13:54:17 +01:00
Rémi Verschelde
42ca4a424b
Merge pull request #46813 from bruvzg/uwp_thread_fix
Move caller_id init to Thread constructor to fix UWP build.
2021-03-09 11:23:16 +01:00
Rémi Verschelde
ab585be885
Merge pull request #46801 from Faless/js/4.x_allow_hidpi
[HTML5] Respect allow_hidpi option during setup
2021-03-09 10:56:05 +01:00
Rémi Verschelde
28ec24473a
Merge pull request #46814 from akien-mga/scons-fix-env-creation
SCons: Propagate the user's OS environment in env["ENV"]
2021-03-09 10:37:21 +01:00
Rémi Verschelde
cecc930e78
Merge pull request #46784 from Bhu1-V/doc-update
Documentation : Added Additional Description to PhysicsServer2D->area_create()
2021-03-09 09:58:26 +01:00
Rémi Verschelde
53bc6feabc
Merge pull request #46805 from likeich/fix_inertia_bug
Fixes division by zero when 3d body does not have valid shape
2021-03-09 09:38:39 +01:00
Rémi Verschelde
20b171cc5a SCons: Propagate the user's OS environment in env["ENV"]
This fixes a regression from #46774 where `env["ENV"]` would miss some
important env variables on Windows, such as `SystemRoot`, `PATHEXT`, etc.

To have those, we can either use the default `ENV` created by SCons, or
propagate the whole external environment.

Fixes #46790.
2021-03-09 09:21:40 +01:00
Kongfa Waroros
d295d53b4a Add interpolation bar on each channel in ColorPicker 2021-03-09 14:58:19 +07:00
bruvzg
741e1cf672
Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
Bhuvan Vemula
e3fed7bde8 Added Additional Description for PhysicsServer2D->area_create() method. 2021-03-09 09:03:10 +05:30
Kyle
554990992a Fixes division by zero when 3d body does not have valid shape
Fixes #46738 by setting the default inertia to a valid value when there are no valid shapes for a 3d body.
Changed the comment style for the update_inertias method as well.
2021-03-08 19:25:26 -05:00
Fabio Alessandrelli
f34c7982c5 [HTML5] Respect allow_hidpi option during setup
The option was forced to `true` before, unlike on other platforms.
2021-03-08 23:37:53 +01:00
Rémi Verschelde
85cb3c044d
Merge pull request #44324 from Calinou/doc-basematerial3d-height-no-triplanar
Document that BaseMaterial3D doesn't support height mapping + triplanar
2021-03-08 19:41:11 +01:00