Commit Graph

45446 Commits

Author SHA1 Message Date
Rémi Verschelde e36f324bdf
Merge pull request #63922 from rburing/fix_softbody_normals 2022-08-05 02:50:32 +02:00
Rémi Verschelde b1580ea334
Merge pull request #63924 from bruvzg/ts_reg_fixes 2022-08-05 00:27:14 +02:00
Rémi Verschelde 453fbcf2f9
Merge pull request #63912 from aaronfranke/vec3-slerp-colinear 2022-08-05 00:26:53 +02:00
Ricardo Buring 74f41f8560 Fix SoftDynamicBody3D normals
Store normal vector in A2B10G10R10 format.
2022-08-04 23:10:04 +02:00
Rémi Verschelde daa1220a86
Merge pull request #61856 from iwek7/label_overflowing_text 2022-08-04 22:03:29 +02:00
Rémi Verschelde f6431db9a5
Merge pull request #63852 from fire-forge/default-colors 2022-08-04 22:03:10 +02:00
bruvzg 80c9a44492
Fix overrun flag check and HarfBuzz safe to break flag check. 2022-08-04 22:58:28 +03:00
Rémi Verschelde 80193260ff
Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi 2022-08-04 21:41:03 +02:00
Rémi Verschelde 52bfae1741
Merge pull request #63918 from akien-mga/no-s3tc-for-mobile 2022-08-04 21:40:45 +02:00
Aaron Franke 88f5b0d563
Check if the axis is zero / vectors are colinear in Vector3 slerp 2022-08-04 14:32:54 -05:00
Rémi Verschelde 49ac05550e
Merge pull request #63838 from tefusion/fix-arrange-nodes-freeze
Fix GraphEdit::arange_nodes causing a freeze when cycle in Graph
2022-08-04 19:36:22 +02:00
iwek efcdfc2332 Fix issue with overlaping text label text 2022-08-04 19:19:33 +02:00
Rémi Verschelde e9f8b2d190
Merge pull request #58536 from winterpixelgames/feature/virtual-keyboard-types
Add support for multiple virtual keyboard types
2022-08-04 19:11:40 +02:00
Rémi Verschelde bed2482ce2
Merge pull request #63910 from rburing/fixup_array_inspector 2022-08-04 18:31:43 +02:00
Rémi Verschelde 8a9700c8a7 Force disable S3TC support on Android/iOS since we don't handle it
Fixes #63909 for now.
This could be improved in the future if we want to properly support S3TC on mobile.
2022-08-04 18:27:56 +02:00
Rémi Verschelde 84acfd69d7
Merge pull request #54792 from EIRTeam/independent_arrows 2022-08-04 18:09:29 +02:00
Yuri Sizov ebcfd13c30 Add text overrun behavior for the theme type selector 2022-08-04 19:07:10 +03:00
tefusion f1c19e058c Fix GraphEdit::arange_nodes causing a freeze
When a Graph contains cycles, e.g. 1->2->3->1 _layering would end
up in an infinite loop since IS_SUBSET would never be true.
By keeping check of the size of z, which contains the already layered
nodes, one can detect a freeze (since it should change after
current_layer increases. If it doesn't "u" didn't change and q and u
will  never be equal resulting  in a freeze/infinite while loop).
If a freeze happens warn the user and put all the nodes part of the
cycle (leftover in p) to the  first layer which will end up in them
being listed top to bottom.
2022-08-04 17:13:56 +02:00
Brian Semrau 103c0fa6e6 Add support for multiple virtual keyboard types 2022-08-04 10:41:33 -04:00
Ricardo Buring 4a59188898 Fixup array property inspector 2022-08-04 16:21:09 +02:00
Rémi Verschelde 9f408aef45
Merge pull request #57742 from im-deepfriedwater/im-deepfriedwater/sprite_frames_tests 2022-08-04 15:51:14 +02:00
Rémi Verschelde 57aac04480
Merge pull request #63906 from Faless/fix/4.x_warnings 2022-08-04 15:16:00 +02:00
Rémi Verschelde 4b3264af0f
Merge pull request #62709 from akien-mga/vector-binding-resize-zero 2022-08-04 15:10:21 +02:00
Jóhannes Gunnar Þorsteinsson ba35cff303 Independent spinbox arrow step precision
Rebased by EIREXE

This work has been kindly sponsored by IMVU & EIRTeam.
2022-08-04 14:48:46 +02:00
jtorre39 667faa68e9 Add unit tests for all public methods in the SpriteFrames class 2022-08-04 14:27:14 +02:00
Rémi Verschelde 426240f18a
Merge pull request #50907 from codepatzer/quaternion_ut 2022-08-04 14:26:46 +02:00
Fabio Alessandrelli 6f02183f8c [Core] Use std type traits to check operations triviality. 2022-08-04 14:05:17 +02:00
Rémi Verschelde 29afda3fd5
Merge pull request #60736 from StrawbDev/audio-stream-sample-unit-test 2022-08-04 13:56:53 +02:00
codepatzer d0cb0ff248 Add tests file for Quaternion unit tests, with initial UTs
- Test constructors and quaternion product.
- Add test case for Axis-Angle construction about Y-axis.
- Add test case for xform of i-, j-, & k-unit vectors.
- Add test case for construction from Basis.
- Add test case for xform of arbitrary vector.
- Add stress test case: many Quaternions xform many vectors.
- Make comments consistent with style guide.
2022-08-04 13:56:04 +02:00
Rémi Verschelde c717d5c64b Arrays: Zero new items of trivial types on resize() (bindings only)
This is not enabled by default in the core version for performance reasons,
as Vector/CowData are used in critical code paths where not zero'ing memory
which is going to be set later on can be important.

But for bindings / the scripting API, we make zero the new items by default
(which already happened for built types like Vector3, etc., but not for
trivial types like int, float).

Fixes #43033.

Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
2022-08-04 13:35:37 +02:00
Rémi Verschelde 20e4b90fe9
Merge pull request #59193 from UltraTimon/inputeventkey-tests 2022-08-04 13:29:49 +02:00
StrawbDev 3c252d5c6d Add test cases for AudioStreamWAV 2022-08-04 13:24:33 +02:00
Fabio Alessandrelli 55845bac26 Fix some array size function definition mismatch. 2022-08-04 13:06:17 +02:00
Timon Bestebreur 997f18f686 Add Unit Tests for InputEventKey 2022-08-04 12:59:13 +02:00
Rémi Verschelde 255e0770c4
Merge pull request #54325 from skimmedsquare/test-add-rid 2022-08-04 12:51:53 +02:00
Rémi Verschelde 35da120948
Merge pull request #58712 from UltraTimon/shortcut-tests 2022-08-04 12:51:08 +02:00
Timon Bestebreur 92b392e3db Add unit tests for Shortcut
Next to that, add entry for the test file in test_main.cpp.

These test cases test the basic functionality of the shortcut module.
2022-08-04 12:18:36 +02:00
Sean Kim 4706b975b6 Add unit tests for RID class. 2022-08-04 12:05:25 +02:00
Rémi Verschelde 40eafcfab4
Merge pull request #49947 from Calinou/standardmaterial3d-tweak-default-height-properties 2022-08-04 11:31:32 +02:00
Rémi Verschelde ea98d284d9
Merge pull request #63900 from bruvzg/macos_keep_on 2022-08-04 11:11:19 +02:00
Rémi Verschelde f545ab8eab
Merge pull request #63561 from asmaloney/convert-python-type-hints
Convert Python type hints in tools/make_rst.py to be PEP 484/526-compatible
2022-08-04 10:23:43 +02:00
Hugo Locurcio c6cca43419
Tweak StandardMaterial3D's default height properties
- Set the default height scale to 5.0 and multiply it by 0.01 in the shader.
- Document heightmap properties in BaseMaterial3D class reference.
2022-08-04 09:57:55 +02:00
bruvzg 2f9be29c73
Implement `screen_set_keep_on` for macOS 2022-08-04 10:38:26 +03:00
Rémi Verschelde cf46ef42a9
Merge pull request #62230 from Calinou/sdfgi-cell-size-remove-linked-properties
Don't store the values of linked SDFGI properties in Environment
2022-08-04 09:22:04 +02:00
Rémi Verschelde 3085d0f03c
Merge pull request #62572 from Calinou/editor-node-warnings-multiple-icons
Distinguish multiple node configuration warnings in the scene tree dock
2022-08-04 09:20:48 +02:00
Rémi Verschelde e2c63cf58b
Merge pull request #63884 from RedMser/resourceuid-docs
Add ResourceUID documentation
2022-08-04 09:19:34 +02:00
Rémi Verschelde fdceece7f8
Merge pull request #63899 from bruvzg/hb_510
HarfBuzz: Update to version 5.1.0, use new FLAG_SAFE_TO_INSERT_TATWEEL flag to improve justification.
2022-08-04 09:12:05 +02:00
Rémi Verschelde a1d4cf6898
Merge pull request #63894 from fire-forge/add-metadata-button
Add spacing above the "Add Metadata" button
2022-08-04 09:06:18 +02:00
bruvzg 2980c0d60c
HarfBuzz: Update to version 5.1.0, use new FLAG_SAFE_TO_INSERT_TATWEEL flag to improve justification. 2022-08-04 09:10:16 +03:00
Rémi Verschelde 79ff8e8ea1
Merge pull request #63890 from Calinou/camera3d-size-allow-precise-adjustments
Allow more precise adjustments of orthogonal/frustum size in Camera3D
2022-08-04 07:38:05 +02:00