William Deurwaarder
a3f315c81b
GPULightmapper: increase ray triangle hit rate
...
Currently the method ray_hits_triangle determines triangles not to be hit by
a ray due to an epsilon that is too big. In practice those triangles are hit by
those rays.
This is fixed by introducing a smaller epsilon.
2021-10-15 15:19:43 +02:00
Rémi Verschelde
5bc0e4081b
Merge pull request #53753 from EricEzaM/fix-shortcut-saving
2021-10-15 14:40:40 +02:00
Rémi Verschelde
e53e897b8c
Merge pull request #53782 from reduz/animation-track-type-import-actions
2021-10-15 13:47:31 +02:00
Rémi Verschelde
25f89a847c
Merge pull request #53827 from akien-mga/scons-debug-dev-enabled-sconstruct
2021-10-15 12:41:42 +02:00
Eric M
7e435fa841
Fixed shortcut saving and 'original' comparisons
2021-10-15 20:39:38 +10:00
Rémi Verschelde
cd21cc683a
SCons: Set DEBUG_ENABLED
and DEV_ENABLED
in SConstruct
...
They're the same for all platforms so they don't need to be repeated in all
platform definitions.
2021-10-15 10:26:58 +02:00
Rémi Verschelde
e2bfb27efb
Merge pull request #53829 from akien-mga/scons-py3.6
2021-10-15 10:24:41 +02:00
Rémi Verschelde
6990e10f3e
Merge pull request #53828 from akien-mga/scons-remove-md5-timestamp-implicit-cache
2021-10-15 10:23:43 +02:00
Rémi Verschelde
f374edbeee
SCons: Increase min Python version to 3.6
...
Current SCons 4.2.0 still supports Python 3.5 but deprecated it, and support
will be removed in the next release.
It's also become needlessly restrictive to prevent ourselves from using Python
3.6 f-Strings, so it's time to up the requirement.
2021-10-15 09:55:57 +02:00
Rémi Verschelde
0433d0f54d
SCons: Remove MD5-timestamp and implicit cache optimizations
...
They haven't really helped save much time on incremental rebuilds, and they do
cause potential issues with build correctness (and possibly even one of the cause
for overly eager incremental rebuilds).
2021-10-15 09:43:23 +02:00
Rémi Verschelde
027d1f1551
Merge pull request #53822 from vnen/gdscript-await-issues
...
Fix a few issues with await in GDScript
2021-10-15 07:26:48 +02:00
George Marques
84abb9a76c
GDScript: Fix typing for await expression
...
Don't grab the type of the awaited value unless it's constant (which
makes it synchronous) or call (which always use the proper return type).
2021-10-14 20:30:06 -03:00
George Marques
749d89ae38
GDScript: Remove error when coroutine is called without await
...
In the case the call happens as a statement, since the return value
isn't used in this case.
2021-10-14 20:12:01 -03:00
George Marques
056a54db7b
GDScript: Properly return value with await on non-coroutine
...
If the keyword `await` is used without a coroutine, it should still
return the value synchronally.
2021-10-14 19:58:10 -03:00
George Marques
d36213bab8
GDScript: Make sure calls don't use return when not needed
2021-10-14 19:55:45 -03:00
Rémi Verschelde
78ddae8512
Merge pull request #53811 from V-Sekai/dev-yes
...
Fix specific warnings issues by Clang
2021-10-15 00:38:08 +02:00
Rémi Verschelde
8aef0e3ad9
Merge pull request #53816 from briansemrau/fix-height-fog-but-actually
2021-10-15 00:03:38 +02:00
Camille Mohr-Daurat
342c1bf1e2
Merge pull request #53054 from MaxLap/doc_shape_signals
...
Improve area/body_shape_entered/exited signals parameter names and doc
2021-10-14 14:31:58 -07:00
K. S. Ernest (iFire) Lee
8f0c056431
Fix specific warnings issues by Clang
...
Found by `scons dev=yes` on llvm-mingw.
2021-10-14 14:14:26 -07:00
Brian Semrau
e9f1b0a0b2
Remove incorrect fog height density remapping
2021-10-14 16:09:45 -04:00
Maxime Lapointe
b66fdb8dd2
Improve area/body_shape_entered/exited signals parameter names and doc
...
Fix some typoed names from the doc
Add _index to "index" parameters of *_shape_* signals, this is both in doc and in the template. This makes the code, signature and doc easier to understand
Add method to get Node from the _index params of those signals. This was not as easy to find as one would expect. Putting this information where it is needed will help.
2021-10-14 15:41:26 -04:00
Rémi Verschelde
f90047f158
Merge pull request #53786 from TokageItLab/fix-skeleton-editor-methods
2021-10-14 20:53:15 +02:00
Rémi Verschelde
472ff40f71
Merge pull request #53807 from vnen/dont-share-arrays-and-dicts
2021-10-14 20:42:22 +02:00
Rémi Verschelde
9782bd3e22
Merge pull request #53610 from madmiraal/upgrade-gradle
...
Upgrade Android Gradle to version 7.2
2021-10-14 20:27:18 +02:00
Rémi Verschelde
668ceda9cb
Merge pull request #53810 from groud/fix_crash
...
Fixes crash in TileSetAtlasSource::get_tiles_to_be_removed_on_change
2021-10-14 20:26:40 +02:00
Rémi Verschelde
5747895002
Merge pull request #53795 from briansemrau/fix-height-fog
...
Fix the height fog effect
2021-10-14 20:24:53 +02:00
Rémi Verschelde
b89036a9c2
Merge pull request #53798 from akien-mga/mbedtls-clang12-opt-bugfix
...
mbedtls: Backport "Fix x86_64 assembly for bignum multiplication"
2021-10-14 20:23:55 +02:00
Silc 'Tokage' Renew
8e9897b6de
get rid set_bone_pose and fix some function in SkeletonEditor
2021-10-15 02:41:17 +09:00
Marcel Admiraal
95b1275197
Upgrade Android Gradle to version 7.2
2021-10-14 16:19:00 +01:00
Gilles Roudière
3948f9cc83
Fixes crash in TileSetAtlasSource::get_tiles_to_be_removed_on_change
2021-10-14 16:49:59 +02:00
George Marques
4c14051b3f
Zero Dictionary and Array variants when changing type with reset
...
So they don't reference to the old values anymore and instead refer to
a new value.
2021-10-14 11:22:17 -03:00
George Marques
bf322bacdd
Merge pull request #53726 from briansemrau/gd-outer-class
...
GDScript 2.0: Access outer scope classes
2021-10-14 10:12:52 -03:00
Rémi Verschelde
d952a84c3e
Merge pull request #53799 from akien-mga/DEV_ENABLED
2021-10-14 13:24:20 +02:00
reduz
0bf0024395
Implement import actions for pos/rot/scale animation tracks
...
Following actions are supported for each track type (position, rotatin, scale):
* ImportIfPresent: If a track of this type is found, import it.
* ImportIfPresentForall (default): If a track is found for a given node/bone, create it in animations. This ensures there is always a correct blending.
* Never: Delete all tracks found for a given type. This is useful if you want to, as an example, force to import rotations only.
2021-10-14 08:22:54 -03:00
Rémi Verschelde
e2dfb656f4
SCons: Add DEV_ENABLED
defines for target=debug
builds
...
This will allow adding developer checks which will be fully compiled out in
user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and
the editor builds.
This define is not used yet, but we'll soon add code that uses it, and change
some existing `DEBUG_ENABLED` checks to be performed only in dev builds.
Related to godotengine/godot-proposals#3371 .
2021-10-14 12:01:28 +02:00
Rémi Verschelde
4cf3056ca6
mbedtls: Backport "Fix x86_64 assembly for bignum multiplication"
...
Backports PR https://github.com/ARMmbed/mbedtls/pull/4948 to fix a regression
with our macOS builds using Clang 12.
Fixes #53297 .
2021-10-14 11:03:03 +02:00
Brian Semrau
a62e240260
Fix the height fog effect
2021-10-14 04:08:39 -04:00
Gilles Roudière
0eed8d8386
Merge pull request #51695 from KoBeWi/one_tool_to_rule_them_all
...
Add tool quick-select to tile editor
2021-10-14 10:08:26 +02:00
Rémi Verschelde
569ea313ab
Merge pull request #53792 from floppyhammer/fix-bilinear-texture-progress-bar
2021-10-14 09:39:38 +02:00
Rémi Verschelde
5f33cc0f0e
Merge pull request #53783 from V-Sekai/gltf-restore-anims
2021-10-14 09:33:55 +02:00
floppyhammer
a238816f0b
Fix bilinear TextureProgressBar with nine patch enabled
2021-10-14 11:19:32 +08:00
Brian Semrau
0ff0f64cd4
GDScript: Access outer scope classes
2021-10-13 22:39:12 -04:00
kobewi
0afd47d8bc
Add tool quick-select to tile editor
2021-10-14 02:24:39 +02:00
K. S. Ernest (iFire) Lee
e3d1189916
Restore gltf animation export after split.
2021-10-13 15:18:27 -07:00
Rémi Verschelde
d956904091
Merge pull request #53597 from Xeadriel/patch-1
2021-10-13 21:04:32 +02:00
Rémi Verschelde
a801a2031d
Merge pull request #53773 from nathanfranke/fix-license-character-encoding
2021-10-13 21:04:13 +02:00
Rémi Verschelde
fd2dcba02c
Merge pull request #53772 from RandomShaper/fix_hash_map
2021-10-13 21:03:50 +02:00
Juan Linietsky
78cdfff0ec
Merge pull request #53765 from reduz/skeleton-remove-rest-influence
...
Remove REST transform influence in skeleton bones
2021-10-13 15:49:14 -03:00
Yuri Roubinsky
c515fdd0fb
Merge pull request #53759 from Chaosus/shader_new_builtins
2021-10-13 21:41:30 +03:00
reduz
2dc823273e
Remove REST transform influence in skeleton bones
...
* Animations and Skeletons are now pose-only.
* Rest transform is kept as reference (when it exists) and for IK
* Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
2021-10-13 14:51:29 -03:00