Commit graph

45697 commits

Author SHA1 Message Date
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
Rémi Verschelde
036258b1e9
Merge pull request #61918 from KoBeWi/static_body
Add static methods to create RayQueryParameters
2022-08-04 07:37:32 +02:00
Rémi Verschelde
0418e81b5a
Merge pull request #63848 from aaronfranke/cs-from-scale
Replace Vector3.ToDiagonalMatrix with Basis.FromScale in C#
2022-08-04 07:36:32 +02:00
Rémi Verschelde
91bf6762e8
Merge pull request #58809 from Calinou/vsync-fallback-improve-error-message
Improve error message when the requested V-Sync mode cannot be used
2022-08-04 07:35:37 +02:00
Rémi Verschelde
a35f8b0e62
Merge pull request #62254 from Calinou/editor-icons-add-audio-stream
Add editor icons for all AudioStream resources
2022-08-04 07:32:41 +02:00
Rindbee
7869ea236e Fix Hue slider incorrectly rotated 90 degrees in ColorPicker 2022-08-04 11:30:03 +08:00
Hugo Locurcio
d86bb3819e
Add editor icons for all AudioStream resources 2022-08-04 02:29:15 +02:00
Hugo Locurcio
1f6e081db7
Don't store the values of linked SDFGI properties in Environment 2022-08-04 02:24:28 +02:00
Hugo Locurcio
393cf40922
Distinguish multiple node configuration warnings in the scene tree dock
A number of dots is present next to the node configuration icon
warning when there is more than 1 warning.

Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-08-04 02:20:11 +02:00
Hugo Locurcio
d2271eb300
Improve error message when the requested V-Sync mode cannot be used 2022-08-04 00:15:09 +02:00
Hugo Locurcio
e1ae87cf3d
Allow more precise adjustments of orthogonal/frustum size in Camera3D 2022-08-03 23:51:08 +02:00
Rafał Mikrut
3d3fce0d3c Various converter enhancements and bugfixes 2022-08-03 22:28:51 +02:00
Hristo Stamenov
0e1f7e9f89 Removed faulty function update after get_property_list.
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-03 21:45:16 +03:00
RedMser
ae2ebfbc49 Add ResourceUID documentation 2022-08-03 19:59:11 +02:00
Andy Maloney
a1428ca3c8 Convert Python type hints in tools/make_rst.py
Since Python 3.5+ is required, we can use proper type hints based on PEP 484. Because we are working on contributor tooling we can assume 3.6+ and use PEP 526 for variable declarations as well.
2022-08-03 13:06:50 -04:00
Rémi Verschelde
ea4b8de2b4
Merge pull request #63877 from YeldhamDev/check_theme_fix
Fix text position when hovering pressed `CheckButton/Box` elements in the editor
2022-08-03 18:35:09 +02:00
Rémi Verschelde
259d7781ea
Merge pull request #63875 from hakro/fix-segment-intersects-circle
Bring back Geometry2D.segment_intersects_circle
2022-08-03 18:34:37 +02:00
Aaron Franke
19a4d75b44
Replace Vector3.ToDiagonalMatrix with Basis.FromScale in C# 2022-08-03 10:24:22 -05:00
Hakim
500766329f Bring back Geometry2D.segment_intersects_circle 2022-08-03 17:05:21 +02:00
Rémi Verschelde
2d372d9e10
Merge pull request #56442 from PucklaMotzer09/remap_files_moved 2022-08-03 16:57:26 +02:00
Rémi Verschelde
38cf9b4b8e
Merge pull request #63867 from Calinou/editor-rename-visual-shader-setting 2022-08-03 16:57:08 +02:00
Michael Alexsander
1bd9efae36 Fix text position when hovering pressed CheckButton/Box elements in the editor 2022-08-03 11:08:30 -03:00
Rémi Verschelde
3ea9a7daea
Merge pull request #63791 from V-Sekai/mend-ok-hsl-washout 2022-08-03 16:06:53 +02:00
Rémi Verschelde
e38118c960
Merge pull request #59303 from KoBeWi/check_out_my_very_long_button 2022-08-03 15:06:54 +02:00