Rémi Verschelde
c6d2768a19
Merge pull request #54500 from Faless/js/4.x_webgl
2021-11-19 18:06:22 +01:00
Camille Mohr-Daurat
4a127fd2cc
Merge pull request #55130 from fabriceci/fix-2d-horizontal-velocity-on-wall
...
Scales the horizontal velocity according to the wall slope in 2D
2021-11-19 09:29:53 -07:00
Fabio Alessandrelli
46fdba5f8b
[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.
...
Note, the editor build requires the mbedtls module to be manually
enabled, as it is currently needed as a ResourceUID dependency.
This will need to be addressed in a separate PR.
2021-11-19 16:59:27 +01:00
Rémi Verschelde
4ab293c13c
Merge pull request #55132 from TokageItLab/fix-loopmode-when-imorting
2021-11-19 16:50:01 +01:00
Silc 'Tokage' Renew
bbdba3310f
Added hint about loop_mode to resource importer
2021-11-19 23:56:14 +09:00
Fabio Alessandrelli
1db8cf0d81
Merge pull request #55117 from akien-mga/miniupnpc-2.2.3
...
miniupnpc: Update to version 2.2.3
2021-11-19 15:35:20 +01:00
fabriceci
3a4debfa59
Scales the horizontal velocity according to the wall slope in 2D
2021-11-19 14:09:17 +01:00
Rémi Verschelde
42f8bfaff0
Merge pull request #55114 from akien-mga/doc-makerst-theme_items
2021-11-19 12:23:27 +01:00
Yuri Roubinsky
b452005c5c
Merge pull request #55113 from Chaosus/shader_fix_const_arg
2021-11-19 14:04:26 +03:00
Rémi Verschelde
432ac521ef
miniupnpc: Update to version 2.2.3
...
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.
2021-11-19 12:00:37 +01:00
Rémi Verschelde
1a9e3d581b
doc: Fix make_rst.py
hyperlinks for theme items
...
Fixup to #55092 .
2021-11-19 10:41:17 +01:00
Yuri Roubinsky
f4c0e90fd9
Allow passing non-variable constant to const function param in shaders
2021-11-19 12:14:13 +03:00
Rémi Verschelde
a777f01052
i18n: Sync classref translations with Weblate
...
(cherry picked from commit f737ed4da0
)
2021-11-19 09:55:14 +01:00
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