Commit graph

7169 commits

Author SHA1 Message Date
Rémi Verschelde ef090ee6ea
Merge pull request #68874 from TokageItLab/fix-unique-path-keying
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28 14:49:34 +01:00
Rémi Verschelde 12f0660518
Merge pull request #68992 from TokageItLab/animtree-trackend-process
Refactor process of AnimationTree for end of animation
2022-11-28 14:49:19 +01:00
Rémi Verschelde bb9cd4063e
Merge pull request #69199 from TokageItLab/fix-and-refactor-root-motion
Fix broken root motion scale & Refactor API & Add sample codes in documentation
2022-11-28 14:49:04 +01:00
Rémi Verschelde 4a459a8c52
Merge pull request #69138 from Calinou/doc-light2d
Document the Light2D, PointLight2D and DirectionalLight2D classes
2022-11-28 08:46:36 +01:00
Rémi Verschelde 2fadc1299d
Merge pull request #67871 from Calinou/editor-theme-add-oled-preset
Add Black (OLED) editor theme preset
2022-11-28 08:46:12 +01:00
Rémi Verschelde 5eeb6e5906
Merge pull request #68532 from Calinou/cmdline-user-args-add-alternative-separator
Allow `++` as an alternative separator to `--` for user CLI arguments
2022-11-28 08:40:14 +01:00
Rémi Verschelde f4faa507d4
Merge pull request #68836 from Calinou/projectsettings-vrs-texture-allow-more-formats
Allow all lossless image formats to be used for VRS texture project setting
2022-11-28 08:38:08 +01:00
Rémi Verschelde 794adbe996
Merge pull request #69178 from aaronfranke/mesh-shape
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-28 08:05:50 +01:00
Yuri Rubinsky 5934eef44c Changed RenderingDevice::TextureUsageBits type to enum flags 2022-11-26 13:08:07 +03:00
Silc Renew 09adf5f20e Fix broken root motion scale and refactor API 2022-11-26 17:26:10 +09:00
Aaron Franke 93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape 2022-11-25 11:43:11 -06:00
Micky 67cdac6db8 Remove Array.find_last() 2022-11-25 18:34:50 +01:00
Haoyu Qiu 06a0b26c9e Fix inspector not showing name for LabelSettings.font 2022-11-25 12:48:37 +08:00
Hugo Locurcio ca44deae9d
Document the Light2D, PointLight2D and DirectionalLight2D classes 2022-11-24 23:08:46 +01:00
Rémi Verschelde d7e3fce995
Merge pull request #68566 from Mickeon/node-print-orphans-static
Make `Node.print_orphan_nodes()` static
2022-11-24 18:55:30 +01:00
Rémi Verschelde 4a8b725bc9
Merge pull request #68386 from MewPurPur/snappedi-snappedf
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24 18:54:49 +01:00
Rémi Verschelde 5e2bb98eee
Merge pull request #68806 from MewPurPur/printraw-warn-better-in-docs
Make it clearer that printraw only prints to terminal
2022-11-24 18:54:42 +01:00
VolTer a18afb9a56 Make it clearer that printraw only prints to terminal 2022-11-24 18:08:02 +01:00
Rémi Verschelde f6f8a48459
Merge pull request #69107 from Mickeon/oops
Fix warning in Signal Documentation
2022-11-24 13:24:47 +01:00
Rémi Verschelde 9d9d8a7c90
Merge pull request #69089 from raulsntos/dotnet/docs-object
Fix C# documentation for Godot.Object
2022-11-24 13:24:37 +01:00
Micky c868c9fc41 Fix warning in Signal Documentation 2022-11-24 11:34:32 +01:00
Rémi Verschelde f16c5b564b
Merge pull request #69043 from xiongyaohua/path3d_bake_refactor_fix
`Curve3D` bake refactor continue
2022-11-24 10:51:07 +01:00
Rémi Verschelde f319123af9
Merge pull request #69037 from M-O-Marmalade/distortion-fixes
AudioEffectDistortion docs & inspector edits
2022-11-24 10:47:27 +01:00
Rémi Verschelde c639efcbc4
Merge pull request #69086 from Calinou/doc-physicalskymaterial
Document PhysicalSkyMaterial's `energy_multiplier` property
2022-11-24 10:47:21 +01:00
Rémi Verschelde 92f1058311
Merge pull request #69060 from rburing/exclude_typedarray
Update remaining physics `exclude` parameters to use `TypedArray`
2022-11-24 10:40:25 +01:00
Raul Santos e27f127a74
Fix C# documentation for Godot.Object
- Add and fix a few C# examples
- Add tips about avoiding allocating StringNames
2022-11-24 04:09:14 +01:00
Yaohua Xiong f9fa182abc Refactor Curve3D::_bake() method
The main change is to caculate tangent directly from bezier curve, without going
through discretized polyline, avoiding pitfalls of discretization.

Other changes are:
1. Add an bezier_derivative() method for Vector3, Vector2, and Math;
2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively;
3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-24 10:52:06 +08:00
Hugo Locurcio bd457348d0
Document PhysicalSkyMaterial's energy_multiplier property
This makes the PhysicalSkyMaterial class 100% documented.
2022-11-24 01:38:25 +01:00
Max Hilbrunner f05a55ef95
Merge pull request #68217 from Mickeon/doc-stringmngffh
Add missing String & StringName operator descriptions
2022-11-23 21:28:17 +01:00
Max Hilbrunner abdbd45ef9
Merge pull request #68262 from Mickeon/doc-peeves-callcallcallcallable
Tweak Callable's documentation
2022-11-23 21:26:29 +01:00
Ricardo Buring 4453d63bb0 Update remaining physics exclude parameters to use TypedArray
Also update the documentation to refer to the get_rid() method.
2022-11-23 19:39:04 +01:00
Micky c164f1835c Add missing String & StringName operator descriptions 2022-11-23 18:56:39 +01:00
Yuri Sizov 5923df9234
Merge pull request #67880 from Mickeon/doc-peeves-objection
Overhaul Object's Documentation
2022-11-23 20:45:26 +03:00
Micky 311b29c627 Tweak Callable's documentation
- Clarify that Callable is a Variant type, not an Object.
- Add lambda function example
- Update outdated description of `is_custom` and `is_valid`-
2022-11-23 18:39:52 +01:00
Micky bee1b52e30 Overhaul Object's Documentation 2022-11-23 18:13:18 +01:00
Rémi Verschelde dc671bdc0f
Merge pull request #68297 from Mickeon/doc-virtue-signaling
Tweak Signal Documentation
2022-11-23 17:21:31 +01:00
Micky 4534de065f Tweak Signal Documentation
- Add missing Operator and leading description
- Avoid calling "Signal" an object or class.
- Add more details to `connect` and `disconnect`
2022-11-23 12:02:14 +01:00
Rémi Verschelde 3791872c65
Merge pull request #67726 from HenryClones/integer-lerping-errors
Add case for Variant::INT in lerp variant switch
2022-11-23 08:33:53 +01:00
Xpertice 3e36cc7c73 Add case for Variant::INT in lerp variant switch 2022-11-22 22:37:22 -05:00
M-O-Marmalade 8ea0d727f0 AudioEffectDistorion docs & inspector edits
Fixing a few typos in the AudioEffectDistortion docs, making a few
things clearer, etc

Also adding the decibel (dB) suffix to the pre/post gain properties in
the inspector.
2022-11-22 17:38:13 -08:00
Rémi Verschelde 7f8ecffa56
Merge pull request #69017 from raulsntos/physics3d-array
Change exclude property in `PhysicsRayQueryParameters3D` to TypedArray
2022-11-22 21:48:40 +01:00
Rémi Verschelde ad20007970
Merge pull request #68948 from KoBeWi/eeny_meeny_miny_moe
Fill random docs
2022-11-22 21:37:05 +01:00
Rémi Verschelde 95a4906bb4
Merge pull request #65378 from Mickeon/fix-audio-stream-2d-non-immediate-playing
Fix AudioStreamPlayer2D and 3D's `playing` not updating right away
2022-11-22 21:29:56 +01:00
Clay John 1285e0e21c
Merge pull request #69002 from akien-mga/gdscript-disable-warning-RETURN_VALUE_DISCARDED
GDScript: Don't warn about RETURN_VALUE_DISCARDED by default
2022-11-22 10:22:20 -08:00
Yuri Sizov 0aba659891
Merge pull request #68848 from Piralein/fix-class-ref
Fix warnings in class ref
2022-11-22 20:27:15 +03:00
kobewi a23f6d0aa6 Fill random docs 2022-11-22 17:59:45 +01:00
Micky b6db09968d Fix AudioStreamPlayer2D and 3D's playing not updating right away 2022-11-22 15:46:28 +01:00
Rémi Verschelde 4abbb2d684
GDScript: Don't warn about RETURN_VALUE_DISCARDED by default
This happens too often with normal usage of the API.
The warning can still be useful to find actual bugs where discarding the return
value wasn't intentional, but this should stay enabled manually, at least until
we either improve the API to remove false positives, or improve the warning (e.g.
to only warn about unused return value on const functions).
2022-11-22 15:01:24 +01:00
Rémi Verschelde 876ea3e143
Merge pull request #68579 from jtnicholl/float_doc
Document that `Vector#` types are 32-bit by default and `Vector#i` are always 32-bit
2022-11-22 12:36:35 +01:00
Silc Renew c1ec99f0e1 Refactor process of AnimationTree for end of animation 2022-11-22 18:12:45 +09:00