Commit Graph

39297 Commits

Author SHA1 Message Date
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
Rémi Verschelde 184b5244ba
Merge pull request #53867 from Calinou/rename-sgn-macro 2021-11-16 22:24:42 +01:00
Hugo Locurcio 8fb7e622a6
Rename built-in `SGN()` macro to `SIGN()`
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
Rémi Verschelde 5045f46a5c
Merge pull request #53298 from NathanLovato/GDQuest/animation-bezier-editor-ui-improvements 2021-11-16 16:21:53 +01:00
Nathan Lovato a5d0a74b65 Make bezier handle type a property of keyframes, update interface
- Replaced unused code related to old close icon with a button
- Add bezier handle options to right-click menu
- Remove mirror handle mode, only keep balanced
- Update animation reference
2021-11-16 09:26:35 -05:00
Rémi Verschelde 098e3cf8f7
Fix style issue after #54148 2021-11-16 14:27:44 +01:00
Rémi Verschelde 1edbe4f3c1
Merge pull request #54148 from miraz12/fix-scrollContrainer-notification-crash 2021-11-16 14:13:21 +01:00
Rémi Verschelde b99792b5d9
Merge pull request #54167 from brunosxs/fix-game-crash-when-sending-a-notification-from-a-camera-class 2021-11-16 14:11:14 +01:00
Rémi Verschelde 471e7cbfc7
Merge pull request #54581 from aaronfranke/operator-docs 2021-11-16 14:10:09 +01:00
Rémi Verschelde bef20f53cf
Merge pull request #54422 from ibrahn/project-manager-nophys 2021-11-16 11:06:46 +01:00
Rémi Verschelde 7791599d5b
Merge pull request #55019 from bruvzg/macos_crash_handler
[macOS] Fix crash handler not printing function names on M1 Macs.
2021-11-16 08:57:53 +01:00
Rémi Verschelde 974afa7262
Merge pull request #54926 from Chaosus/fix_debugger_reset 2021-11-16 08:42:00 +01:00
Rémi Verschelde c2ac3db039
Merge pull request #54880 from benjarmstrong/wasapi_input_fix 2021-11-16 08:22:09 +01:00
bruvzg c8037ef2e5 [macOS] Fix crash handler not printing function names on M1 Macs. 2021-11-16 08:45:34 +02:00
Rémi Verschelde 53ae45f657
Merge pull request #55010 from Calinou/shader-editor-tweak-builtin-color 2021-11-16 00:42:25 +01:00
Benjamin Armstrong 21e244773b Fix crash in audio callback when recording audio 2021-11-16 10:41:30 +11:00
Hugo Locurcio 14d8ea767d
Tweak the built-ins color highlighting in the shader editor (take 2)
The new color is more distinguishable from other variables and
symbols.
2021-11-15 23:40:57 +01:00
Yuri Roubinsky a673e8ae18 Fix debugger tab which don't resetting after pressing clear button 2021-11-15 20:51:25 +03:00
Rémi Verschelde 6715bc7754
Merge pull request #54992 from RandomShaper/drop_android_db_setting 2021-11-15 17:54:23 +01:00
Rémi Verschelde c24c7cac57
Revert "Load assets before enabling editor plugins"
This reverts commit 1963c63b91.

Fixes #52968, fixes #52995.
2021-11-15 16:08:19 +01:00
Rémi Verschelde 9c4c724853
Merge pull request #54970 from theoway/moving_nodes_under_comment_node 2021-11-15 15:50:39 +01:00
Rémi Verschelde 0121ce97df
Merge pull request #54953 from Calinou/animation-editor-use-different-icon-eased-keys 2021-11-15 14:06:33 +01:00
Rémi Verschelde d7190e04ed
Merge pull request #54991 from akien-mga/dehardcode-docs-branch-url 2021-11-15 14:04:00 +01:00
Rémi Verschelde 4b09e34275
Merge pull request #54952 from Calinou/doc-editorpaths 2021-11-15 14:03:38 +01:00
Hugo Locurcio d7cd44418d
Use a different icon for eased keyframes in the animation editor
This makes easing tracks easier to recognize, in a way similar
to curved lines in the Path2D editor.
2021-11-15 13:16:21 +01:00
Hugo Locurcio 7840080244
Document the EditorPaths class 2021-11-15 13:14:16 +01:00
Rémi Verschelde 6c1bd4d227
Replace Godot docs URL with `$DOCS_URL` in XML class reference 2021-11-15 13:02:21 +01:00
Rémi Verschelde 5341e6010e
Allow dehardcoding documentation branch and URL in docs links
This makes it possible to change the branch of the documentation that
URLs are pointing to without having to modify all class reference
files.

In the XML class reference, the `$DOCS_URL` placeholder should be used,
and will be replaced automatically in the editor and when generating
the RST class reference.

The documentation branch string is set in `version.py`.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-15 13:02:21 +01:00
Pedro J. Estébanez cab870e9d3 Drop pointless Android depth buffer setting 2021-11-15 11:02:01 +01:00
Rémi Verschelde 9e1c190ce1
Merge pull request #54851 from Calinou/skeleton-2d-editor-swap-rest-pose-actions 2021-11-15 10:56:37 +01:00
Rémi Verschelde 78eb50b890
Merge pull request #54983 from sboron/fix-mono 2021-11-15 09:57:42 +01:00
Rémi Verschelde d975b1bc37
Merge pull request #43072 from KoBeWi/point_to_angle 2021-11-15 09:56:21 +01:00
Stefan Boronczyk 5059d8a46c
Fix mono build after invalid rename of `KEY_READ`
Follow-up to #51684.
2021-11-15 08:49:37 +01:00
Rémi Verschelde b6c002f32d
Merge pull request #54981 from Calinou/doc-gi 2021-11-15 08:35:25 +01:00
Umang Kalra 840225bdb1 Making nodes enclosed within comment move with the comment node 2021-11-15 10:59:07 +05:30