Commit Graph

33466 Commits

Author SHA1 Message Date
c5d2404a13 Fix GodotPhysics solver with kinematic body set to report contacts
In 3D, collision is disabled between kinematic/static bodies when
contacts are generated only to report them.

In 2D, this case was already fixed but the code is cleaned to make it
easier to follow.
2021-03-11 18:06:00 -07:00
01851defb5 Merge pull request #46811 from BastiaanOlij/rename_forward_renderer
Renaming RendererSceneRenderForward to ...ForwardClustered
2021-03-10 23:36:08 +11:00
a895844c82 Renaming RendererSceneRenderForward to RendererSceneRenderForwardClustered so we can introduce RendererSceneRenderForwardMobile 2021-03-10 22:34:50 +11:00
bc229cdf29 Merge pull request #46786 from groud/navigation
Remove Navigation2D/3D nodes
2021-03-10 12:07:46 +01:00
ba1344408f Implement Navigation layers 2021-03-10 11:23:06 +01:00
a9dc53d152 Remove Navigation2D/3D nodes, and move the navigation map to the world resource 2021-03-10 11:23:06 +01:00
469ac1e415 doc: Sync classref with current source 2021-03-10 10:54:21 +01:00
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
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
0bef220f0a Merge pull request #46759 from qarmin/crashes_others
Fix crashes when manipulating nodes in editor
2021-03-09 17:19:07 +01:00
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
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
ca1db9626c Merge pull request #46670 from Shatur95/fix-enable-created-plugin
Fix enabling of created plugin
2021-03-09 13:54:17 +01:00
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
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
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
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
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
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
d295d53b4a Add interpolation bar on each channel in ColorPicker 2021-03-09 14:58:19 +07:00
741e1cf672 Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
e3fed7bde8 Added Additional Description for PhysicsServer2D->area_create() method. 2021-03-09 09:03:10 +05:30
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
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
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
b6e97c10ad i18n: Sync translations with Weblate
(cherry picked from commit f1f472439e)
2021-03-08 17:51:58 +01:00
b3506bc63b Update AUTHORS and DONORS list
New contributor added to AUTHORS:
@Ev1lbl0w

Thanks to all contributors and donors for making Godot possible!
2021-03-08 17:36:20 +01:00
ee13944f9c Merge pull request #46795 from angad-k/use_collision_mask_in_vehicle_raycast
use collision mask in vehicle raycast
2021-03-08 17:30:14 +01:00
8507b69c13 Merge pull request #46796 from Faless/js/4.x_pwa_simple
[HTML5] Add PWA support to the editor page.
2021-03-08 17:29:48 +01:00
d8bd54fbf2 [HTML5] Add PWA support to the editor page.
This allows to install it as an app, and provide offline support (after
the first run).
Practically, this boils down to adding a JSON file as a manifest, an
offline page to be displayed when the cached files are not avaialble,
and a JS file to cache resources and return them.

The reason for the "first run requirements" is that some browsers, will
emit an "install" by just visiting the page (to see if the JS code is
compatibile), and we do not want to force casual visitors to just
download the 10 MiB+ compressed editor WebAssembly file without pressing
the start button.

Special thanks to Hugo Locurcio (Calinou) for the initial work.
2021-03-08 17:06:24 +01:00
0816011e86 [HTML5] Catch audio worklet errors on disconnect.
Which could happen if the worklet was not fully loaded, or the audio
context had already aborted.
2021-03-08 17:06:24 +01:00
bfc533fc4c use collision mask in vehicle raycast 2021-03-08 20:57:23 +05:30
8af3d56631 Merge pull request #46792 from akien-mga/linux-fix-detect_prime-steam
Linux: Fix PRIME detection on Steam
2021-03-08 16:13:27 +01:00
14f330c95e Merge pull request #46771 from socket220/master
pop-up usability enhancement for support-level button
2021-03-08 16:02:09 +01:00
ae850177a3 Linux: Fix PRIME detection on Steam
To avoid trying to do PRIME detection on fake `libGL.so` as used by e.g.
Renderdoc or Primus, we skip detection if there's a `libGL.so` in
`LD_LIBRARY_PATH`... and our luck is that Steam defines it and includes
system paths too, thus the actual system `libGL`... 🤦

So if we detect Steam, we skip this check.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-03-08 15:51:14 +01:00
26d1b30d35 Merge pull request #46174 from xill47/mono-appdomain-unhandled-exception-event
Added mono_unhandled_exception call to unhandled_exception hook
2021-03-08 13:26:47 +01:00
6061ff7ba1 Added mono_unhandled_exception call to unhandled_exception hook 2021-03-08 12:57:50 +01:00
aa6bbdc7a8 Merge pull request #46787 from nemerle/fix_animation_track_editor_opt_confirm
Fix incorrectly connected optimize_dialog/confirmed signal in AnimationTrackEditor
2021-03-08 11:35:35 +01:00
7bbacb5ff6 fix incorrectly connected optimize_dialog signal 2021-03-08 11:14:45 +01:00
d52974ba95 Merge pull request #46776 from jmb462/fix-label-visible_characters_bad_precision
fix Label visible_characters bad precision (Fix #46775)
2021-03-08 10:30:50 +01:00
9a33c1b6a6 Merge pull request #46782 from bruvzg/fix_def_theme_size
Improve bitmap font scaling. Fix default theme font size.
2021-03-08 10:03:12 +01:00
aafbeb2be3 Merge pull request #43459 from MaxMutantMayer/hashing_context_unit_tests
Add unit tests for HashingContext
2021-03-08 09:53:07 +01:00
43c7c279d5 Improve bitmap font scaling. Fix default theme font size. 2021-03-08 09:56:40 +02:00
3856bc5afe Merge pull request #46642 from BastiaanOlij/sdfgi_rename_and_cleanup
Renamed SDGIShader to SDFGIShader and moved a bunch of things to private
2021-03-08 08:22:48 +01:00
3bd44f3cb6 fix Label visible_characters bad precision 2021-03-07 23:18:16 +01:00
7739db3799 Merge pull request #46774 from akien-mga/scons-respect-path
SCons: Fix parsing PATH when constructing base environment
2021-03-07 22:50:52 +01:00
5d217a9441 SCons: Fix parsing PATH when constructing base environment
We constructed the SCons environment without taking any (shell) environment
variables into account, and then appended a few, but too late. This would
cause variables like `env[CXX]` not to be properly expanded to respect a
non-standard `PATH`.

With this fix, setting:
```
PATH=$GODOT_SDK/bin:$PATH
```
will now properly use `$GODOT_SDK/bin/gcc` if available over `/usr/bin/gcc`.
2021-03-07 22:28:46 +01:00
1e59443cd2 Merge pull request #46769 from Calinou/assetlib-widen-pagination-buttons
Make the pagination buttons wider in the asset library browser
2021-03-07 21:48:27 +01:00
efe05a166e mod: pop-up usability enhancement for support button
Now after choosing support level pop-up doesn't hide after each click
2021-03-07 22:51:40 +03:00
f12d205c1f Add unit tests for HashingContext 2021-03-07 20:33:08 +01:00