Silc Renew
b31115cdc1
Add collision weight to PhysicsBody for penetrations must be avoided
...
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2022-08-18 08:10:31 +09:00
Yuri Sizov
980f5f32f4
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-18 00:03:53 +03:00
Hugo Locurcio
7dbacdc2f7
Document that Object metadata starting with `_` is editor-only
2022-08-17 17:28:50 +02:00
Yuri Sizov
bedaa2b535
Fix a typo in navigation server documentation
2022-08-17 17:05:46 +03:00
Max Hilbrunner
dbd1524362
Merge pull request #64344 from asmaloney/doc-animation-node-virtuals
...
[doc] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
2022-08-17 15:17:21 +02:00
Max Hilbrunner
736e3b7b71
Merge pull request #64389 from Calinou/doc-scenetree-debug-no-runtime-change
...
Document run-time SceneTree debug property changes not working correctly
2022-08-17 14:53:53 +02:00
Max Hilbrunner
deb3f8eb3b
Merge pull request #64407 from aaronfranke/fix-camera-size-doc
...
Fix incorrect Camera3D size documentation
2022-08-17 14:51:07 +02:00
Max Hilbrunner
c5813de038
Merge pull request #64515 from KoBeWi/PopupPanelContainer
...
Mention the stretching behavior of PopupPanel
2022-08-17 14:47:02 +02:00
Max Hilbrunner
5347732e5f
Merge pull request #64230 from YuriSizov/makerst-more-robust-tag-parser
...
Improve the `make_rst.py` parser for BBCode tags
2022-08-17 14:43:58 +02:00
kobewi
a2b088b1c1
Mention the stretching behavior of PopupPanel
2022-08-17 02:29:19 +02:00
kobewi
7305390fdc
Add a method to get TileData from a cell
2022-08-16 15:04:39 +02:00
kobewi
5947f688fb
Make JSON methods static
2022-08-16 14:29:38 +02:00
Yuri Sizov
fff0e7b8e2
Clarify the Line2D, Curve2D/3D documentation and fix parameter names
2022-08-15 21:38:14 +03:00
Hugo Locurcio
0f95db6786
Hide properties that have no effect in Label3D inspector
...
- Use the disabled GI mode as Label3D can't contribute to GI in any way.
- Improve Label3D class documentation.
2022-08-15 18:41:32 +02:00
Yuri Sizov
d953d9590b
Improve the `make_rst.py` parser for BBCode tags
2022-08-15 17:45:10 +03:00
Andy Maloney
f52128e005
[doc] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
...
Fixes #62379
2022-08-15 09:47:04 -04:00
Yuri Sizov
147fa69b2d
Merge pull request #64333 from asmaloney/doc-params-8
...
[doc] Use "param" instead of "code" to refer to parameters (8)
2022-08-15 16:32:44 +03:00
Yuri Sizov
373439bc4b
Merge pull request #64331 from asmaloney/doc-params-7
...
[doc] Use "param" instead of "code" to refer to parameters (7)
2022-08-15 16:24:35 +03:00
Yuri Sizov
dc661cc9ef
Merge pull request #64328 from asmaloney/doc-params-6
...
[doc] Use "param" instead of "code" to refer to parameters (6)
2022-08-15 16:17:52 +03:00
Andy Maloney
ef942718a0
[doc] Use "param" instead of "code" to refer to parameters (5)
2022-08-15 15:49:48 +03:00
Aaron Franke
40f37e697c
Fix incorrect Camera3D size documentation
2022-08-14 15:57:19 -05:00
Hugo Locurcio
39ba2b335a
Document run-time SceneTree debug property changes not working correctly
2022-08-14 15:06:29 +02:00
Hugo Locurcio
f6417a4ead
Hide Dummy text driver in the Project Settings as it makes editor unusable
...
This also improves documentation related to driver project settings.
2022-08-13 19:05:46 +02:00
Micky
fe86c5cba5
Rename CanvasItem.`follow_viewport_enable` to end with "d"
...
For consistency with the rest of the exposed booleans in Godot
2022-08-13 13:00:45 +02:00
Micky
55dff09e93
Rename EditorPlugin.`*_PROPERTY_EDITOR_*` to `*_INSPECTOR_*`
...
The name "Inspector" has been adopted for years and is thus more familiar.
2022-08-13 12:59:03 +02:00
Micky
b62d06fbed
Rename Navigation's `neighbor_dist` to `neightbor_distance`
...
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters)
NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()`
Also changes their parameters' names.
Doesn't affect "Agent.neighborDist_" in Agent.h
2022-08-13 12:40:55 +02:00
Micky
953c78eaff
Improve documentation of CanvasItem's draw logic
2022-08-13 01:46:19 +02:00
Andy Maloney
9b345e793a
[doc] Use "param" instead of "code" to refer to parameters (8)
2022-08-12 14:00:25 -04:00
Andy Maloney
d32803fdd6
[doc] Use "param" instead of "code" to refer to parameters (7)
2022-08-12 13:19:48 -04:00
Andy Maloney
ea2192b99e
[doc] Use "param" instead of "code" to refer to parameters (6)
2022-08-12 12:07:53 -04:00
Yuri Sizov
29492f9084
Merge pull request #64285 from asmaloney/doc-params-4
...
[doc] Use "param" instead of "code" to refer to parameters (4)
2022-08-12 15:59:11 +03:00
Yuri Sizov
65a1d86c4f
Merge pull request #64196 from asmaloney/doc-params-3
...
[doc] Use "param" instead of "code" to refer to parameters #3
2022-08-12 15:29:58 +03:00
daylilyzeleen
64e33d9ed1
fixed GraphEdit signal argument type
2022-08-12 20:18:36 +08:00
Rindbee
4a3a15c304
Fix case where `h_separation` might not work in `Button`
...
This patch mainly solves two things:
1. The typo of `h_separation`;
2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
2022-08-12 19:57:08 +08:00
Hugo Locurcio
ff9118d103
Merge pull request #64225 from Calinou/3d-scaling-bilinear-use-negative-mipmap-bias
2022-08-11 21:41:37 +02:00
Andy Maloney
1df86ecea5
[doc] Use "param" instead of "code" to refer to parameters (4)
2022-08-11 13:52:19 -04:00
Yuri Sizov
5aacac5853
Merge pull request #64164 from asmaloney/doc-params2
...
[doc] Use "param" instead of "code" to refer to parameters #2
2022-08-11 16:51:13 +03:00
Yuri Sizov
f3e849edf4
Merge pull request #64267 from bruvzg/le_secret
...
Change `LineEdit` default secret character from "*" to "•".
2022-08-11 16:28:22 +03:00
Andy Maloney
2d54c36c3c
[doc] Use "param" instead of "code" to refer to parameters
2022-08-11 16:13:29 +03:00
kobewi
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
bruvzg
93b39fad2f
Change LineEdit secret character from "*" to "•".
2022-08-11 13:55:11 +03:00
bruvzg
8384815365
Add line breaking support to the TextMesh.
2022-08-10 23:53:48 +03:00
Hugo Locurcio
b06890c2b7
Use negative mipmap LOD bias for sub-native bilinear 3D scale
...
This provides a benefit similar to FSR 1.0 (greater texture sharpness
at the cost of some graininess at sub-native resolution scales), but
without the added performance cost of FSR 1.0.
2022-08-10 17:16:02 +02:00
Rémi Verschelde
659c1bc72d
Merge pull request #64208 from timothyqiu/packed-clear
2022-08-10 14:08:56 +02:00
Rémi Verschelde
9e3b2561a4
Merge pull request #64192 from danboo/danboo-mention-audiolistener2d
2022-08-10 12:38:33 +02:00
Rémi Verschelde
edf07ee7a6
Merge pull request #64160 from Calinou/tweak-label3d-defaults
2022-08-10 11:48:39 +02:00
Haoyu Qiu
9c4ad8191b
Expose clear method for packed arrays
2022-08-10 17:12:20 +08:00
Dan Boorstein
a7ebc6fb18
Add note about using AudioListener2D
...
There was no mention of the effect of AudioListener2D in this documentation, making it unclear if there was a relationship. The new text is copied and modified from the AudioStreamPlayer3D documentation.
Use 'an' as article before 'AudioListener3D'
2022-08-09 21:58:42 -08:00
Andy Maloney
1f72f48361
[doc] Use "param" instead of "code" to refer to parameters #3
2022-08-09 22:00:19 -04:00
Silc Renew
7331295523
add get_depth() to KinematicCollision3D as same of 2D
2022-08-10 10:33:58 +09:00
Rémi Verschelde
317ced8204
Merge pull request #64108 from antonWetzel/csharp-update
2022-08-10 00:07:32 +02:00
Rémi Verschelde
d11117d9d8
Merge pull request #64134 from asmaloney/doc-params
...
[doc] Use "param" instead of "code" to refer to parameters
2022-08-09 22:55:26 +02:00
Hugo Locurcio
a13d8578e0
Tweak Label3D defaults for better readability
...
- Increase font size and decrease pixel size.
- The font is rendered at the same physical size, but is more detailed,
which is visible when the camera is up close.
- Add an outline to improve readability on mixed-color backgrounds.
- The outline is fairly thick to ensure it doesn't get too grainy
at a distance (without requiring MSDF or mipmaps on the default
project font).
2022-08-09 16:26:28 +02:00
Andy Maloney
5361585832
[doc] Use "param" instead of "code" to refer to parameters
...
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-09 10:09:07 -04:00
bruvzg
bf1cc6326a
Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files.
2022-08-09 14:21:09 +03:00
Marlin Watts-Woods
f8f665b03e
Added to Sprite3D Documentation
2022-08-08 21:08:26 -07:00
antonWetzel
40a1d6d100
vector4 distance_squared_to and update csharp
2022-08-09 01:59:17 +02:00
Hugo Locurcio
5acf30b538
Improve InstancePlaceholder documentation
2022-08-08 23:36:12 +02:00
Rémi Verschelde
682dbe5d00
Merge pull request #64008 from YuriSizov/doctool-add-param-reference-syntax
2022-08-08 22:50:35 +02:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
Yuri Sizov
35c1eae8d7
Add support for [param foo] syntax in valid documentation contexts
2022-08-08 22:18:38 +03:00
Hugo Locurcio
27a072c884
Print expected `os.arch` tuple for current platform in GDExtension error
...
This also adds `Engine.get_architecture_name()` to get the name of the
CPU architecture the Godot binary was built for.
2022-08-08 19:30:34 +02:00
Rémi Verschelde
862dedcefe
Merge pull request #64076 from raulsntos/doc-fixes
...
Add `@GDScript.type_exists` documentation, Fix typo in weakref documentation
2022-08-08 19:15:25 +02:00
Yuri Sizov
beceba85da
Add checks for empty/unnamed arguments to make_rst.py
2022-08-08 16:36:01 +03:00
Rémi Verschelde
c8cdc10902
Merge pull request #62861 from samdze/image-size-vector2i
...
Make Image.get_size() return a Vector2i instead of a Vector2
2022-08-08 12:55:07 +02:00
Rémi Verschelde
5df8eae862
Merge pull request #64014 from RedMser/keep-screen-on-singledef
2022-08-08 12:04:04 +02:00
Rémi Verschelde
a8a4982de2
Merge pull request #63925 from YeldhamDev/window_fixes
2022-08-08 10:34:08 +02:00
Rémi Verschelde
bc81c02fe1
Merge pull request #62571 from Calinou/gpuparticlescollisionsdf3d-add-bake-mask
2022-08-08 10:18:11 +02:00
Cristiano Simao
1f6709d6e3
doc: Clarify `MultiMesh.set_instance_color` re: white albedo color
...
If the user does not set the albedo color to pure white, then the
multiplication with a value different from 1 will produce modulated colors.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-08 09:06:51 +02:00
Raul Santos
87a1bca37b
Fix typo in weakref documentation
2022-08-07 20:35:56 +02:00
Rémi Verschelde
f754dd20be
Merge pull request #62454 from Geometror/reflect-refract-vec2-vec4
...
Allow for vec2/vec4 to be used in reflect and refract
2022-08-07 19:16:05 +02:00
Hendrik Brucker
b8d5f4bdd5
Allow vec2 and vec4 for reflect and refract
2022-08-07 18:03:16 +02:00
Rémi Verschelde
446fdc5b71
Merge pull request #64027 from Geometror/add-vector4-tests
2022-08-07 16:07:36 +02:00
Hendrik Brucker
36061c5dca
Vector4/Vector4i: Add missing methods, tests and fix change of sign operator
2022-08-07 12:25:05 +02:00
Hugo Locurcio
baaa7503c7
Add a shadow opacity property to Light3D
...
This can be used to make shadows translucent for a specific light.
The light distance fade system also uses this to smoothly fade the shadow
when the light fade transition distance is greater than 0.
2022-08-07 11:06:32 +02:00
Hugo Locurcio
9709205112
Fix broken rST reference in HTTPClient documentation
...
References in reStructuredText cannot be located within bold/italic
text. This caused the online class reference to have the `:ref:`
text written as-is.
2022-08-07 07:21:29 +02:00
Rémi Verschelde
e6e13c8251
Merge pull request #63361 from KoBeWi/floorf_lol
2022-08-06 22:25:27 +02:00
RedMser
c939f336d6
Only define `keep_screen_on` project setting once
2022-08-06 22:10:24 +02:00
kobewi
ae3d83b17b
Restore old lerp() behavior and add lerpf()
2022-08-06 21:15:37 +02:00
Rémi Verschelde
21f6916ffc
Merge pull request #60843 from hoontee/CSG3
...
Add `TorusMesh`
2022-08-06 21:01:51 +02:00
Rémi Verschelde
87b7f51194
Merge pull request #63977 from TomBCodes/master
2022-08-06 13:20:43 +02:00
Hugo Locurcio
1a5eac6b72
Document editor settings in the class reference
2022-08-06 04:15:51 +02:00
Rémi Verschelde
dc04050cfd
Merge pull request #63698 from PrecisionRender/plane-operator-asterisk
...
Add operator `*` to `Plane`
2022-08-06 00:38:59 +02:00
Rémi Verschelde
99aa97949f
Merge pull request #63958 from hakro/fix-control-animation-keys
...
Remove rect_ prefix from control properties when keyframing
2022-08-06 00:17:37 +02:00
Tom
39233c299c
updated the String class with info about the 'allow_empty' optional argument
2022-08-05 23:10:16 +01:00
Hakim
60677c4e95
Remove rect_ prefix from control properties when keyframing
2022-08-05 16:04:51 +02:00
Clay John
8f05263bd5
Merge pull request #63951 from reduz/framebuffer-cache
...
Add a Framebuffer cache
2022-08-05 09:45:37 -04:00
Rémi Verschelde
b2595194d1
Merge pull request #63923 from asmaloney/doc-annotation-return-type
2022-08-05 15:28:32 +02:00
Juan Linietsky
f999f52f0a
Add a Framebuffer cache
...
Adds a FramebufferCache singletion that operates the same way as UniformSetCache.
Allows creating framebuffers on the fly (and keep them cached if re-requested) such as:
```C++
RID fb = FramebufferCache::get_singleton()->get_cache(texture1,texture2);
```
2022-08-05 13:37:29 +02:00
Hugo Locurcio
bd19c9a95c
Improve `range_lerp()` and related methods documentation
2022-08-05 12:23:23 +02:00
Michael Alexsander
2b86c458bf
Fix some bugs with `Window`s
2022-08-05 02:25:15 -03:00
Rémi Verschelde
1afc83d0a7
i18n: Sync classref translations with Weblate
...
(cherry picked from commit b671ea88fb
)
2022-08-05 03:32:23 +02:00
Rémi Verschelde
25915cdd0e
Merge pull request #59844 from Calinou/rename-shader-param-methods
2022-08-05 02:52:06 +02:00
Andy Maloney
2748220133
[make_rst] Remove (fake) return types on annotations
...
Based on discussion in #63561 , Yuri mentioned that the return types are not necessary here, so remove the fake "void" return types on annotations.
2022-08-04 20:10:32 -04:00
Hugo Locurcio
db22b7ded0
Rename shader parameter uniform setter/getter methods for consistency
...
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
2022-08-04 23:17:06 +02:00
Rémi Verschelde
f6431db9a5
Merge pull request #63852 from fire-forge/default-colors
2022-08-04 22:03:10 +02:00
hoontee
21b9b117be
Add `TorusMesh`
2022-08-04 13:45:54 -05: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
84acfd69d7
Merge pull request #54792 from EIRTeam/independent_arrows
2022-08-04 18:09:29 +02:00
Brian Semrau
103c0fa6e6
Add support for multiple virtual keyboard types
2022-08-04 10:41:33 -04: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
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
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
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
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
036258b1e9
Merge pull request #61918 from KoBeWi/static_body
...
Add static methods to create RayQueryParameters
2022-08-04 07:37:32 +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
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
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
Hakim
500766329f
Bring back Geometry2D.segment_intersects_circle
2022-08-03 17:05:21 +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
Rémi Verschelde
e38118c960
Merge pull request #59303 from KoBeWi/check_out_my_very_long_button
2022-08-03 15:06:54 +02:00
Hugo Locurcio
ecefb5505a
Rename visual shader editor setting category for proper capitalization
2022-08-03 11:38:29 +02:00
Rémi Verschelde
2c0c76c415
Merge pull request #61851 from Calinou/particles-default-global-coordinates
2022-08-03 11:38:23 +02:00
Rémi Verschelde
b27f06550c
Merge pull request #51531 from Calinou/decal-projector-add-nearest-mipmap-aniso
2022-08-03 11:37:28 +02:00
Rémi Verschelde
80ddee06e6
Merge pull request #56451 from Calinou/rootmotionview-no-replace-with-node
...
Don't replace RootMotionView with Node in a running project
2022-08-03 08:03:09 +02:00
Rémi Verschelde
f06db79734
Merge pull request #63857 from Calinou/doc-camera3d-frustum-offset-projection
...
Document Camera3D's frustum offset property requiring Frustum projection
2022-08-03 07:57:10 +02:00
Rémi Verschelde
a49cf9fe90
Merge pull request #55923 from bluenote10/feature/consistent_transform_operations
...
Fix consistency of translated/scaled/rotated in Transform2D and Transform3D
2022-08-03 07:50:01 +02:00
Hugo Locurcio
d041ca6c02
Add Nearest Mipmap Anisotropic filter option to decals and projectors
...
This is consistent with the BaseMaterial3D filtering options.
It can be used for high-quality pixel art textures that remain sharp
when viewed at oblique angles, but prevents them from becoming grainy
thanks to mipmaps.
2022-08-03 03:49:15 +02:00
Hugo Locurcio
813bfe00f3
Don't replace RootMotionView with Node in a running project
...
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +02:00
Hugo Locurcio
c3720e2381
Document Camera3D's frustum offset property requiring Frustum projection
2022-08-03 02:46:12 +02:00
FireForge
fe2f62f128
Adjust 2 default theme colors in ItemList and Tree
...
- Change Tree's drop_position_color from orange to white.
- Change ItemList's guide_color to the same color as Tree's, which fits in with a dark theme better.
2022-08-02 17:48:11 -05:00
Fabian Keller
f242f9c738
Fix consistency of translated/scaled/rotated in Transform2D and Transform3D
2022-08-02 23:38:14 +02:00
kobewi
24d02dfb47
Add fit_to_longest_item to OptionButton
2022-08-02 23:37:43 +02:00
Hugo Locurcio
84076513b1
Use global coordinates for particles by default
...
Particles won't move or rotate anymore with the node (or its parents)
by default. This new default behavior is generally more suited
to most use cases. Local coordinates can still be enabled on a per-node basis.
This affects both 2D and 3D particles, and both CPU and GPU-based particles.
2022-08-02 23:25:02 +02:00
Rémi Verschelde
d93c3f03f2
Merge pull request #63803 from matjlars/weakref-null
...
adds null case to weakref docs
2022-08-02 22:00:04 +02:00
Matt
dc4e72a3fc
adds null case to weakref docs
2022-08-02 11:53:28 -05:00
FireForge
9db973a473
Rename ParticlesMaterial.turbulence_active to turbulence_enabled
2022-08-02 08:41:14 -05:00
bruvzg
4373a0bb86
[TextServer] Add ICU Unicode security and spoofing detection.
2022-08-02 15:37:49 +03:00
Raffaele Picca
fe2cc6150e
Added default values to particle turbulence.
2022-08-02 10:16:09 +02:00
Rémi Verschelde
b7346e5025
Merge pull request #53956 from bruvzg/icu_uax_31
2022-08-02 08:54:19 +02:00
bruvzg
5aa48b6ae5
[TextServer] Implement ICU/UAX 31 based `is_valid_identifier` function.
2022-08-02 08:30:20 +03:00
Rémi Verschelde
8cce479c01
Merge pull request #51672 from Calinou/shader-add-hint-transparent-texture
...
Add `hint_transparent` to use a transparent black placeholder texture
2022-08-02 07:15:59 +02:00
Hugo Locurcio
813f6a5d57
Add `hint_transparent` to use a transparent black placeholder texture
...
This can be used in shaders to avoid the need to supply a transparent
placeholder texture manually.
2022-08-01 23:38:06 +02:00
Rémi Verschelde
ada06f9862
Merge pull request #63007 from jtnicholl/animation_player_docs
2022-08-01 22:03:17 +02:00
Jonathan Nicholl
245fba26b0
Update classref documentation for AnimationPlayer
2022-08-01 12:46:03 -04:00
Rémi Verschelde
5ecd61a315
Merge pull request #54738 from Calinou/expose-os-restart-on-exit
2022-08-01 16:49:18 +02:00
Hugo Locurcio
1b713175b2
Expose the "restart on exit" OS functionality
...
This can be used to restart a project with specific command line arguments
applied. This can work in tandem with `OS.get_cmdline_args()` to restart
with the same command line arguments as used to originally run the project.
Example use cases:
- Restart to apply an user setting change that requires a restart to work.
- Restart with a Godot command line argument to change the video driver,
audio driver, etc.
2022-08-01 14:06:13 +02:00
bruvzg
ac801494a3
Change LabelSettings default values to match default theme.
2022-08-01 13:33:06 +03:00
Martin Norling
cab107d063
docs: Caveats of NavigationMesh.create_from_mesh
...
Adds a note explaining the requirements of the given [Mesh] when converting a [Mesh] to a [NavigationMesh] using `NavigationMesh.create_from_mesh`.
2022-08-01 09:46:58 +02:00
Rémi Verschelde
beb8fd5e8b
Merge pull request #55387 from RPicster/particles-turbulence
2022-08-01 09:38:54 +02:00
Rémi Verschelde
de53e91b85
Merge pull request #55276 from Calinou/volumetric-fog-tweak-default-gi-inject
...
Tweak default fog settings for better appearance
2022-08-01 07:55:53 +02:00
Rémi Verschelde
677f565ce8
Merge pull request #63587 from clayjohn/specular-occlusion
...
Treat specular less than 0.02 as occlusion
2022-08-01 07:54:57 +02:00
Rémi Verschelde
44f1e540f6
Merge pull request #63733 from akien-mga/file-get_as_text-skip-CR
...
File: Re-add support to skip CR (`\r`) in `File::get_as_text`
2022-08-01 07:54:20 +02:00
Hugo Locurcio
e35e79b802
Tweak default fog settings for better appearance
...
- Increase the default non-volumetric fog density to 0.01 to make
adjustments more visible.
- Use a less saturated non-volumetric fog color by default
(a mix of the sky and horizon colors of the new default
ProceduralSkyMaterial).
- Set Volumetric Fog Gi Inject to 1.0 by default. Injecting GI results
in more realistic appearance of volumetric fog, at a very low
performance cost.
2022-08-01 02:04:20 +02:00
Juan Linietsky
0dd65378e7
Add support for command-line user arguments.
...
Implements the standard Unix double dash (--) commandline argument:
* Arguments after a double dash (--) are ignored by Godot and stored for the user.
* User can access them via `OS.get_cmdline_user_args()`
Example:
`godot.exe scene_to_run.tscn --fullscreen -- --start-level 2`
2022-08-01 00:56:59 +02:00
clayjohn
0c65ed38a6
Treat specular less than 0.02 as occlusion
...
This is a very common hack used in almost all PBR renderers to allow removing specular contribution in dielectric materials
2022-07-31 15:45:21 -07:00
Rémi Verschelde
1418f97c70
File: Re-add support to skip CR (`\r`) in `File::get_as_text`
...
This was removed in #63481 , and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.
For performance this is done directly in `String::parse_utf8`.
Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.
Supersedes #63717 .
2022-08-01 00:40:35 +02:00
Rémi Verschelde
787bb0f269
Merge pull request #54732 from zedutch/fix-threaded-load-request-cachemode
2022-07-31 23:55:55 +02:00
Rémi Verschelde
790b63b27c
Merge pull request #51128 from HaSa1002/add-graphedit-is-ok-method-4
2022-07-31 23:55:19 +02:00
Rémi Verschelde
6c5330154e
Merge pull request #63429 from RandomShaper/indicate_overridden
2022-07-31 23:54:38 +02:00
Rémi Verschelde
e8d9191ff0
Merge pull request #56087 from zaevi/return_key_index
2022-07-31 23:53:19 +02:00
Hugo Locurcio
a0795b4347
Tweak VoxelGI defaults for better quality
...
Overall brightness is similar to the previous settings, but lighting
now fades off more naturally and reflections feature indirect lighting.
Performance is identical.
- Enable Use Two Bounces by default.
- Decrease Propagation to 0.5 to compensate for the second bounce.
2022-07-31 18:05:24 +02:00
Zae
2febf0ccdb
Make `Animation::track_insert_key` return key index
2022-07-31 17:38:49 +02:00
Johannes Witt
2fb69afde6
Add GraphEdit.is_node_hover_valid(...) method
...
This is a virtual method that can be used to add additional error
condition checks while the connection is still being dragged. If true is
returned, the connection is valid. If false is returned, the connection
is invalid and thus not possible (ie. it will not snap). The virtual
method is exposed with an underscore to scripts.
2022-07-31 15:35:26 +02:00
Robin Arys
1cfe3c3f8b
Expose load_threaded_request's cachemode to GDScript
2022-07-31 14:04:11 +02:00
PrecisionRender
2adb67c3c5
Add `operator*` to `Plane`
2022-07-30 17:48:55 -05:00
Hugo Locurcio
0e26fee3b7
Make Decal's `modulate` property affect emission color as well
...
This can be used to recolor special effects such as fake area fog
without having to create separate textures for each color.
- Improve the Decal class documentation.
2022-07-30 21:41:48 +02:00
Pedro J. Estébanez
4a127cb5fe
Improve usability of non-default values in the property inspector
...
- Provide a visual indication that a (sub)group contains non-default (revertable) values when it's collapsed.
- Add a new option to the inspector's tools menu for expanding only (sub)groups containing properties with non-default values.
2022-07-30 15:25:45 +02:00
Rémi Verschelde
b2429aab1f
Merge pull request #49288 from Calinou/doc-improve-collisionobject
...
Improve CollisionObject2D and CollisionObject3D pickable documentation
2022-07-30 11:59:16 +02:00
Rémi Verschelde
162186cfe8
Merge pull request #63651 from fabriceci/fix-typo-doc-character-body-3d
...
Fix typos in the CharacterBody3D doc file
2022-07-30 11:20:50 +02:00
Rémi Verschelde
1fca76a852
Merge pull request #63648 from snailrhymer/mesh-classref-fixes
...
Fix add_surface_from_arrays description in classref
2022-07-30 09:21:34 +02:00
Rémi Verschelde
9094262a6b
Merge pull request #48548 from Calinou/editor-help-add-editor-settings
...
Add support for documenting most editor settings in the class reference
2022-07-30 00:39:16 +02:00
SnailRhymer
a6229bf016
Fix add_surface_from_arrays description in classref
...
Fix add_surface_from_arrays description in ImporterMesh.xml and ArrayMesh.xml to correctly describe sub-array length requirements.
Also add missing comma in MeshInstance3D.xml, reword slightly.
2022-07-29 22:19:48 +01:00
Rémi Verschelde
15a02c49be
Merge pull request #61647 from KoBeWi/SaverResource
2022-07-29 22:30:51 +02:00
Rémi Verschelde
b7639c2995
Merge pull request #63638 from PrecisionRender/improve-shape-cast-docs
2022-07-29 22:29:10 +02:00
fabriceci
4af0a528a7
Fix typos in the CharacterBody3D doc file
2022-07-29 22:11:38 +02:00
Hugo Locurcio
63ce655e75
Add support for documenting most editor settings in the class reference
...
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-29 22:07:01 +02:00
PrecisionRender
3f546b7d7c
Improve `ShapeCast2D` and `ShapeCast3D` docs
2022-07-29 13:26:05 -05:00
kobewi
c3606cb5f3
Swap arguments of ResourceSaver.save()
2022-07-29 19:53:09 +02:00
Rémi Verschelde
6ba7dacf6b
Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methods
...
Expose TileMap methods related to the name of custom data layers
2022-07-29 19:43:55 +02:00
Rémi Verschelde
ba3734e69a
Merge pull request #63603 from aaronfranke/editor-paths
...
Move editor paths into the EditorPaths class
2022-07-29 19:31:59 +02:00
Andy Maloney
5036dfb0b6
Add Python PEP 484/526 type hints to doc/tools/doc_status.py
...
Also removes the first divider string which cleans up the extraneous dashes at the top of the page.
2022-07-29 13:27:48 -04:00
Rémi Verschelde
7199314eb3
Merge pull request #63595 from reduz/remove-signal-connect-binds
...
Remove Signal connect binds
2022-07-29 18:10:39 +02:00
Aaron Franke
ac870ab1c8
Move editor paths into the EditorPaths class
2022-07-29 11:07:30 -05:00
Juan Linietsky
d4433ae6d3
Remove Signal connect binds
...
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
ajreckof
8433ad5353
expose TileMap methods related to the name of custom data layers
2022-07-29 15:05:42 +02:00
Rémi Verschelde
cd24fb848e
Merge pull request #63617 from KoBeWi/v3c70r4
2022-07-29 12:45:18 +02:00
Rémi Verschelde
8b454f8b41
Merge pull request #62601 from smix8/navigation_3d_debug_4.x
2022-07-29 12:29:32 +02:00
kobewi
ee6fd704b5
Fix Vector4 serialization
2022-07-29 12:09:03 +02:00
smix8
c394ea518e
Add more detailed Navigation Debug Visualization
...
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-29 09:58:41 +02:00
Rémi Verschelde
7c93373008
Merge pull request #63161 from PrecisionRender/master
...
Add `ShapeCast3D` node
2022-07-29 08:07:13 +02:00
DeeJayLSP
c8f3b02fcf
Rename every instance of "OGG" to "Ogg"
2022-07-28 16:41:38 -03:00
Rémi Verschelde
14d021287b
Merge pull request #63049 from Faless/mp/4.x_as_module
2022-07-28 20:46:31 +02:00
Rémi Verschelde
8e0f328a80
Merge pull request #59840 from Calinou/renderingserver-global-uniform-rename
2022-07-28 20:34:17 +02:00
Rémi Verschelde
1c820f19b1
Merge pull request #60957 from DeeJayLSP/sample_pcm
2022-07-28 19:51:08 +02:00
PrecisionRender
8cbb9b8b0a
Add ShapeCast3D node
2022-07-28 12:08:42 -05:00
DeeJayLSP
4889659227
Rename AudioStreamSample to a more discoverable name
2022-07-28 13:53:36 -03:00
Hugo Locurcio
4b42379c8f
Rename RenderingServer global shader uniform methods to be more explicit
...
The `global_shader_uniform` name is longer, but it makes it much
easier to find the methods when searching in the class reference.
2022-07-28 18:46:59 +02:00
Hugo Locurcio
e24029edc3
Allow changing mipmap LOD bias when FSR 1.0 scaling is not used
...
Mipmap LOD bias can be useful to improve the appearance of distant
textures without increasing anisotropic filtering (or in situations
where anisotropic filtering is not effective).
`fsr_mipmap_bias` was renamed to `texture_mipmap_bias` accordingly.
The property hint now allows for greater precision as well.
2022-07-28 17:51:13 +02:00
Jcrespo
d9b4ece093
Patch the make_rst.py utility to handle specially operators with '<'
...
When generating rst files from xml class reference, unknown references
to operators were generated, as something like:
:ref:`operator <<class_Vector2_operator_lt_bool>`
was rendered in html as:
operator ( Vector2 right )
-it just needed escaping.
The small addendum checks for operator names containing '<' and
substitutes it with '\<', escaping at rst level and generating
instead the right rendered html:
operator < ( Vector2 right )
This affected mostly the reference pages of the VectorX family of
classes. If in the future more types need escaping, a more
general solution will be needed.
2022-07-28 12:37:30 +02:00
Raffaele Picca
9137ba7926
Turbulence Noise for Particle Material
2022-07-28 11:04:40 +02:00
Rémi Verschelde
a5f12f9c21
Merge pull request #63532 from TokageItLab/rename-cubic-slerp
2022-07-28 10:39:33 +02:00
Rémi Verschelde
199ea349f5
Merge pull request #57698 from bluenote10/feature/rename_translated_to_translated_local
2022-07-28 10:03:07 +02:00
Rémi Verschelde
1e4b38fc5d
Merge pull request #62414 from Calinou/movie-maker-add-quit-on-end
2022-07-28 01:05:19 +02:00
pattlebass
130e715ab9
HTML5: Add support for `Input.vibrate_handheld()`
2022-07-27 22:54:41 +03:00
Hugo Locurcio
aaeb60eafc
Add a Movie Quit On Finish property to AnimationPlayer
...
This quits the project when an animation is done playing in the
given AnimationPlayer, but only in Movie Maker mode.
When this happens, a message is printed with the absolute path of the
AnimationPlayer node that caused the engine to quit.
This can be used to create videos that stop at a specified time
without having to write any script.
A report is now also printed to the console when the video is done
recording (as long as the engine was exited properly).
This report is unfortunately not always visible in the editor's
Output panel, as it's printed too late.
A method was also added to get the path to the output file from the
scripting API.
2022-07-27 18:50:28 +02:00