kobewi
5947f688fb
Make JSON methods static
2022-08-16 14:29:38 +02:00
kobewi
cc424bcb18
Add Dictionary.find_key()
2022-08-16 13:48:59 +02:00
VolTer
2599710793
Rename NOTIFICATION_INSTANCED to NOTIFICATION_SCENE_INSTANTIATED
2022-08-16 12:41:10 +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
smix8
5162d9ac8b
Fix NavigationObstacle 2D/3D (re)parent issues
...
Fixes (re)parent issues with NavigationObstacle 2D and 3D (same as NavigationAgents).
Also adds the option from NavigationAgents to override the default navigation map.
2022-08-14 16:23:27 +02: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
Hendrik Brucker
e96b1a2c0c
Implement MSAA for 2D [Vulkan only]
2022-08-13 01:09:48 +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
Micky
83f96139ac
Remove AnimatedSprite3D.`is_playing()` for redundancy
...
Also removes the underscore prefix from `_set_playing()` and `_is_playing()`
2022-08-09 13:20:07 +02: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
kobewi
fdf7441015
Split ceil(), floor() and round() method
2022-07-27 16:58:56 +02:00
Rémi Verschelde
ed61fb2a8b
Merge pull request #63138 from TokageItLab/normalize-position-track
...
Add position track normalization to importer retarget
2022-07-27 16:49:18 +02:00
Silc Renew
4211e68d80
rename and unify notation for spherical interpolation
2022-07-27 23:22:50 +09:00
Rémi Verschelde
4e9640b3ec
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 516d6b6bad
)
2022-07-27 16:03:34 +02:00
Rémi Verschelde
f66527ddc3
doc: Fix relative paths in `make_rst.py` generated comment
...
Follow-up to #63495 .
2022-07-27 13:52:46 +02:00
Rémi Verschelde
cc5135959b
Merge pull request #62973 from bruvzg/sysfont_support
2022-07-27 13:38:30 +02:00
Rémi Verschelde
1bb56d9298
Merge pull request #63495 from YuriSizov/docs-improve-autogen-note
2022-07-27 13:24:03 +02:00
Yuri Sizov
f3561696da
Improve the autogenerated note in RST docs for class reference
2022-07-27 13:43:06 +03:00
Rémi Verschelde
1c57d90e85
Merge pull request #63463 from KoBeWi/Vector5
...
Add some missing Vector4 methods
2022-07-27 10:45:39 +02:00
Rémi Verschelde
0065fcc947
Merge pull request #63510 from asmaloney/add-missing-type-hints
2022-07-27 10:43:37 +02:00
Hugo Locurcio
a151a74a98
Tweak Decal distance fade defaults and add property hints
...
The new default values are more usable in real world scenarios
when smooth fading of distant decals is desired for performance reasons.
The Decal distance fade property hints were adjusted based on the
GeometryInstance3D visibility range fade property hints. `or_greater`
was also added to allow specifying larger values if needed.
2022-07-27 03:15:46 +02:00
kobewi
d7b30b2327
Add Vector4 documentation
2022-07-26 22:37:05 +02:00
Andy Maloney
4b3d6f04a8
Add missing Python type hints in tools/make_rst.py
2022-07-26 16:26:47 -04:00
RedMser
7b834c8bfd
Fix unnamed arguments in XML docs
2022-07-26 20:42:38 +02:00
Silc Renew
dde235ad82
add position track normalization & post process key value for retarget
2022-07-26 18:48:08 +09:00
bruvzg
94e5ad2019
[RichTextLabel] Fix theme bold / italics / bold italics and mono font size not applied correctly.
2022-07-26 10:45:40 +03:00
Fabio Alessandrelli
ca7d572908
[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.
...
- RPC configurations are now dictionaries.
- Script.get_rpc_methods renamed to Script.get_rpc_config.
- Node.rpc[_id] and Callable.rpc now return an Error.
- Refactor MultiplayerAPI to allow extension.
- New MultiplayerAPI.rpc method with Array argument (for scripts).
- Move the default MultiplayerAPI implementation to a module.
2022-07-26 09:31:12 +02:00
bruvzg
36ef8f29dc
Implement support for loading system fonts on Linux, macOS / iOS and Windows.
2022-07-26 08:38:05 +03:00
kobewi
7006f7d693
Add some missing Vector4 methods
2022-07-26 02:35:42 +02:00
Juan Linietsky
c7255388e1
Remove ThreadWorkPool, replace by WorkerThreadPool
...
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient.
It can also be better debugged.
2022-07-25 15:39:50 +02:00
Rémi Verschelde
3084a48ace
Merge pull request #63219 from reduz/implement-vector4-projection
2022-07-25 11:13:27 +02:00
Rémi Verschelde
bd1d2fcd86
Merge pull request #63381 from jynus/master
...
Solve discrepancy between code and class reference for Plane
2022-07-24 20:03:16 +02:00
Rémi Verschelde
9dc50cd564
Merge pull request #62892 from KoBeWi/hey,group!
...
Remove outdated line in call_group() description
2022-07-24 19:18:46 +02:00
Jcrespo
1a3d57f319
Solve discrepancy between code and class reference for Plane
...
On #43310 , class reference was automatically updated from source,
causing xml documentation to disagree with parameter naming
description on Plane.intersects_segment().
Weirdly, it also changed the parameter for Plane.is_point_over()
from point to plane, when only the first has sense (and it is
defined on math.Plane as "const Vector3 &p_point"). Manual
mistake?
* Update begin/end to from/to on Plane.intersects_segment(...)
docs description to match source
* Update Plane bindings to use points instread of plane for
is_point_over(...)
* Change Plane.is_point_over(plane) to Plane.is_point_over(point)
AND its description on docs
Fixes godotengine/godot-docs#5976
2022-07-24 18:21:25 +02:00
Aaron Franke
286ae1f7fa
Document what the Z component is used for in BaseMaterial3D UV coords
2022-07-23 20:05:16 -05:00
Fabio Alessandrelli
75f93167f7
Merge pull request #63262 from dsnopek/multiplayer-peer-custom-4.x
...
[4.x] Allow extending MultiplayerPeerExtension from GDScript
2022-07-24 01:24:22 +02:00
reduz
455c06ecd4
Implement Vector4, Vector4i, Projection
...
Implement built-in classes Vector4, Vector4i and Projection.
* Two versions of Vector4 (float and integer).
* A Projection class, which is a 4x4 matrix specialized in projection types.
These types have been requested for a long time, but given they were very corner case they were not added before.
Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity.
**Q**: Why Projection and not Matrix4?
**A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23 14:00:01 +02:00
Rémi Verschelde
a5bc65bbad
Merge pull request #63265 from reduz/stream-bpm-support
...
Implement BPM support in AudioStream files.
2022-07-23 11:21:14 +02:00
reduz
d1ddee2258
Implement BPM support
...
Based on #62896 , only implements the BPM support part.
* Implements BPM support in the AudioStreamOGG/MP3 importers.
* Can select BPM/Bar Size and total beats in a song file, as well as edit looping points.
* Looping is now BPM aware
* Added a special importer UI for configuring this.
* Added a special preview showing the audio waveform as well as the playback position in the resource picker.
* Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-23 07:31:17 +02:00
Rémi Verschelde
fe929d4787
Merge pull request #62513 from reduz/shader_preprocessor_remake
2022-07-23 00:02:33 +02:00
Rémi Verschelde
3f504eb9fe
Merge pull request #63313 from python273/fix-xr-doc-links
2022-07-22 23:44:00 +02:00
reduz
f649678402
Clean up Shader Preprocessor
...
* Moved preprocessor to Shader and ShaderInclude
* Clean up RenderingServer side
* Preprocessor is separate from parser now, but it emits tokens with include location hints.
* Improved ShaderEditor validation code
* Added include file code completion
* Added notification for all files affected by a broken include.
2022-07-22 22:53:03 +02:00
Yuri Roubinsky
7b94603baa
Adding shader preprocessor support
...
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
2022-07-22 22:51:57 +02:00
Hugo Locurcio
f0b896e9a3
Add example usage for `Font.get_string_size()`
...
The font size is now separated from the font itself, so it makes
sense to have an example for people coming from Godot 3.x.
2022-07-22 22:39:00 +02:00
python273
f78d06c9fe
Fix tutorial links in XR classes docs
2022-07-22 15:05:31 +03:00
Rémi Verschelde
d2fa9cbdfd
Merge pull request #63141 from reduz/implement-thread-runner
2022-07-22 13:25:31 +02:00
Rémi Verschelde
653f95282c
Merge pull request #62996 from reduz/feature-build-profiles
2022-07-22 12:50:20 +02:00
reduz
67a260d63f
Implement a Worker ThreadPool
...
This PR implements a worked thread pool. It uses a fixed amount of threads in a pool and allows scheduling tasks
that can be run on threads (and then waited for). It satisfies the following use cases:
* HTML5 thread count is fixed (and similar restrictions are known in consoles) so we need to reuse threads.
* Thread spawning is slow in general, so reusing threads is faster anyway.
* This implementation supports recursive waiting for tasks, making it less prone to deadlocks if threads from the pool also run tasks.
After this is approved and merged, subsequent PRs will be needed to replace the ThreadWorkPool usage by this class.
2022-07-22 11:46:48 +02:00
reduz
6236a688b7
Implement Feature Build Profiles
...
This PR is a continuation of #50381 (which was implemented exactly a year ago!)
* Add a visual interface to select which classes should not be built into Godot (well, they are built if something else uses them, but if not used the optimizer will remove them out).
* Add a detection system to scan the project and figure out the actual classes used.
* Added the ability for SCons to load build profiles.
Obligatory Screen:
A simple test with a couple of nodes in the scene resulted in a 25% reduction for the final binary size
TODO:
* Script languages need to implement used class detection (left for another PR).
* Options to disable servers or server functionalities (like 2D or 3D physics, navigation, etc). Are missing, that should also greatly aid in reducing binary size.
* Options to disable some modules would be desired.
* More options to disable drivers (OpenGL, Vulkan, etc) would be desired.
In general this PR is a starting point for more contributors to improve and enhance this functionality.
2022-07-22 10:53:23 +02:00
Yuri Rubinsky
ccc56cc6d4
Rename `epsilon` to `tolerance` in the `Plane::has_point` method
2022-07-21 20:15:15 +03:00
luz paz
38aaaa3cf9
Fix various typos not caught by codespell
...
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21 07:38:23 -04:00
bruvzg
8823eae328
Rename OSX to macOS and iPhoneOS to iOS.
2022-07-21 09:37:52 +03:00
David Snopek
f8137ce6c1
Allow extending MultiplayerPeerExtension from GDScript
2022-07-20 18:19:05 -05:00
Rémi Verschelde
0f6028378f
Merge pull request #63127 from KoBeWi/raise_from_picture
2022-07-20 22:34:05 +02:00
Rémi Verschelde
fa2dcc7ace
Merge pull request #47935 from HaSa1002/doc-loading-run-time
2022-07-20 22:33:49 +02:00
Fabio Alessandrelli
ddee5f6050
Add peer visibility to MultiplayerSynchronizer.
...
MultiplayerSynchronizers can now be configured to limit their visibility
to a subset of the connected peers, if the synchronized node was spawned
by a MultiplayerSpawner (either automatically or via custom spawn) the
given node will also be despawned remotely.
The replication system doesn't have the logic to handle subspawn
directly, but it is possible to handle them appropriately by manually
updating the visibility of the parent before changing the one of the
nested spawns via the "update_visibility" function.
The visibility of each MultiplayerSynchronizer can be controlled by
adding or remove filters via "[add|remove]_visibility_filter(callable)".
To further optimize the network code, visibility filters can be configured
to be automatically updated during idle or physics frame, or set to always
require manual update (via the "update_visibility" function).
2022-07-20 19:08:35 +02:00
Max Hilbrunner
8d15814e6a
Merge pull request #60256 from octetdev2/docs-fix-staked-typo
...
Fix typo in `TILE_LAYOUT_OFFSET_STACKED` description
2022-07-20 12:18:41 +02:00
Vojtěch Struhár
5a61906330
Filled in MultiMesh instance_count doc.
2022-07-19 22:41:56 +02:00
Rémi Verschelde
715f556cd4
Merge pull request #62139 from bruvzg/label_font_setttings
...
Add LabelSettings resource for quick Label theme property override.
2022-07-19 20:16:01 +02:00
Rémi Verschelde
eea14a0edc
Merge pull request #63005 from Chaosus/image_rotate
...
Implement `rotate_90/rotate_180` functions to `Image`
2022-07-19 15:21:16 +02:00
Rémi Verschelde
7fd29b5464
Merge pull request #59301 from fire-forge/layout-preset-full-rect
2022-07-19 12:06:00 +02:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
FireForge
84431bd782
Use integer types in Image and ImageTexture methods
...
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
kobewi
e8288ac9ab
Clarify create_from_image() usage
2022-07-18 13:01:04 +02:00
Rémi Verschelde
2c6707cb02
Merge pull request #63134 from KoBeWi/plugin4screen
2022-07-18 11:21:13 +02:00
kobewi
058c1eac25
Improve docs on how to make main screen plugin
2022-07-18 10:36:17 +02:00
Rémi Verschelde
dfc76dc26d
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 7379f2c76a
)
2022-07-18 10:29:25 +02:00
Rémi Verschelde
181759e872
Merge pull request #62849 from Calinou/doc-httprequest-timeout
2022-07-18 09:19:58 +02:00
Zak Grumbles
349c750b18
Improve documentation for Camera3D's `current` member
...
* Added additional information to the camera documentation to explain
how the 'current' attribute behaves when multiple cameras are in a
scene.
2022-07-17 11:29:59 +02:00
Bastiaan Olij
d139131aab
Adding Variable Rate Shading support to Godot
...
Improve GI renderer and add VRS support
Implement render device has_feature and move subgroup settings to limit_get
2022-07-17 15:42:24 +10:00
Rémi Verschelde
9dfd120a7e
Merge pull request #63077 from Zylann/doc_plane_distance_to
...
Indicate Plane.distance_to returns a signed distance
2022-07-16 23:10:12 +02:00
snailrhymer
c051c84385
Fix typo in VehicleBody3D.xml
2022-07-16 18:06:01 +01:00
Marc Gilleron
45e329c1d2
Indicate Plane.distance_to returns a signed distance
2022-07-16 18:00:31 +01:00
Rémi Verschelde
5a6b13b8bb
Merge pull request #62939 from TokageItLab/implement-rest-fixer
...
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Silc Renew
9be288edf9
refactor sync in AnimationTree
2022-07-16 21:45:32 +09:00
Silc Renew
f3af3aedfe
add rest fixer to importer retarget
2022-07-16 19:53:11 +09:00
Fabian Keller
2bf9e6090c
rename translate(d) to translate(d)_local in Transform 2D/3D
2022-07-16 11:47:54 +02:00
Yuri Rubinsky
7e66903d56
Implement `rotate_90/rotate_180` functions to `Image`
2022-07-15 11:50:42 +03:00
bruvzg
cbe3a2dcb7
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
2022-07-15 08:49:50 +03:00
Rémi Verschelde
184f62cb46
Merge pull request #60458 from KoBeWi/Deprecated-hint,-unused-
2022-07-14 00:20:30 +02:00
Hugo Locurcio
21ea1c3835
Rename soft shadow quality project settings for easier searching
...
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.
Shadow atlas settings now contain the word "atlas" for easier searching.
Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
2022-07-13 19:56:02 +02:00
Rémi Verschelde
4639050c64
SpriteFrames: Sort animations alphabetically
...
And finally remove the 'frames' property which was added for compatibility with 2.1
in bed3efb17e
.
Fixes #21765 .
The 'animations' property on the other hand is needed, contrarily to what its comment
said (copy-paste mistake probably).
Also removes unused '_get_animation_list'.
2022-07-13 16:15:11 +02:00
Rémi Verschelde
b942c1ffe3
Merge pull request #62827 from fire-forge/ok-cancel
...
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-13 14:10:38 +02:00
Rémi Verschelde
fcc9dab73b
Merge pull request #62748 from fire-forge/filedialog_filter
...
Seperate `filter` and `description` arguments in `EditorFileDialog/FileDialog.add_filter()`
2022-07-13 14:07:50 +02:00
bruvzg
f63d54126d
Add LabelSettings resource for quick Label theme property override.
2022-07-12 16:05:12 +03:00
Yuri Sizov
42537daeb1
Merge pull request #41833 from dalexeev/splash_delay
...
Add boot splash minimum display time setting
2022-07-12 15:58:15 +03:00
kobewi
2f777b9a1e
Remove unused hints
2022-07-12 00:44:13 +02:00
bruvzg
3316454379
Fix LineEdit text incorrectly trimmed due to rounding errors.
2022-07-10 23:39:34 +03:00
kobewi
831888aad5
Remove outdated line in call_group() description
2022-07-10 20:02:20 +02:00
Samuele Zolfanelli
e27c5acedd
Make Image.get_size() return a Vector2i instead of a Vector2
2022-07-09 22:05:58 +02:00
FireForge
af19501cc7
Seperate filter and description in FileDialog.add_filter()
2022-07-09 10:51:45 -05:00
FireForge
e4067064ce
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
2022-07-09 10:47:08 -05:00
Hugo Locurcio
5f0cad8cfa
Document the `timeout` property in HTTPRequest
2022-07-08 23:24:45 +02:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
Rémi Verschelde
eedb729771
AudioStreamPlayer: Clarify that no validation is made on 'bus' name
...
Supersedes #39605 .
Fixes #39585 .
2022-07-08 09:33:25 +02:00
Rémi Verschelde
6a34b038d5
Merge pull request #42708 from drentsoft/improved_treeitem_docs_branch
2022-07-08 09:22:27 +02:00
Rémi Verschelde
7d3ff927de
Merge pull request #62075 from Vitika9/gsoc-colorpicker
2022-07-08 09:06:47 +02:00
Derwent Ready (drentsoft)
df5a922880
Clarified usage of TreeItem get_next*() and get_prev*() functions.
2022-07-08 08:49:56 +02:00
Rémi Verschelde
6892df6b78
Merge pull request #62751 from jjor2/lightmapgi-typo
...
Fix small typo in LightmapGI class reference
2022-07-08 07:45:09 +02:00
Rémi Verschelde
1e553e34fb
Merge pull request #62108 from bruvzg/font_config_v3
2022-07-07 12:22:49 +02:00
Vitika9
0011d93c81
ColorPicker Refactor
2022-07-06 22:11:43 +05:30
Rémi Verschelde
635d447a69
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
2022-07-06 15:31:19 +02:00
Rémi Verschelde
76d0a99707
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 417f20f06c
)
2022-07-06 15:04:52 +02:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
Rémi Verschelde
cf19484746
Merge pull request #62374 from reduz/implement-bitfield-hint
...
Implement a BitField hint
2022-07-06 09:35:40 +02:00
Hugo Locurcio
983ce7e9f3
Disable Expand by default in VideoStreamPlayer
...
This ensures videos are always visible as soon as a video file
is specified in the VideoStreamPlayer node. The node will no longer
be resized to 0×0 by default, making the video invisible in the process
(even if the audio can still be heard).
2022-07-06 00:51:27 +02:00
Jadon Orr
1b80d99d78
Fix small typo in LightmapGI class reference
2022-07-05 17:19:47 -04:00
reduz
5ac42cf576
Implement a BitField hint
...
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-05 22:13:37 +02:00
Hugo Locurcio
aa9403bcda
Clamp VoxelGI extents to reasonable values to avoid breaking baking
...
This also prevents crashes when resizing a VoxelGI's extents to 0
on any axis.
2022-07-05 18:32:44 +02:00
Rémi Verschelde
fd10de5b94
Merge pull request #62726 from jmpelletier/jmpelletier-patch-2
2022-07-05 11:25:01 +02:00
Rémi Verschelde
3a38ee96ce
Merge pull request #62259 from KoBeWi/textpand
2022-07-05 09:52:22 +02:00
Jean-Marc Pelletier
63d5f31561
StyleBox: Document correct methods to draw with a RID
2022-07-05 09:45:11 +02:00
Rémi Verschelde
3770b5be99
Merge pull request #62724 from KoBeWi/xml_explorer
2022-07-05 08:43:55 +02:00
kobewi
415c7dda37
Implement XMLParser.get_current_line()
2022-07-05 01:23:04 +02:00
Hugo Locurcio
fa799ec2c6
Document changing the Decal and Light3D projector texture filter modes
2022-07-04 22:17:16 +02:00
Rémi Verschelde
344b42703b
Merge pull request #62212 from hansemro/eraser-detect-4
...
Add inversion/eraser-end property for tablet pens
2022-07-04 21:48:19 +02:00
Hansem Ro
6dcc9d1131
[macOS, Windows, X11] Add stylus inverted/eraser support to
...
InputEventMouseMotion event
2022-07-04 10:36:53 -07:00
Yuri Sizov
a9098e6147
Add support for documenting built-in annotations
2022-07-04 20:21:39 +03:00
kobewi
41f6e7c50e
Allow to disable TextEdit vertical scroll
2022-07-04 15:02:15 +02:00
Rémi Verschelde
1d06fec535
Merge pull request #62448 from MinusKube/completion-scroll-click
...
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-04 10:13:20 +02:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
Rémi Verschelde
00b3822306
Input: Re-enable input accumulation by default
...
I turned it off by mistake in #38697 .
See also #62664 for details on this boolean's complex history :)
2022-07-03 12:16:16 +02:00
Rémi Verschelde
a2459c7d35
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-02 00:17:21 +02:00
Rémi Verschelde
692c2d9215
Merge pull request #50755 from foxydevloper/add-global-position-and-global-rotation
...
Add global_position and global_rotation to Node3D
2022-07-01 21:50:42 +02:00
Hugo Locurcio
e7315fcc45
Clamp Decal's upper/lower fade to positive values
...
Negative easing values result in broken rendering.
2022-07-01 19:23:57 +02:00
Rémi Verschelde
e75bd53fb2
Merge pull request #62439 from timothyqiu/str-format
2022-07-01 18:03:59 +02:00
foxydevloper
8b16a4131f
Add global_position and global_rotation to Node3D
2022-07-01 10:27:07 -04:00
kobewi
1a9fc25e00
Restore and improve some ParticlesMaterial docs
2022-07-01 15:09:41 +02:00
Rémi Verschelde
daec5bed57
Merge pull request #59089 from KoBeWi/I_am_root
...
Add `root_subfolder` to FileDialog
2022-07-01 11:53:33 +02:00
Rémi Verschelde
88192269a8
Merge pull request #62477 from lyuma/packedbytearray
...
Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays.
2022-07-01 09:03:20 +02:00
Lyuma
33fd7c63e1
Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays.
2022-06-30 18:04:33 -07:00
Hugo Locurcio
32973094f5
Add a Bake Mask property to GPUParticlesCollisionSDF3D
...
This allows not accounting for certain visible meshes during baking
(such as foliage and thin fixtures).
This also adds a clarification about transparent materials always
being excluded in the OccluderInstance3D documentation.
2022-06-30 23:12:40 +02:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
leogeier
359f7fc51f
Exposes methods for adding and removing ResourceFormatLoaders and -Savers in the ClassDB
2022-06-29 21:38:20 +02:00
Rémi Verschelde
a7e589df38
Merge pull request #62084 from smix8/path_debug_options_4.x
...
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Rémi Verschelde
26dd4746a1
i18n: Sync classref translations with Weblate
...
(cherry picked from commit c93ccb5d1d
)
2022-06-29 12:12:48 +02:00
Rémi Verschelde
b730d2ee09
Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-output
...
Adding print_rich() for printing with BBCode
2022-06-28 23:35:53 +02:00
Rémi Verschelde
fed5ebb24b
Merge pull request #61196 from V-Sekai/animtree-advance-expressions
2022-06-28 21:40:29 +02:00
kobewi
9d48cd502b
Add root_subfolder to FileDialog
2022-06-28 18:56:18 +02:00
SaracenOne
75a8606b83
Add AnimationTree Advance Expressions
...
Allows specifying an expression as a condition for state machine transitions.
This gives much greater flexibility for creating complex state machines. By directly interfacing with the script code, it is possible to create complex animation advance condition for switching between states.
Ensure assigning AnimationTreeStateMachineTransition base expression node in editor is relative to current AnimationTree node.
Allow setting an expression base node on the AnimationTree itself.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-28 09:26:13 -07:00
Danil Alexeev
dad9683d11
Add boot splash display time setting
...
Implements #8867 .
2022-06-28 18:54:51 +03:00
Voylin
c6291bcd8a
Adding print_rich for printing with BBCode
2022-06-29 00:41:29 +09:00
snailrhymer
aff30b649e
Fix typos and improve clarity in Tween docs
2022-06-28 16:04:44 +02:00
Rémi Verschelde
b863c40356
Merge pull request #62468 from V-Sekai/core-const-expressions
...
Add a const call mode to Object, Variant and Script.
2022-06-28 01:08:24 +02:00
Rémi Verschelde
8fd0b4d1f8
Merge pull request #62449 from Chaosus/wrap_func
...
Add generalized version of `wrap` function
2022-06-27 23:28:37 +02:00
K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Hendrik Brucker
99ce0df3b1
Refactor bezier interpolation functions
2022-06-27 19:42:43 +02:00
Yuri Rubinsky
2476c50a66
Add generalized version of `wrap` function
2022-06-27 16:11:21 +03:00
Rémi Verschelde
dac79e15f1
Merge pull request #62390 from Calinou/movie-writer-tweak-settings
2022-06-27 12:27:46 +02:00
Rémi Verschelde
fbc3777467
Merge pull request #62185 from reduz/export-node-pointer-path
...
Add ability to export Node pointers as NodePaths
2022-06-27 11:14:36 +02:00
Haoyu Qiu
25c7f567dd
Improve String.format() documentation
2022-06-27 11:29:44 +08:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
smix8
e1a4d1d08c
Clarify NavigationAgent radius property
...
Documents Navigation radius property, especially that it affects avoidance only.
2022-06-26 13:04:02 +02:00
Hugo Locurcio
bdb40c6478
Add property hints to MovieWriter settings
...
- Rename audio mix rate setting as the suffix is now part of the
property hint. This is also more consistent with existing mix rate
project settings.
- Improve the MovieWriter class reference.
- Tweak warning message about audio possibly going out of sync.
2022-06-25 20:08:56 +02:00
reduz
b7c41f9ba1
Add ability to export Node pointers as NodePaths
...
This PR implements:
* A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string.
* The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path.
* When scene is saved, the node path is saved, then restored as a pointer.
NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid.
Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language.
Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path).
Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25 15:50:15 +02:00
Rémi Verschelde
dd3de622d8
Merge pull request #62372 from MarcusElg/nosliderrename
...
Rename @export_range's noslider option to no_slider
2022-06-25 14:03:44 +02:00
Haoyu Qiu
c894ae0b6b
Make code example in HTTPRequest classref working
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2022-06-24 23:29:52 +08:00
Rémi Verschelde
307dfa9fe9
Merge pull request #62375 from smix8/doc_navmesh_bake_obstruct_limit_4x
2022-06-24 15:02:17 +02:00
Rémi Verschelde
fec3a48e53
Merge pull request #59918 from piiertho/enhancement/rename-controll-minimum_size-to-custom_minimum_size
2022-06-24 14:54:53 +02:00
smix8
85cdb1144d
Document limits of using meshes to obstruct navigation mesh baking
...
Recast (the library used for baking) has no concept of a geometry "inside" and this is intentional. ReCast will add navigation mesh to areas as soon as the area inside a source geometry mesh is large enough to fit a navigation mesh polygon with current baking parameters.
2022-06-24 14:32:24 +02:00
Marcus Elg
6c1ac9f3be
Rename export_range's noslider option to no_slider
2022-06-24 10:45:34 +02:00
Rémi Verschelde
faae24637c
Merge pull request #62300 from smix8/navigation_map_force_update_4.x
2022-06-24 10:13:07 +02:00
Rémi Verschelde
81afea620f
Merge pull request #62353 from smix8/navigation_region_owns_point_4.x
...
Add NavigationServer region_owns_point() helper function
2022-06-24 09:08:25 +02:00
K. S. Ernest (iFire) Lee
42f7f0894e
Restore the openexr grayscale property.
2022-06-23 21:10:59 -07:00
smix8
e57360d8df
Add NavigationServer.region_owns_point() helper function
...
Adds a helper function to check if a world space position is currently owned by a navigation region.
2022-06-23 23:32:05 +02:00
Pierre-Thomas Meisels
5ad1a1b5e7
enhancement: rename exposed property Control::minimum_size to Control::custom_minimum_size
2022-06-23 18:06:10 +02:00
smix8
fdea269805
Add NavigationServer map_force_update() function
...
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
2022-06-23 17:32:07 +02:00
Rémi Verschelde
462127eff0
Merge pull request #62312 from smix8/navigation_get_maps_4.x
2022-06-23 16:14:12 +02:00
Rémi Verschelde
ef5bc1baad
Merge pull request #62348 from smix8/navigation_baking_aabb_4.x
2022-06-23 16:10:40 +02:00
Rémi Verschelde
2baddcc4f6
Merge pull request #61931 from KoBeWi/how_to_window
...
Document most of the Window's members
2022-06-23 15:20:53 +02:00
Rémi Verschelde
1c54057933
Merge pull request #62326 from KoBeWi/userbind
2022-06-23 15:15:41 +02:00
smix8
0c4d99f4fd
Implement NavigationMesh bake area
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
2022-06-23 14:55:21 +02:00
kobewi
a6f0aba43d
Remove userdata from Thread.start()
2022-06-23 12:50:28 +02:00
Rémi Verschelde
cf4d39ecc1
Merge pull request #62306 from Calinou/doc-moviewriter
...
Document the MovieWriter class and associated project settings
2022-06-23 08:01:40 +02:00
Hugo Locurcio
661808a84e
Document the MovieWriter class and associated project settings
2022-06-23 00:31:31 +02:00
Rémi Verschelde
e9ca15b6a6
Merge pull request #62234 from skyace65/AudioEffects
...
Cleanup audio effect class reference pages
2022-06-22 21:36:38 +02:00
kobewi
0f630f8307
Document most of the Window's members
2022-06-22 20:46:27 +02:00
Max Hilbrunner
ac51d5a1e9
Merge pull request #62053 from skyace65/MaterialDescription
...
Add a description to ORMMaterial3D and StandardMaterial3D
2022-06-22 19:51:14 +02:00
Rémi Verschelde
3ccff61979
Merge pull request #58544 from Calinou/tileset-source-allow-canvasitemmaterial
2022-06-22 17:02:34 +02:00
smix8
c0fed1d4e8
Add Navigation function to get all navigation maps
...
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
2022-06-22 15:33:40 +02:00
Hugo Locurcio
49f94b94c7
makerst: Fix file name not appearing in error message
2022-06-22 12:17:15 +02:00
Hugo Locurcio
b3fe2732e3
Allow using CanvasItemMaterial in the TileSet editor
...
Previously, only ShaderMaterial overrides could be added.
2022-06-21 17:02:52 +02:00
Aaron Franke
8f05bd97b5
Add support for saving WebP images
2022-06-21 08:27:51 -05:00
Rémi Verschelde
40c360b870
Merge pull request #62122 from reduz/implement-movie-writer
...
Implement a Movie Maker mode
2022-06-21 14:24:14 +02:00
reduz
5786516d4d
Implement Running Godot as Movie Writer
...
* Allows running the game in "movie writer" mode.
* It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time).
* If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult.
* Implements a simple, default MJPEG writer.
This new features has two main use cases, which have high demand:
* Saving game videos in high quality and ensuring the frame rate is *completely* stable, always.
* Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this).
**Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly).
Usage:
$ godot --write-movie movie.avi [scene_file.tscn]
Missing:
* Options for configuring video writing via GLOBAL_DEF
* UI Menu for launching with this mode from the editor.
* Add to list of command line options.
* Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-21 11:28:47 +02:00
smix8
e12e239ab4
Add Path2D/3D debug options
...
Add Path2D/3D debug options.
2022-06-20 17:32:05 +02:00
Juan Linietsky
15837ec191
Revert "Disable VRAM compression by default for small textures in Detect 3D"
2022-06-20 15:30:19 +02:00
Rémi Verschelde
21b0c7fc22
Merge pull request #62214 from smix8/navigation_layer_bitmask_helpers_4.x
2022-06-20 15:13:33 +02:00
Rémi Verschelde
3d49e89b9b
Merge pull request #62181 from smix8/navigation_navagent_pathpoint_dist_4.x
2022-06-20 14:54:16 +02:00
Rémi Verschelde
3e6de687b8
Node: Rename `child_exited_tree` to `child_exiting_tree`
...
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.
Fixes #59210 .
2022-06-20 11:55:19 +02:00
skyace65
c2b5464659
Cleanup audio effect class reference pages
2022-06-19 22:25:00 -04:00
Rémi Verschelde
958254ec3e
Merge pull request #60798 from Calinou/doc-os-cmdline-args
2022-06-19 14:09:13 +02:00
Rémi Verschelde
833b16cdf0
Merge pull request #62142 from Calinou/doc-gui-incremental-search
2022-06-19 14:08:24 +02:00
Rémi Verschelde
f7d2dcc878
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 5478afdb1e
)
2022-06-19 14:00:21 +02:00
smix8
55923ade68
Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
2022-06-19 13:47:19 +02:00
smix8
07740302f3
Add NavigationAgent desired path distance
...
Add NavigationAgent desired path distance
2022-06-18 19:11:49 +02:00
Rémi Verschelde
0daa868ab4
Merge pull request #62023 from Calinou/detect-3d-small-textures-no-vram-compress
...
Disable VRAM compression by default for small textures in Detect 3D
2022-06-17 21:07:04 +02:00
Rémi Verschelde
d2be5416ef
Merge pull request #58841 from ellenhp/expose_tightness
...
Expose panning strength parameters
2022-06-17 18:36:58 +02:00
Rémi Verschelde
4463dd9d89
Merge pull request #62132 from timothyqiu/doc-fixes
2022-06-17 15:51:25 +02:00
Ellen Poe
d384d84f45
Audio: Expose 2D/3D panning strength parameters
2022-06-17 13:08:48 +02:00
Rémi Verschelde
a60e2085b6
Merge pull request #62000 from gregcsokas/master
2022-06-17 13:02:19 +02:00
Hugo Locurcio
466bd7ce39
Document incremental search support in ItemList, PopupMenu and Tree
2022-06-17 12:54:09 +02:00
Haoyu Qiu
27dabe1a6d
Classref typo fixes and improvements
2022-06-17 15:15:30 +08:00
Rémi Verschelde
2a92176e4c
Merge pull request #62118 from dalexeev/empty-array-any-all-docs
...
Clarify `all` and `any` documentation for empty arrays
2022-06-16 23:58:20 +02:00
Rémi Verschelde
f5deed4612
i18n: Sync classref translations with Weblate
...
(cherry picked from commit e047c50068
)
2022-06-16 21:07:33 +02:00
Danil Alexeev
8b97fa4dcd
Clarify `all` and `any` documentation for empty arrays
2022-06-16 20:50:31 +03:00
gregcsokas
42e619c01e
Adding function key support from F17 to F35
...
OSX supports everything by default,
Linux is also capable of supporting every function key,
Windows as I know support only up to F24
2022-06-16 19:38:21 +02:00
Rémi Verschelde
1767507e69
Merge pull request #61888 from Chaosus/vs_remove_engine_version
...
Remove engine version from visual shader
2022-06-16 18:19:03 +02:00
Rémi Verschelde
2aec92412f
Merge pull request #62066 from bruvzg/cleanup_ts_enums
2022-06-16 16:52:48 +02:00
bruvzg
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
Yuri Rubinsky
7da2a21425
Make AStar to use 64-bit logic
2022-06-16 16:43:41 +03:00
Johannes Witt
8c7d4996c9
Document how to load Images and MP3 files at run-time
2022-06-16 13:18:36 +02:00
Rémi Verschelde
1ad6fade00
Merge pull request #58669 from theraot/ASar2Dbidirectional
...
AStar2D bidirectional
2022-06-16 12:46:51 +02:00
Rémi Verschelde
941575b7b8
Merge pull request #61908 from Calinou/crash-handler-message-tweak-exported-project
2022-06-16 09:59:47 +02:00
Rémi Verschelde
296bbe2483
Merge pull request #61877 from aaronfranke/doc-negative-scale
2022-06-16 09:59:30 +02:00
skyace65
0710259e87
Add a description to ORMMaterial3D and StandardMaterial3D
2022-06-15 22:25:45 -04:00
Rémi Verschelde
421d8b716d
Merge pull request #61952 from V-Sekai/custom-docs
...
`SurfaceTool.set_custom_format` Fixes and documentation.
2022-06-15 21:20:58 +02:00
FireForge
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
smix8
245da150e7
Streamline Navigation layer function names.
...
Streamline Navigation layer function names.
2022-06-15 00:18:48 +02:00
Lyuma
03b896c992
`SurfaceTool.set_custom_format` Fixes and documentation.
...
Fix mistake making `set_custom_format` impossible to use.
Automatically forward custom flags in `SurfaceTool.commit`.
Add documentation in `SurfaceTool` and `Mesh` for custom channels.
Deprecate `SurfaceTool.generate_lod` and expose `ImporterMesh.generate_lods`.
2022-06-14 15:10:17 -07:00
Rémi Verschelde
d2a90d62fd
Merge pull request #62044 from smix8/navigation_navagent_map_change_4.x
...
Add NavigationAgent2D/3D set_navigation_map() function
2022-06-14 22:54:13 +02:00
smix8
f10ff0efda
Add NavigationAgent set_navigation_map() function
...
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14 21:48:47 +02:00
Rémi Verschelde
7c0f1b4cd7
Merge pull request #62042 from Calinou/basematerial3d-nearest-height-always-linear
...
Always sample the heightmap with linear filtering in BaseMaterial3D
2022-06-14 21:39:03 +02:00
Hugo Locurcio
26f6625dcc
Always sample the heightmap with linear filtering in BaseMaterial3D
...
Nearest-neighbor filtering of the heightmap results in a broken
appearance, with and without Deep Parallax enabled on the material.
Linear filtering results in a more expected appearance. This does
not affect other texture maps such as albedo, normal or roughness.
2022-06-14 18:56:18 +02:00
Rémi Verschelde
64ca195762
Merge pull request #62035 from smix8/navigation_doc_agent_cb_cancel_4.x
2022-06-14 18:24:00 +02:00
Rémi Verschelde
5b759ff160
Merge pull request #62030 from KoBeWi/SetName/GetName
2022-06-14 18:23:39 +02:00
smix8
10c400ca82
Document NavigationServer API navigation agent callbacks
...
Document NavigationServer API navigation agent callbacks.
2022-06-14 17:06:12 +02:00
kobewi
a3a029d4c6
Change set/get binding to use StringName
2022-06-14 16:27:33 +02:00
kobewi
5553e27fe8
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14 14:58:44 +02:00
Hugo Locurcio
04d5626bc0
Disable VRAM compression by default for small textures in Detect 3D
...
This is done to prevent reducing texture quality when it doesn't save
much video memory, especially for pixel art.
The size threshold can be adjusted in the project settings.
To get the previous behavior where textures detected to be used in 3D
had their compression mode always set to VRAM, set this to the lowest value
(16).
2022-06-14 13:08:20 +02:00
Rémi Verschelde
1f152b3317
Merge pull request #61945 from KoBeWi/making_move_to_trash_less_trash
2022-06-13 17:40:48 +02:00
Rémi Verschelde
d4f31e201d
Merge pull request #61809 from groud/terrain_center_bit
2022-06-13 17:06:34 +02:00
Rémi Verschelde
2dde83a226
Merge pull request #61915 from Calinou/doc-lightmapgi
2022-06-13 16:09:31 +02:00
Hugo Locurcio
60029e9eb8
Document LightmapGI, LightmapGIData and LightmapProbe
...
This documents those 3 classes with 100% completion, while also
documenting the relevant project settings.
2022-06-13 15:46:15 +02:00
Rémi Verschelde
954a19965d
Merge pull request #61983 from skyace65/WorldEnvironment
2022-06-13 15:08:32 +02:00
skyace65
ddbc24f84b
Add description for camera effects property in WorldEnvironment
2022-06-13 08:06:13 -04:00
kobewi
1c90b066dd
Improve description of move_to_trash()
2022-06-13 12:57:56 +02:00
Rémi Verschelde
136f84fc35
Merge pull request #61772 from bruvzg/ft_ot_collect
2022-06-13 11:13:05 +02:00
Rémi Verschelde
e95f4eb5a7
Merge pull request #61819 from bruvzg/button_overrun
2022-06-13 11:02:04 +02:00
Rémi Verschelde
803d25a20a
Merge pull request #61961 from jtnicholl/anim_lib_type_hints
...
Fix type hints for AnimationLibrary's signals' arguments
2022-06-12 22:26:53 +02:00
Rémi Verschelde
4953707784
Merge pull request #61916 from Calinou/doc-curvetexture
...
Document the CurveXYZTexture class, improve CurveTexture documentation
2022-06-12 22:26:33 +02:00
Hugo Locurcio
b5c78f3046
Document the CurveXYZTexture class, improve CurveTexture documentation
2022-06-12 19:33:27 +02:00
Jonathan Nicholl
3d8e400fb5
Fix type hints for AnimationLibrary's signals
2022-06-12 13:20:51 -04:00
Haoyu Qiu
6f38c21253
Fix parameter name for String.left and String.right
2022-06-12 16:34:44 +08:00
Hugo Locurcio
857e5a3bb0
Update name of Convert to MeshInstance2D button in MeshInstance2D doc
2022-06-11 21:52:39 +02:00
Rémi Verschelde
126e4d0a5b
Merge pull request #61920 from Calinou/makerst-print-color
2022-06-11 11:42:18 +02:00
Hugo Locurcio
d45351f413
makerst: Print colored output for easier visual grepping
...
This is automatically enabled on all platforms including
Windows 10 and later, whenever a TTY environment is detected.
In non-TTY environments such as CI, this can be forced using the
`--color` command line argument.
2022-06-11 00:19:36 +02:00
kobewi
9ada594139
Add static methods to create RayQueryParameters
2022-06-10 23:37:04 +02:00
Hugo Locurcio
1163af1756
makerst: Fix duplicate `.xml` extension in some error messages
...
Previously, a file name could appear as e.g. `ProjectSettings.xml.xml`
when one of the 3 modified errors was reported.
2022-06-10 22:58:09 +02:00
Hugo Locurcio
c850ccb7c0
Tweak default crash handler message in exported projects
...
When an exported project crashes, the crash handler message
shouldn't reference the Godot issue tracker, as not all crashes
are Godot's fault.
Reporting crashes that only occur on exported projects is still allowed,
but it should not be done by people who aren't working on the project
in question.
2022-06-10 18:35:40 +02:00
Gilles Roudière
62d2549e9e
Add terrain center bit
2022-06-10 14:37:39 +02:00
Yuri Rubinsky
d6622330d7
Remove engine version from visual shader
2022-06-10 13:17:16 +03:00
Haoyu Qiu
5a011f5999
Fix description about SceneTreeTimer auto free
2022-06-10 18:04:34 +08:00
Rémi Verschelde
8aa69c4e06
Merge pull request #52415 from deakcor/dev-node2d
...
Fix global properties setters and add global skew for node2d
2022-06-10 09:49:15 +02:00
Aaron Franke
3398fb77a9
Document limitations of negative scales in 2D and 3D
2022-06-10 00:56:49 -05:00
Nikola Whallon
eb5a42d0bc
added info on microphone sample format
2022-06-09 14:01:38 -07:00
Rémi Verschelde
a2c016e997
Merge pull request #61659 from KoBeWi/state-of-the-ed
2022-06-09 09:57:28 +02:00
Rémi Verschelde
c91d33e9ca
Merge pull request #61813 from smix8/navigationmesh_properties_naming_4.x
2022-06-09 09:48:01 +02:00
smix8
2c059dcfcb
Remove slash delimiter from NavigationMesh properties
...
Remove slash delimiter from NavigationMesh properties.
2022-06-09 09:20:52 +02:00
Rémi Verschelde
ae78928232
Merge pull request #61670 from smix8/navigation_navagent_patharray_use_4.x
...
Document the correct use of NavigationAgent path functions
2022-06-09 08:50:30 +02:00
smix8
9c7f03aefc
Document the correct use of NavigationAgent path functions
...
Document the correct use of NavigationAgent path functions.
2022-06-09 01:51:33 +02:00
bruvzg
906e9b6ac5
Add overrun behavior to the Button.
2022-06-08 19:02:27 +03:00
Rémi Verschelde
e4994e2817
Merge pull request #61739 from smix8/navigation_region_cost_4.x
2022-06-08 16:05:38 +02:00
Rémi Verschelde
07029e94f4
Merge pull request #61662 from smix8/navigation_map_cell_defaults_4.x
2022-06-08 15:56:22 +02:00
Rémi Verschelde
c09d830106
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 6536877117
)
2022-06-08 13:18:40 +02:00
Rémi Verschelde
c8ce7e34e2
i18n: Misc fixes translation strings
...
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:57:54 +02:00
Rémi Verschelde
60eec78a1f
Merge pull request #61558 from kleonc/triangle_mesh_from_triangle_strip
...
Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP`
2022-06-07 22:07:16 +02:00
Rémi Verschelde
5ebdfc31b2
Merge pull request #61319 from JFonS/taa_wip
...
Initial TAA implementation
2022-06-07 20:53:55 +02:00
Rémi Verschelde
96f41d6ada
Merge pull request #61284 from KoBeWi/steal_image()
...
Remove image property of ImageTexture
2022-06-07 20:53:09 +02:00
Rémi Verschelde
d52a79ad22
Merge pull request #59786 from V-Sekai/ok_color
...
Allow picking similar colours using OKHSL.
2022-06-07 20:52:32 +02:00
sps1112
1f361b0367
Bind vararg method flag in core constants
2022-06-07 17:06:34 +02:00
kobewi
c519a667ad
Remove image property of ImageTexture
2022-06-07 16:30:54 +02:00
Rémi Verschelde
e24e4935ff
Merge pull request #61751 from KoBeWi/ 🐱 👤
2022-06-07 16:02:16 +02:00
Rémi Verschelde
3f8d86b076
Merge pull request #50349 from Calinou/array-add-some-every
...
Add `any()` and `all()` methods to Array
2022-06-07 15:15:22 +02:00
K. S. Ernest (iFire) Lee
1b776a6e7a
Allow picking similar colours using OKHSL.
2022-06-07 05:53:27 -07:00
kobewi
83014f8901
Add GLOBAL_DEF_INTERNAL to hide specific settings
2022-06-07 14:14:03 +02:00
Rémi Verschelde
7f5c10b588
Merge pull request #61737 from LightningAA/fix-frac-typo
...
Fix typo "Frac" instead of "Fract"
2022-06-07 14:10:56 +02:00
jfons
ba832d83b2
Initial TAA implementation
...
Initial TAA support based on the implementation in Spartan Engine.
Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-07 13:14:44 +02:00
bruvzg
6e4cdad3ac
[TextServer] Adds support for TrueType / OpenType collection files (*.TTC, *.OTC).
2022-06-07 11:35:59 +03:00
Rémi Verschelde
83421cd06f
Merge pull request #59883 from KoBeWi/merge_this
2022-06-06 23:38:29 +02:00
Haoyu Qiu
83d931ad3c
Fix `Viewport.own_world_3d` documentation
...
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-06-06 21:34:40 +08:00
smix8
cfdfd304f1
Add NavigationRegion costs for pathfinding
...
Add NavigationRegion costs for pathfinding.
2022-06-06 15:25:06 +02:00
bruvzg
b3bbf3db47
[GDExtension] Expose Variant, NodePath and StringName hash functions.
2022-06-06 12:19:56 +03:00
Aaron Record
14df02b21f
Fix typo "Frac" instead of "Fract"
2022-06-05 19:20:32 -06:00
Nathan Franke
8d66896a47
rename 'configuration' to 'replication_config' in MultiplayerSynchronizer
2022-06-04 18:30:31 -05:00
Winston Yallow
2a2c931664
typo: change congiruation into configuration
2022-06-04 18:49:23 +02:00
Rémi Verschelde
ecde7ce834
Merge pull request #61669 from fire-forge/input
...
Make Input `mouse_mode` and `use_accumulated_input` properties
2022-06-04 15:52:34 +02:00
kobewi
505a2ce468
Improve EditorPlugin state documentation
2022-06-03 22:45:56 +02:00
FireForge
f16c33fff6
Make Input mouse_mode and use_accumulated_input properties
2022-06-03 14:19:38 -05:00
Raul Santos
3e53afd52c
Add array element type to `get_connected_joypads`
2022-06-03 20:37:46 +02:00
smix8
3066091780
Match NavMap and ProjectSettings with NavigationMesh defaults
...
Match NavMap and ProjectSettings with NavigationMesh defaults since the NavMap edge merging requires a matching cell_size with the NavigationMesh to create connections without issues.
2022-06-03 19:17:49 +02:00
Rémi Verschelde
798b39ed44
Merge pull request #61623 from smix8/navigation_navpoly_getmesh_4.x
2022-06-03 10:49:39 +02:00
Rémi Verschelde
a21cb213cb
Merge pull request #61619 from smix8/navigation_navobstacles_doc_4.x
2022-06-02 16:57:05 +02:00
Fabio Alessandrelli
70c2b4bebd
Merge pull request #60711 from nathanfranke/rpc-server
...
network - finish renaming AUTH to AUTHORITY
2022-06-02 11:07:41 +02:00
smix8
8bcce0ebb2
Expose get_mesh() for NavigationPolygon Resources
...
Expose get_mesh() for NavigationPolygon Resources.
2022-06-02 09:52:26 +02:00
smix8
d1959cabd9
Note that NavigationObstacles should only be used if necessary and for moving objects only
...
Note that NavigationObstacles should only be used if necessary and for moving objects only.
2022-06-02 01:24:43 +02:00
Rémi Verschelde
6cd730ea98
Merge pull request #61339 from lyuma/streampeerssl_get_stream
2022-06-02 00:27:07 +02:00
Rémi Verschelde
d9daf3869f
Merge pull request #61607 from smix8/navigation_agent_height_offset_doc_4.x
...
Document that NavigationAgent height offset is mostly a placebo
2022-06-01 19:44:31 +02:00
smix8
b1d9853415
Document that NavigationAgent height offset is mostly a placebo
...
Document that NavigationAgent height offset is mostly a placebo.
2022-06-01 18:25:04 +02:00
Sergey Pershenkov
adccb9fd60
draw_circle() draws a filled circle
2022-06-01 11:38:09 +03:00
Rémi Verschelde
3ab3293334
Merge pull request #61593 from smix8/navigation_doc_navserver_syncphase_4.x
...
Add class doc that NavigationServer changes are not instant
2022-06-01 10:10:17 +02:00
smix8
7f72b7b3ad
Add class doc that NavigationServer changes are not instant
...
Add class doc that NavigationServer changes are not instant.
2022-06-01 09:38:32 +02:00
Rémi Verschelde
70eaaf2a01
i18n: Sync classref translations with Weblate
...
(cherry picked from commit af8a02ddaf
)
2022-06-01 00:42:11 +02:00
kobewi
a0915e6dee
Add Dictionary.merge()
2022-05-31 21:05:56 +02:00
kleonc
9b556c96f0
Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP`
2022-05-31 13:57:42 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
Yuri Rubinsky
3ed2a0428c
Merge pull request #61515 from Geometror/improve-graphedit-hotzones
2022-05-30 17:39:34 +03:00
Hendrik Brucker
771cb1261a
Improve and fix the GraphNode port hotzones
...
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
Hugo Locurcio
e4706ef933
Change instances of "returns an empty Variant" to "returns null" in docs
...
While "returns an empty Variant" technically valid (it's constructed
as `Variant()` in C++), "returns null" is more intuitive to users.
2022-05-29 20:12:32 +02:00
dtesniere
55b63eceaa
Fix class name : change "string" to "String"
...
Change case of "s" letter : "string" does not compile but "String" does (for gdScript)
2022-05-29 00:40:56 +02:00
Rémi Verschelde
f2a7bb6b51
Merge pull request #59943 from jordigcs/gdscript_warning_enums
...
Add enum values (Ignore, Warn, Error) to GDScript warnings
2022-05-26 00:52:01 +02:00
Lyuma
7e28385948
Add StreamPeerSSL.get_stream() accessor.
2022-05-25 12:43:19 -07:00
Nathan Franke
f464caf214
finish renaming AUTH to AUTHORITY
2022-05-25 14:31:46 -05:00
Rémi Verschelde
40da29341e
Merge pull request #61243 from Calinou/fogvolume-add-cone-cylinder-shape
...
Add Cone and Cylinder shapes to FogVolume
2022-05-25 17:30:06 +02:00
Hugo Locurcio
a98e31aa3a
Add `any()` and `all()` methods to Array
...
These can be used as faster, more convenient shorthands to
using `filter()` + `size()`.
2022-05-25 16:09:10 +02:00