Commit Graph

39281 Commits

Author SHA1 Message Date
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
Rémi Verschelde 8bb163807a
Merge pull request #54976 from reduz/importer-options-by-path 2021-11-15 00:46:04 +01:00
Hugo Locurcio f50aeb531b
Improve documentation related to global illumination 2021-11-14 23:48:12 +01:00
Hugo Locurcio 315e94ee2a
Merge pull request #53710 from CaptainProton42/fix-extension-class-inspector-properties 2021-11-14 22:02:31 +01:00
reduz cd2a499084 Add path to functions that return iporter options
-Allows displaying custom options for specific file format variants
-Added support for scene format import to retrieve custom options

This PR is necessary for #54886 to be implemented properly.
2021-11-14 14:06:10 -03:00
Rémi Verschelde ed300d7be5
Merge pull request #54947 from Chaosus/fix_mobile_renderer
Fix broken light_compute in mobile renderer
2021-11-13 23:26:02 +01:00
Yuri Roubinsky df3b42411d Fix broken light_compute in mobile renderer 2021-11-13 17:24:31 +03:00
Rémi Verschelde 3e214a8838
Merge pull request #54937 from aaronfranke/mac-arch
Fix typo in architecture name for x86_64 macOS
2021-11-13 08:05:53 +01:00
Rémi Verschelde 66f8be3dd3
Merge pull request #54934 from briansemrau/multimesh-zero-visible
Fix multimesh still drawing when visible instances is zero
2021-11-13 08:04:07 +01:00
Brian Semrau 716e15cd26 Fix multimesh still drawing when visible instances is zero 2021-11-12 21:51:14 -05:00
Aaron Franke 35b9263e5b
Fix typo in architecture name for x86_64 macOS 2021-11-12 20:46:08 -06:00
Rémi Verschelde 19571c9c4b
Merge pull request #54928 from KoBeWi/sorting_vegetables 2021-11-13 00:19:28 +01:00
Rémi Verschelde 5aae92f069
Merge pull request #51684 from aaronfranke/enum-class 2021-11-12 23:39:17 +01:00
kobewi f529a58f10 Improve sort_custom() example 2021-11-12 23:18:33 +01:00
Aaron Franke 3c0fdcc8ac
Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
Rémi Verschelde 4f85cad013
Merge pull request #54924 from Calinou/editor-macos-rename-shortcut-enter 2021-11-12 22:33:19 +01:00