Wysocki Patryk
6340e4c83f
Expose AnimationNodeOneShot::mix_mode as a property
...
Fixes #23458 .
(cherry picked from commit f16c483c9d
)
2022-01-25 18:55:51 +01:00
Rémi Verschelde
2eb12f1d71
doc: Clarify expected type of `Object *` parameters in Tree methods
...
They're meant to be `TreeItem *` but this can't be bound in Variant.
Fixes #20538 .
(cherry picked from commit 81f2ce4e46
)
2022-01-25 18:24:02 +01:00
SnailRhymer
6ac800aab7
Add clarification to tile_set_modulate
...
To resolve 45677, adds a note to tile_set_modulate clarifying how to use tile_modulate in shaders.
2022-01-24 21:23:04 +00:00
Max Hilbrunner
54de063890
[3.x] Fix make_rst.py on Windows
2022-01-24 10:28:22 +01:00
Pawel Lampe
67cf622935
Improve `Navigation2D` default settings, fixes #56852
...
This commit reduces `cell_size` and `edge_connection_margin` default
values so that `Navigation2D` behaves more like in Godot <= `3.4` by default.
2022-01-23 14:07:31 +01:00
Rémi Verschelde
e33f8df9ca
Merge pull request #56984 from Calinou/doc-softbody-no-gameplay-3.x
2022-01-23 12:54:36 +01:00
LoserFox
0af26280b6
Fix some errors in Environment documentation
...
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-23 00:45:27 +01:00
Rémi Verschelde
6c0c0c4b29
Merge pull request #54165 from Calinou/directional-shadow-runtime-change-3.x
...
Allow changing directional shadow size at run-time
2022-01-22 15:25:09 +01:00
Mak Kma
1c3d3af6ef
backported method get_rid for NavigationAgent
2022-01-21 00:15:16 +03:00
Rémi Verschelde
a9b10054b8
Merge pull request #56950 from timothyqiu/has-clipboard-3.x
2022-01-20 12:09:53 +01:00
skyace65
c540a17efc
Better explain JSON print indent parameter (3.x)
2022-01-19 20:37:58 -05:00
Hugo Locurcio
94b1ae5599
Document that soft bodies should be avoided for gameplay purposes
2022-01-20 01:36:39 +01:00
rafallus
27fc50d54a
Fix `input_ray_pickable` documentation for `CollisionObject3D`
...
(cherry picked from commit ba7d3f8331
)
2022-01-19 16:04:16 +01:00
kobewi
ccb52db232
Clarify to_float() and to_int() methods
...
(cherry picked from commit 7bb682651f
)
2022-01-19 16:04:16 +01:00
bruvzg
7eb8339f6c
[Documentation] Add instruction how to execute built-in commands of various shells.
...
(cherry picked from commit 9faf1e027a
)
2022-01-19 16:04:16 +01:00
kobewi
986b99ed5c
Mention that modifying text erases BBCode stacks
...
(cherry picked from commit 3f0e9da5a4
)
2022-01-19 16:01:04 +01:00
Haoyu Qiu
76297e744d
Add `OS.has_clipboard()` to check clipboard content
2022-01-19 20:19:06 +08:00
QueenOfSquiggles
cab89124ff
Fixed a typo in BakedLightmap documentation
...
"capture_propagation" member documentation description was missing the second 'p' in "propagation". Fixed this minor typo
Also resubmitting pull request to 3.x branch as per @Calinou's recommendation.
2022-01-17 09:56:49 -06:00
Haoyu Qiu
7f49e5beec
Expose `Image.COMPRESS_SOURCE_LAYERED` to scripting
2022-01-17 20:43:05 +08:00
Rémi Verschelde
879244c54e
Merge pull request #56015 from bruvzg/phy_code_conv
2022-01-16 11:36:26 +01:00
Rémi Verschelde
22166639ed
Merge pull request #56366 from Calinou/async-shaders-use-in-editor
...
Use asynchronous shader compilation and cache in the editor if requested
2022-01-16 10:34:07 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Yuri Sizov
58319564fa
Unify theme item lookup in Controls and respect default font
2022-01-13 15:21:55 +03:00
Haoyu Qiu
b6f0460520
Remove duplicated sentence in EditorVCSInterface classref
2022-01-13 14:39:12 +08:00
Rémi Verschelde
1cc3184f6e
Merge pull request #55444 from Calinou/doc-spritebase3d-modulate-material-override-3.x
...
Document using SpriteBase3D's `modulate` property with material override (3.x)
2022-01-13 00:00:10 +01:00
Hugo Locurcio
027a584faf
Document using SpriteBase3D's `modulate` property with material override
2022-01-12 22:37:15 +01:00
Rémi Verschelde
b9b23d2226
i18n: Sync classref translations with Weblate
2022-01-12 18:45:01 +01:00
skyace65
a28955ac46
Fix normal map description
...
(cherry picked from commit d856074488
)
2022-01-12 17:34:56 +01:00
kobewi
8edc8a95b1
Improve FileDialog filters
...
(cherry picked from commit b403954e41
)
2022-01-12 17:33:16 +01:00
Haoyu Qiu
4621b41bfc
Add drag start/end signals for Slider
...
(cherry picked from commit 753ae7403f
)
2022-01-12 17:31:39 +01:00
kobewi
46f65f9d79
Improve description of mouse_exited signal
...
(cherry picked from commit 4eec0032ea
)
2022-01-12 17:28:46 +01:00
zacryol
40b7b575c6
List AnimatedSprite3D in SpriteFrames description
...
Both AnimatedSprite2D and AnimatedSprite3D use a SpriteFrames resource, but the SpriteFrames
class description currently only lists being used with the 2D variant.
(cherry picked from commit 4391f6a5b5
)
2022-01-12 17:28:08 +01:00
Sam
ea2080112d
Fixed typos in MeshDataTool documentation
...
- Fixed missing "be" typo in MeshDataTool's get_face_edge function
- Corrected documentation to say negative values aren't valid
(cherry picked from commit bc9df365b0
)
2022-01-12 17:28:08 +01:00
zacryol
21526aa578
Update description of FileDialog `filters` property
...
specify that multiple filetypes/extensions can be included in one filter within the
PackedStringArray, and provide an example
(cherry picked from commit 123cfb4759
)
2022-01-12 17:28:07 +01:00
Arnav Vijaywargiya
a51f3f2a58
Fixed incorrect property types
...
(cherry picked from commit 0c46f73b5e
)
2022-01-12 17:28:07 +01:00
bruvzg
6eac65d4fe
Add joystick button index boundary check. Increase max. button number to 128 (max. buttons supported by DirectInput).
...
(cherry picked from commit 61ea8f8337
)
2022-01-12 17:28:07 +01:00
skyace65
7c61e6f72f
Document how to erase project settings with set_setting
...
(cherry picked from commit 290038952f
)
2022-01-12 17:28:07 +01:00
Haoyu Qiu
fe1e6eb995
Explain what 2D cross product means
...
(cherry picked from commit d54586a8e6
)
2022-01-12 17:28:07 +01:00
David Cambré
c2a9de23f5
Update default port_grab_distance_vertical
...
(cherry picked from commit 38ad72af44
)
2022-01-12 17:28:07 +01:00
follower
99416a21fb
Fix the "AudioEffectRecord" descriptions.
...
The `AudioEffectRecord` effect has no microphone capture-specific functionality--it can be used with any audio bus.
This patch attempts to clarify this fact (so people like me who want to capture audio output know they're in the right place) while still providing a pointer use of the effect with `AudioStreamMicrophone` for microphone capture.
(cherry picked from commit 022f49437b
)
2022-01-12 17:28:06 +01:00
Rémi Verschelde
09884f17a3
Revert "Warn when using an AABB or Rect2 with a negative size"
...
This reverts commit d75e580765
.
Fixes #56509 .
2022-01-12 17:28:03 +01:00
Rémi Verschelde
1b0ba42ea1
Merge pull request #55268 from Calinou/gpu-particles-macos-performance-warning
2022-01-12 16:51:31 +01:00
Rémi Verschelde
e805ec8574
Merge pull request #54871 from timothyqiu/remove-theme-override
...
[3.x] Add methods to remove theme overrides
2022-01-11 20:16:05 +01:00
Rémi Verschelde
8a192cd0ab
Merge pull request #55987 from bruvzg/wt 🤎 3
2022-01-10 16:43:56 +01:00
Rémi Verschelde
edd9534f97
Merge pull request #53900 from ChronicallySerious/update-vcs-1
2022-01-10 12:18:57 +01:00
Rémi Verschelde
cd47ff1411
Merge pull request #56639 from skyace65/Tweenmethods
...
Add note on when tween methods return false (3.x)
2022-01-09 19:14:08 +01:00
skyace65
4bd1ce49e6
Add note om when tween methods return false (3.x)
2022-01-08 21:51:30 -05:00
Haoyu Qiu
dd462f512d
Misc documentation improvements
2022-01-08 22:39:00 +08:00
Rémi Verschelde
01fef99749
Merge pull request #56325 from pycbouh/editor-resource-picker-needs-type-3.x
2022-01-07 16:13:46 +01:00
Rémi Verschelde
4737f563df
Fixup class reference after #54824
2022-01-07 15:25:28 +01:00
Rémi Verschelde
aad12a2df5
Merge pull request #54824 from LightningAA/backport-gradient-texture-2d
2022-01-07 14:47:44 +01:00
Rémi Verschelde
defb801120
i18n: Sync classref translations with current 3.x codebase
2022-01-07 13:34:14 +01:00
Rémi Verschelde
e9484e057d
i18n: Sync classref translations with Weblate
2022-01-07 13:30:22 +01:00
Rémi Verschelde
c62de9abec
i18n: Make more `make_rst.py` strings translatable
...
For now we leave out the strings which could break rst table formatting.
(cherry picked from commit fd1d0c28c2
)
2022-01-07 13:30:21 +01:00
fabriceci
10e63b8dd6
backport moving_platform_apply_velocity_on_leave
2022-01-07 12:54:49 +01:00
Pierre-Thomas Meisels
7dd8e364b1
OSX: Add signing of directory structure in Library when exporting for OSX.
...
Add exporting of folder structure in PlugIns when exporting for OSX.
2022-01-07 01:15:37 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
bruvzg
6f81a8ee2c
Fix multiple missing UTF-8 decoding.
...
(cherry picked from commit c69e0d16bc
)
2022-01-06 21:44:40 +01:00
Rémi Verschelde
5fa1961ee3
Merge pull request #56369 from Rubonnek/expose-string-join
2022-01-06 15:14:18 +01:00
Haoyu Qiu
df527b37d5
Unify similar method descriptions
...
Notably:
* `Pool*Array.size()` and `Array.size()`.
* Shared methods of `Transform2D` and `Transform`.
* Shared methods of `Vector2` and `Vector3`.
This reduces the Deja Vu when translating the class reference :)
2022-01-06 19:49:05 +08:00
Rémi Verschelde
8f17a4037b
Merge pull request #56466 from Chaosus/vs_uniform_hints_3.x
2022-01-06 09:39:27 +01:00
Wilson E. Alvarez
4106f95f30
Expose autotile_coord parameter in TileMap.set_cellv
2022-01-05 21:24:35 -05:00
kobewi
2dc30888bf
Fix get_v_scroll() desctiption in ItemList
...
(cherry picked from commit f97ab4a0e4
)
2022-01-06 00:28:05 +01:00
Lertsenem
942f15fa4e
Fix error in Vector2.reflect() description
...
The description was probably copied from Vector3.reflect(), and
unfortunately did not match the 2D behaviour (where n is apparently the
direction vector of the symmetry line, not the normal).
(cherry picked from commit e1bf428cdc
)
2022-01-06 00:23:59 +01:00
Hugo Locurcio
8d3e16676d
Document keyboard ghosting caveats in Input and InputEvent
...
This also adds recommendations for choosing between
`is_physical_key_pressed()` and `is_key_pressed()`.
(cherry picked from commit d01e22f187
)
2022-01-06 00:21:37 +01:00
skyace65
098a8dab0d
Add warning to only use convex hull points when setting the point property for convex polygon shape
...
(cherry picked from commit 6b18614de7
)
2022-01-06 00:21:36 +01:00
skyace65
ea637f641e
State that get static memory usage only works in debug
...
(cherry picked from commit 32b4edbe4e
)
2022-01-06 00:21:36 +01:00
skyace65
97695d3796
Improve mouse input event class reference
...
(cherry picked from commit 37dfe5c706
)
2022-01-06 00:21:36 +01:00
Hugo Locurcio
299d277c9c
Warn when using GPU-based particles on macOS due to low performance
...
On macOS, Particles rendering is much slower than CPUParticles
due to transform feedback being implemented on the CPU instead
of the GPU.
2022-01-06 00:10:32 +01:00
Rémi Verschelde
91c5a336e8
Merge pull request #55718 from bruvzg/oversampling_override
2022-01-06 00:07:48 +01:00
Jake Young
09bc9eb101
Backport NavigationServer with RVO2 to `3.x`
...
Change the entire navigation system.
Remove editor prefix from nav mesh generator class. It is now used for baking
at runtime as well.
Navigation supports obstacle avoidance now with the RVO2 library.
Nav system will also automatically link all nav meshes together to form one
overall complete nav map.
2022-01-05 16:00:56 +01:00
Hugo Locurcio
ccd8cdc363
Improve the CanvasItem class documentation
2022-01-05 02:04:44 +01:00
Hugo Locurcio
73ec2c6ece
Improve the CameraServer and CameraFeed class documentations
...
This closes https://github.com/godotengine/godot-docs/issues/3255 .
2022-01-04 19:25:50 +01:00
Max Hilbrunner
c44de001de
Merge pull request #56395 from aaronfranke/3.x-doc-midi
...
[3.x] Document InputEventMIDI and add some missing 0xF MIDI messages
2022-01-04 18:28:16 +01:00
Rémi Verschelde
25369acff9
Merge pull request #51708 from Calinou/viewport-add-32bpc-color-depth
2022-01-04 14:30:24 +01:00
Aaron Franke
da88e42f16
[3.x] Document InputEventMIDI and add some missing 0xF MIDI messages
2022-01-04 05:30:15 -08:00
Max Hilbrunner
1ffcd7b92a
Merge pull request #56150 from snailrhymer/patch-2
...
[3.x] Fix descriptions of `set_cell` and `set_cellv` in TileMap.xml
2022-01-04 14:04:48 +01:00
Max Hilbrunner
7fae8f6828
Merge pull request #56152 from belzecue/patch-4
...
Update CharFXTransform: explain "relative index"/"absolute index"
2022-01-04 13:56:07 +01:00
Max Hilbrunner
5083901561
Merge pull request #56378 from Calinou/doc-spatialmaterial-flowmap-format
...
Document the expected format of anisotropy flowmaps in SpatialMaterial
2022-01-04 13:48:37 +01:00
Yuri Roubinsky
5b0fe7880e
[3.x] Add hints and default values to the uniform nodes in visual shader
2022-01-03 22:59:10 +03:00
Max Hilbrunner
08ce24a3c4
Merge pull request #56234 from timothyqiu/3.x-at-tool-script
...
Use `tool` instead of `@tool` in 3.x documentation
2022-01-02 03:09:09 +01:00
Max Hilbrunner
40f7dcbc7e
Merge pull request #56241 from KoBeWi/r3gist3r_b3for3_us3
...
[3.x] Improve docs about plugin registration
2022-01-02 03:08:02 +01:00
Hugo Locurcio
9937f7f50d
Document the expected format of anisotropy flowmaps in SpatialMaterial
2021-12-31 17:29:03 +01:00
Wilson E. Alvarez
d03b82cde7
Expose String::join over to GDScript
2021-12-30 21:27:18 -05:00
Hugo Locurcio
ae918c3041
Use asynchronous shader compilation and cache in the editor if requested
...
This provides more consistent behavior between the editor and running
project.
2021-12-31 02:20:29 +01:00
Yuri Sizov
d9bf3e5e35
Fix return type for the exposed EditorResourcePicker method
2021-12-29 21:57:14 +03:00
kobewi
4fc795194b
Improve docs about plugin registration
2021-12-25 16:55:03 +01:00
Haoyu Qiu
7b83b5ea3c
Use tool instead of at-tool in 3.x documentation
2021-12-25 10:56:34 +08:00
Haoyu Qiu
bb1eb84da4
Alpha channel indicates opacity, not transparency
2021-12-24 16:52:32 +08:00
belzecue
89cebd79e8
Update CharFXTransform: explain "relative index"/"absolute index" (previously identical)
...
Confusingly, these two properties had identical descriptions even though they measure different things.
"relative_index" measures character count from the custom effect's bbcode opening tag.
"absolute_index" measures character count from the start of the bbcode text that includes the custom effect.
See the code author's own explanation here: https://github.com/godotengine/godot/pull/23658
NOTE: Doco for CharFXTransform.xml has changed significantly in 4.0, where terminology has changed to "glyph". Therefore, proposing this change for 3.x branch only.
2021-12-22 14:17:47 +08:00
snailrhymer
73f4531c97
Fix descriptions of set_cell and set_cellv in TileMap.xml
...
Swap the first lines of the descriptions for set_cell and set_cellv to correctly describe which accepts x and y as separate arguments and which accepts a Vector2.
Fix not relevant to master branch due to changes to TileMap.
2021-12-22 02:37:12 +00:00
Rémi Verschelde
f2ddafd860
i18n: Add `--lang` option to `make_rst.py` to write translated headings
...
Add a few missing headings to the translation templates.
(cherry picked from commit b98785309f
)
2021-12-21 14:40:13 +01:00
Rémi Verschelde
aac4e36149
i18n: Sync classref translations with 3.x branch (3.5-beta)
...
This is the new base branch for the classref translations to prepare them
for the 3.5 release.
This means that the 3.4 class ref translations will likely no longer get
updates, as we can't easily maintain two slightly different branches on
Weblate.
2021-12-21 12:33:57 +01:00
Rémi Verschelde
8ed5192f74
i18n: Sync classref translations with Weblate
...
(cherry picked from commit eb4816ee13
)
2021-12-21 12:33:57 +01:00
Rémi Verschelde
05faadab2d
i18n: Remove line numbers from classref PO files
...
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.
We still have the file names so it's relatively easy to search in file to find
the location of the source string.
(cherry picked from commit dbfe36728e
)
2021-12-21 12:33:56 +01:00
Haoyu Qiu
e40bb68c05
Add / to the unix shortcut drive list
...
Also made `get_current_drive()` to pick the longest match on Unix.
(cherry picked from commit 67f04b381b
)
2021-12-21 12:11:14 +01:00
cdemirer
8e29a37800
Clarify that replace_by keeps child nodes in tree
...
(cherry picked from commit 98a3948bf9
)
2021-12-21 12:11:14 +01:00
kobewi
4f284893a6
Document get_minimum_size not called in some nodes
...
(cherry picked from commit 7d5ee8f694
)
2021-12-21 12:11:14 +01:00
Micky
9fc2bc6cf2
Various improvements to Camera2D's documentation
...
A summary of the tweaked descriptions:
* "get_camera_position()" is explains what the camera position is, and mitigates the confusion between this method and Node2D.position;
* "get_camera_screen_center()" links to the "get_camera_position" method;
* "reset_smoothing()" links to the "smoothing_enabled" propriety;
* "drag_horizontal_offset" and "drag_vertical_offset" link to their respective _enabled_ properties;
* "limit_smoothed" links to the "smoothing_enabled" propriety;
* "rotating" clarifies that the camera _view_ rotates when enabled.
Partially closes https://github.com/godotengine/godot-docs/issues/5417 , as some of the issues described are no longer present in 4.0, or are not fully solved in this PR.
Further tweaks are welcome, as I'm afraid this could be a too verbose. A few of these could be split into their PR if necessary.
(cherry picked from commit 6cf2623a20
)
2021-12-21 12:11:14 +01:00
Haoyu Qiu
36642738e0
Update `make_rst.py` for non-latin texts
2021-12-21 16:36:53 +08:00