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
Xwdit
0bd96bd2cf
Fix the exceptions in signal disconnection
...
Use the correct method to get SignalData to fix exceptions in signal disconnection
2021-11-17 09:29:29 +01:00
Rémi Verschelde
08eb8c9fc3
Merge pull request #55018 from kodiwills/add-error-macros-for-set_modification_count
...
add negative number validation for set_modification_count
2021-11-17 08:48:19 +01:00
Rémi Verschelde
c30aa372ca
Merge pull request #55029 from clayjohn/VULKAN-SRGB
...
Add SHADER_IS_SRGB define to Vulkan renderer
2021-11-17 08:46:23 +01:00
Rémi Verschelde
3c04522ece
Merge pull request #55039 from BastiaanOlij/fix_gdnative_array_index
...
Fix array access in gdextensions
2021-11-17 08:35:54 +01:00
clayjohn
358820c4b7
Fix SRGB conversions in Vulkan Renderer
2021-11-16 20:56:13 -08:00
PouleyKetchoupp
6d0c93dccf
Fix segment intersection in Geometry2D
...
Doing a multiplication to reduce the amount of tests was causing
precision which lead to 2D raycast detecting false positive contacts
in some cases with convex polygons.
2021-11-16 18:09:33 -07:00
Camille Mohr-Daurat
7d1b454b67
Merge pull request #55036 from nekomatata/bvh-fix-update
...
Fix physics BVH pairing for teleported or fast moving objects
2021-11-16 17:59:21 -07:00
Kodi
bdcd98c6ce
add input validation for set_modification_count
...
update error macros for set_modification_count
2021-11-16 19:09:01 -05:00
Bastiaan Olij
035468669a
Fix array access in gdextensions
2021-11-17 10:36:29 +11:00
PouleyKetchoupp
afb9e2d9b7
Fix physics BVH pairing for teleported or fast moving objects
...
Updating the broadphase to find new collision pairs was done after
checking for collision islands, so it was working in most cases due to
the pairing margin used in the BVH, but in case of teleported objects
the narrowphase collision could be skipped.
Now it's done before checking for collision islands, so we can ensure
that broadphase pairing has been done at the same time as objects are
marked as moved so their collision can be checked properly.
This issue didn't happen in the Octree/HashGrid because they do nothing
on update and trigger pairs directly when objects move instead.
2021-11-16 14:51:37 -07:00