Commit Graph

39291 Commits

Author SHA1 Message Date
Rémi Verschelde
36150e432c
i18n: Sync editor translations with Weblate
(cherry picked from commit 7ca1be5f37)
2021-11-19 09:55:09 +01:00
Rémi Verschelde
fc9de5ba7f
Merge pull request #54499 from Faless/threads/4.x_work_pool_default 2021-11-19 09:39:21 +01:00
Rémi Verschelde
fb47e30458
Merge pull request #55105 from Calinou/layer-20-remove-outdated-comments 2021-11-19 09:07:42 +01:00
Rémi Verschelde
6357412cbc
Merge pull request #55111 from Faless/js/4.x_input_fix_focus
[HTML5] Fix input not focusing canvas, Gamepad API errors.
2021-11-19 08:12:13 +01:00
Fabio Alessandrelli
91dbc288cc [HTML5] Add checks to Gamepad API events.
In some conditions the events might be generated even when the `gamepad`
object is not accessible due to Security Context requirements.
This commit adds a check to avoid firing the handler in those cases.
2021-11-19 04:07:01 +01:00
Fabio Alessandrelli
f13c7fc83e [HTML5] Fix input not focusing canvas.
mousedown and touchstart should focus the canvas to ensure correct
application lifecycle.
2021-11-19 04:06:55 +01:00
Hugo Locurcio
652fd9ffcc
Remove outdated comments related to the 20-layer editor limitation
All 32 layers are now exposed in the editor.
2021-11-18 23:02:40 +01:00
Rémi Verschelde
ba798d585c
Merge pull request #55101 from DavidSichma/black-ext 2021-11-18 22:23:44 +01:00
Camille Mohr-Daurat
0deccc550c
Merge pull request #42374 from madmiraal/fix-32776
Trigger RigidBodyBullet space override updates when Area properties change.
2021-11-18 12:22:02 -07:00
Camille Mohr-Daurat
756eab200b
Merge pull request #42306 from madmiraal/fix-39947
Update Bullet Area overlaps when Area properties or shapes change.
2021-11-18 12:04:41 -07:00
David Sichma
3fe10c7e9d
Fixed pre-commit-black file extensions
Now hook can find .py files.
2021-11-18 19:29:17 +01:00
Camille Mohr-Daurat
b7260e04cc
Merge pull request #44726 from madmiraal/fix-44644
Ignore Bullet collision contact points with distance = 0
2021-11-18 11:16:15 -07:00
Rémi Verschelde
84f59c60b0
Merge pull request #55095 from Giwayume/bugfix/atlas_cutoff_master
Fix texture atlas generation when source sprite is larger than generated atlas
2021-11-18 17:40:19 +01:00
Rémi Verschelde
fa11b45961
Merge pull request #55084 from JFonS/fix_depth_prepass
Fix Depth-Prepass transparency mode
2021-11-18 17:39:46 +01:00
Rémi Verschelde
4a4b363da1
Merge pull request #55092 from KoBeWi/thelp_item
Add [theme_item] tag to editor help
2021-11-18 17:39:17 +01:00
Rémi Verschelde
3f9c24a8d7
Merge pull request #55085 from JFonS/transparency_fixes
Fix transparency state initialization
2021-11-18 17:17:20 +01:00
Giwayume
9432efb7d0 Fix texture atlas generation when source sprite is larger than generated atlas 2021-11-18 10:05:59 -05:00
Rémi Verschelde
395558c021
Merge pull request #54462 from Paulb23/the-last-hidden-line 2021-11-18 15:56:06 +01:00
Rémi Verschelde
8ea92b9c1f
Merge pull request #55063 from Paulb23/pck-create 2021-11-18 15:53:13 +01:00
kobewi
6f929395d9 Add [theme_item] tag to editor help 2021-11-18 15:32:23 +01:00
Rémi Verschelde
d087e1c413
Merge pull request #55082 from Chaosus/vs_mesh_emitter 2021-11-18 15:16:38 +01:00
Rémi Verschelde
e7216d4085
Merge pull request #55072 from KoBeWi/untitled_goose_project 2021-11-18 13:47:32 +01:00
Rémi Verschelde
bae15cb90e
Merge pull request #53602 from KoBeWi/mountain_range 2021-11-18 13:02:02 +01:00
jfons
4c4b6620a0 Fix Depth-Prepass transparency mode
Add mising bits of implementation and ensure depth-prepass objects are
only rendered in the transparency pass.
2021-11-18 12:49:46 +01:00
kobewi
f6d16d55c6 Fix data directory of unnamed projects 2021-11-18 12:31:29 +01:00
Rémi Verschelde
a3850ba050
Merge pull request #55081 from akien-mga/windows-bigobj-breaks-lto 2021-11-18 12:12:13 +01:00
Yuri Roubinsky
0270144644 Enchance VisualShaderNodeMeshEmitter, add more ports and fix bugs 2021-11-18 14:02:15 +03:00
Rémi Verschelde
64d7df1e5f
Windows: Use /bigobj only for debug builds, breaks GCC LTO
Building `target=release` and `target=release_debug` builds with MinGW-GCC
errors when linking with LTO.

Since it's only needed for `target=debug` builds anyway (bigger objects), which
we don't build with LTO, this works around the issue.
2021-11-18 10:38:35 +01:00
Rémi Verschelde
c6555cafa5
Merge pull request #55074 from nekomatata/fix-soft-body-gravity 2021-11-18 09:27:23 +01:00
Rémi Verschelde
27691637ab
Merge pull request #55073 from nekomatata/fix-backface-collision 2021-11-18 09:14:03 +01:00
PouleyKetchoupp
ea52c68337 Fix applied gravity on soft bodies
Regression fix, gravity was accumulated between frames after some
changes around area gravity calculation.

Also got rid of unused member and method in soft body class.
2021-11-17 17:59:26 -07:00
PouleyKetchoupp
d630269593 Fix contact generation with backface collision disabled
Replaced the previous implementation for backface collision handling (in
test_axis function from SAT algorithm) with much simpler logic in the
collision generation phase with face shapes, in order to get rid of
wrong contacts when backface collision is disabled.

Now it just ignores the generated collision if the contact normal is
against the face normal, with a threshold to keep edge contacts.

Added a special case for soft bodies to invert the collision instead of
ignoring it, because for now it's the best solution to avoid soft bodies
to go through concave shapes (they use small spheres). This might be
replaced with a better algorithm for soft bodies later.
2021-11-17 17:57:02 -07:00
Rémi Verschelde
15062513c0
Merge pull request #55065 from nekomatata/fix-rest-info-minimum-depth
Fix rest_info returning no result with high margin and low motion
2021-11-17 22:39:41 +01:00
PouleyKetchoupp
43ff9ad86f Fix rest_info returning no result with high margin and low motion
Apply the same logic as in test_body_motion to make sure the minimum
allowed depth doesn't filter out all contacts in this case.
2021-11-17 11:47:30 -07:00
Yuri Roubinsky
cd4630fd4a
Merge pull request #55062 from Chaosus/fix_colorpicker_circle 2021-11-17 21:35:14 +03:00
Paulb23
2a302f7097 Fix TextEdit mouse interactions when the last line is hidden 2021-11-17 18:29:19 +00:00
Paulb23
eb9100f085 Fix divide by zero in pck_packer 2021-11-17 18:07:29 +00:00
Yuri Roubinsky
8be89357ce Fix ColorPicker inverted input on color circle 2021-11-17 20:33:17 +03:00
Rémi Verschelde
e445bacd90
Merge pull request #55058 from Chaosus/fix_randfn 2021-11-17 17:50:46 +01:00
Rémi Verschelde
2b24629847
Merge pull request #55042 from nekomatata/fix-segment-intersection 2021-11-17 17:33:56 +01:00
Yuri Roubinsky
9536b3b59a Fix randfn in visual scripts 2021-11-17 18:52:44 +03:00
Rémi Verschelde
f7b482d3ae
Merge pull request #55034 from plucky-git/macos-fix-crash-on-joypad-removal 2021-11-17 16:35:21 +01:00
Rémi Verschelde
0ef092a138
Merge pull request #55056 from RandomShaper/fix_crash_instantiate 2021-11-17 15:54:38 +01:00
Will Jordan
283e31a3e2 Fix crash on macOS (AS) when dualshock4 is removed 2021-11-17 15:13:53 +01:00
Pedro J. Estébanez
78ffc2a987 Fix crash when loading scene instance after node vanished from parent 2021-11-17 14:00:23 +01:00
Rémi Verschelde
f9b4547abd
Merge pull request #55054 from KoBeWi/marginalized_icon 2021-11-17 13:54:53 +01:00
Rémi Verschelde
7540da622d
Merge pull request #49793 from Chaosus/expose_randfn 2021-11-17 13:53:23 +01:00
kobewi
2341c7bbd9 Mention how to add margins to Button's icon 2021-11-17 12:50:25 +01:00
Yuri Roubinsky
a74acca858 Expose randfn to global scope 2021-11-17 14:29:19 +03:00
Rémi Verschelde
eb3cc0e55c
Merge pull request #55049 from Xwdit/fix_signal_disconnect 2021-11-17 10:48:04 +01:00