Hugo Locurcio
a3eac5fc7c
Move transparent background project setting to a subsection
...
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Zak
d73a9b56b0
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-17 15:27:33 +01:00
Rémi Verschelde
7972107c48
Merge pull request #70114 from clayjohn/custom-aabb
...
Expose GeometryInstance3D.custom_aabb property
2022-12-17 12:27:46 +01:00
Rémi Verschelde
ffed638cbc
Merge pull request #70116 from Calinou/vibrate-handheld-silence-warning
...
Silence `Input.vibrate_handheld()` warning as it's already documented
2022-12-16 13:47:11 +01:00
Rémi Verschelde
912fd3f0e1
Merge pull request #64563 from timothyqiu/word-wrap
...
Fix `String::word_wrap()` for long words
2022-12-16 13:47:05 +01:00
Ignacio Roldán Etcheverry
df0cf08878
Merge pull request #69867 from raulsntos/dotnet/color
...
C#: Synchronize Color with Core
2022-12-16 13:17:03 +01:00
SaracenOne
092dbe52a9
Change auto_advance flag to advance_mode enum and unify with disabled flag.
...
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
Haoyu Qiu
207e52c161
Fix String::word_wrap() for long words
...
- Changes `TextServer.string_get_word_breaks()`
- Returns pairs of boundary start and end offsets
- Accepts `chars_per_line` to return line breaks
- Removes `String::word_wrap()`
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-16 13:18:57 +08:00
Raul Santos
d843a7ab97
C#: Synchronize Color with Core
...
- Add `Luminance` readonly property.
- Add `LinearToSrgb` and `SrgbToLinear` static methods.
- Add `FromOkHsl` static method.
- Add `FromRgbe9995` static method.
- Add `FromString` static method.
- Expose `FromHtml` static method.
- Expose `HtmlIsValid` static method.
- Add and update some Color documentation.
2022-12-16 03:04:05 +01:00
Hugo Locurcio
4a991887bf
Silence Input.vibrate_handheld()
warning as it's already documented
...
The warning causes messages to be spammed if you are calling this
method in a game that runs on both desktop and mobile platforms,
unless you guard all calls to `Input.vibrate_handheld()` with
`OS.has_feature("mobile") or OS.has_feature("web")`.
Since the limitation is already documented (and is obvious enough
given the method's name), the warning message is redundant.
2022-12-16 01:12:20 +01:00
bruvzg
53c76fa5d1
[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.
2022-12-15 23:16:02 +02:00
clayjohn
5d51478d70
Expose GeometryInstance3D.custom_aabb property
2022-12-15 10:03:40 -08:00
Yuri Rubinsky
d99ea32999
Merge pull request #70102 from Chaosus/rd_remove_usage_indirect
2022-12-15 16:22:19 +03:00
Rémi Verschelde
346efd29e0
Fix typos with codespell
2022-12-15 12:24:08 +01:00
Yuri Rubinsky
807632a90c
Changed STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT
type to enum flags
2022-12-15 14:10:37 +03:00
Gilles Roudière
ffec180ccc
Remove a confusing TileMap warning
2022-12-15 11:27:38 +01:00
Yuri Rubinsky
ecd2c5d5b9
Improve documentation on heuristics in AStarGrid2D
2022-12-15 09:43:17 +03:00
Rémi Verschelde
db6976eed4
Merge pull request #70028 from clayjohn/PM-GLES3
...
Added gl_compatibility as an option to the project creation screen
2022-12-14 00:20:52 +01:00
Rémi Verschelde
f3080459d9
Merge pull request #69732 from KoBeWi/rc_undo
...
Add remote history to EditorUndoRedoManager
2022-12-14 00:19:23 +01:00
Rémi Verschelde
465d4c1d95
Merge pull request #70009 from clayjohn/glow-hq
...
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13 23:32:15 +01:00
Rémi Verschelde
fc517e6c89
Merge pull request #70003 from clayjohn/GLES3-cc
...
Various fixes and documentation for CanvasGroup
2022-12-13 23:31:43 +01:00
clayjohn
324f5364e7
Added gl_compatibility as an option to the project creation screen
...
Last selected option is saved as default for next time
2022-12-13 14:11:07 -08:00
clayjohn
bdd4001ef0
Various fixes and documentation for CanvasGroup
...
Properly apply custom materials with CanvasGroups in the GLES3 backend
Properly blur backbuffer when using a partial rect in forward_plus and
gl_compatibility renderers
Properly set fit_margin when clear_margin is set
Fix shader error during backbuffer clear in mobile renderer
2022-12-13 10:22:18 -08:00
clayjohn
5b5cd2b98b
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13 10:15:45 -08:00
Rémi Verschelde
c7c561ffd5
i18n: Sync classref translations with Weblate (3.5 branch)
...
(cherry picked from commit f5f0543aec
)
2022-12-13 14:38:58 +01:00
Yuri Sizov
29dc73fc6c
Improve signal documentation for Area2D/3D
2022-12-12 23:15:14 +03:00
Andrés Botero
3afe5d0c25
Fix docstring for String.get_base_dir
2022-12-12 13:12:25 -05:00
Rémi Verschelde
ec8f52df8f
Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.x
...
Fix Navigation agent callback wild pointer crash
2022-12-12 13:51:48 +01:00
smix8
194c1c44e0
Fix Navigation agent callback wild pointer crash
...
Fixes crash in sanitizer builds when callback agent or object are already freed.
2022-12-12 13:03:55 +01:00
Rémi Verschelde
f1edd03d4c
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
...
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
Rémi Verschelde
a900383e57
Merge pull request #67038 from Calinou/xdg-paths-linux-only
...
Only support XDG directory path configuration on Linux
2022-12-12 11:43:48 +01:00
Hugo Locurcio
6799d000b1
Only support XDG directory path configuration on Linux
...
XDG support breaks when running Windows builds via WINE.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:43:16 +01:00
Rémi Verschelde
ba3a2adb90
Merge pull request #67050 from KoBeWi/syrt
...
Warn if isometric TileMap is not Y-sorted
2022-12-12 11:40:54 +01:00
Gilles Roudière
be1c9d677d
Rename all gdnative occurences to gdextension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
Rémi Verschelde
c0e05e834a
Merge pull request #69714 from flatline-84/editor_scene_post_import_doc_example
...
updated example documentation for EditorScenePostImport
2022-12-12 08:27:36 +01:00
flatline-84
bd78d464e6
updated example documentation for EditorScenePostImport
2022-12-12 16:06:35 +11:00
Rémi Verschelde
c00b9e5b34
Merge pull request #69905 from Chaosus/rd_dynamic_state_flag
...
Changed `RD::PipelineDynamicStateFlags` type to enum flags
2022-12-11 15:18:14 +01:00
Rémi Verschelde
1a8785f75d
Merge pull request #69559 from timothyqiu/unique-call
...
Add note about `GROUP_CALL_UNIQUE` not considering arguments
2022-12-11 15:17:58 +01:00
Yuri Rubinsky
6e48db69a3
Changed RD::PipelineDynamicStateFlags
type to enum flags
2022-12-11 15:37:35 +03:00
Rémi Verschelde
21136aaf9a
Merge pull request #67399 from Calinou/rename-precision-double-scons
...
Rename `float=64` SCons option to `precision=double`
2022-12-10 22:08:18 +01:00
Josh Jones
5769b0e8d8
Enable assigning an owner to navigation regions and links
...
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-12-10 12:03:06 -08:00
Hugo Locurcio
063637ec77
Rename float=64
SCons option to precision=double
...
This avoids confusion with the old `bits=64` option and building
for 64-bit CPUs in general.
2022-12-10 16:43:45 +01:00
Rémi Verschelde
c9ea6caac8
Merge pull request #69831 from Calinou/audio-random-no-repeats-remove-warning
...
Remove warning when playing random no-repeat sound with only 1 sound in pool
2022-12-10 10:46:24 +01:00
Hugo Locurcio
35d788cff5
Remove warning when playing random no-repeat sound with only 1 sound in pool
...
This makes setting up sounds for random pitch/volume faster, as you
don't have to change the mode from Random (Avoid Repeats) to Random
anymore if you only care about randomizing pitch/volume but want
to prevent a warning message from appearing on every playback.
2022-12-09 23:06:51 +01:00
Micky
45e991fdc2
Update StringName documentation to match String's
2022-12-09 20:03:40 +01:00
Rémi Verschelde
907298d673
Merge pull request #68747 from rune-scape/rune-stringname-unification
...
GDScript: Unify StringName and String
2022-12-09 18:06:48 +01:00
Rémi Verschelde
597e0c0fb9
Merge pull request #69353 from YuriSizov/window-be-more-like-your-brother
...
Copy local theme overrides from `Control` to `Window`
2022-12-09 18:06:34 +01:00
Rémi Verschelde
75e558e271
Merge pull request #69774 from Calinou/backbuffercopy-only-show-rect-when-relevant
...
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
2022-12-09 06:52:03 +01:00
Hugo Locurcio
080b6ac1ae
Fix BackBufferCopy rect
property appearing when not relevant in inspector
...
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 19:52:48 +01:00
kobewi
f764db1bdd
Add remote history to EditorUndoRedoManager
2022-12-08 15:06:29 +01:00
Haoyu Qiu
80ccd46dcd
Use capitalized ID in the doc
2022-12-08 09:40:49 +08:00
Yuri Sizov
29cc86fa6c
Copy local theme overrides from Control to Window
2022-12-07 20:50:51 +03:00
Rémi Verschelde
0a3f66471e
Merge pull request #69712 from bruvzg/real_size
...
Rename `window_get_real_size`, add position counterpart.
2022-12-07 14:29:46 +01:00
Rémi Verschelde
39ad411369
Merge pull request #69707 from bruvzg/x11_exfs
...
[Linux/X11] Split fullscreen mode into `WINDOW_MODE_EXCLUSIVE_FULLSCREEN` and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
2022-12-07 14:29:37 +01:00
Rémi Verschelde
a565ddcd09
Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optional
...
Make submitting depth buffer in OpenXR optional
2022-12-07 13:25:42 +01:00
Rémi Verschelde
de2d0f156e
Merge pull request #69713 from groud/rename_get_surrounding_tiles
...
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 13:24:57 +01:00
Gilles Roudière
3ea54bb3a1
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 11:09:10 +01:00
bruvzg
edf13eb5a6
Rename window_get_real_size
to window_get_size_with_decorations
, add window_get_position_with_decorations
.
2022-12-07 11:07:30 +02:00
Markus Sauermann
e18107a57c
Fix Determining Window for Touchscreen
...
DisplayServer::screen_is_touchscreen will likely never utilize its
parameter p_screen.
This PR replaces this function by DisplayServer::is_touchscreen_available()
with the same functionality.
This solves the problem, that a SubViewport was used for determining
the screen, which resulted in error messages.
2022-12-07 09:54:29 +01:00
bruvzg
ad0f6ff85b
[Linux/X11] Split fullscreen mode into WINDOW_MODE_EXCLUSIVE_FULLSCREEN
and WINDOW_MODE_FULLSCREEN
to improve multi-window handling.
2022-12-07 09:54:02 +02:00
Bastiaan Olij
484cd90d29
Make submitting depth buffer in OpenXR optional
2022-12-06 22:37:33 +11:00
Rémi Verschelde
05f64399c0
Merge pull request #69628 from Piralein/strong-treatment
...
fix conversion of csharp attributes in code blocks
2022-12-06 11:00:36 +01:00
Rémi Verschelde
6fd5162124
Merge pull request #55757 from Calinou/light-3d-tweak-shadow-bias
...
Tweak shadow bias defaults for DirectionalLight3D and OmniLight3D
2022-12-06 10:56:45 +01:00
Rémi Verschelde
ae37045f28
Merge pull request #68838 from Mickeon/doc-peeves-3-strings-&-3-sticks
...
Overhaul String Documentation
2022-12-06 10:47:21 +01:00
rune-scape
e79be6ce07
Unify String and StringName
2022-12-05 21:46:47 -05:00
Hana
026791027f
fix conversion of csharp attributes in code blocks
2022-12-05 22:58:47 +01:00
Hugo Locurcio
e560971bf2
Tweak shadow bias defaults for DirectionalLight3D and OmniLight3D
...
- Increase DirectionalLight3D normal bias to 2.0 to reduce shadow acne
at grazing angles.
- Decrease OmniLight3D bias to 0.1 to reduce shadow peter-panning.
2022-12-05 21:53:29 +01:00
Micky
3b71d85f9f
Overhaul String Documentation
2022-12-05 20:33:47 +01:00
Rémi Verschelde
65cbcaeaa5
Merge pull request #69594 from Mickeon/doc-peeves-read-a-dictionary
...
Overhaul Dictionary Documentation
2022-12-05 18:07:43 +01:00
Rémi Verschelde
29e4588f92
Merge pull request #68983 from Mickeon/doc-peeves-colorful
...
Tweak Color Documentation
2022-12-05 18:07:35 +01:00
Rémi Verschelde
fef6df489f
Merge pull request #68231 from Mickeon/doc-you-cannot-get-rid-of-me
...
Add missing RID operator descriptions
2022-12-05 18:06:43 +01:00
Rémi Verschelde
b5fd901b07
Merge pull request #69115 from xiongyaohua/curve2d_baking_refactor
...
Curve2d baking and sampling refactor
2022-12-05 18:06:25 +01:00
Rémi Verschelde
a50e4fed18
Merge pull request #69343 from YuriSizov/core-missing-property-revert-getters
...
Add missing public `property_*_revert` getters
2022-12-05 18:05:59 +01:00
Micky
b77f93516e
Overhaul Dictionary Documentation
2022-12-05 17:17:53 +01:00
Micky
6c6c8c2bc7
Tweak Color Documentation
2022-12-05 17:15:59 +01:00
Yaohua Xiong
91e9ad92f5
Refactor baking code for Curve2D
...
The main change is to caculate tangent directly from bezier curve, without going
through discretized polyline, avoiding pitfalls of discretization. A similar refacor
had been applied to Curve3D.
The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate()
instead of `==`, in order to avoid float precision problem.
2022-12-05 21:22:05 +08:00
Yuri Sizov
9e71cacd61
Improve layout of generated class references RST pages
...
- General improvements to the page layout
- Improved formatting for all class (properties, signals, annotations, theme properties, methods, operators, constructors, enumerations, constants)
- Added extra styling opportunities throughout the generated document
- Made generated tables more flexible to their content
- Changed highlighting for self-reference from code to strong
2022-12-05 15:30:09 +03:00
Rémi Verschelde
73de09f38e
Merge pull request #69580 from bruvzg/rtl_fix_search
...
[RTL] Fix search method not taking nested frame and line wraps into account.
2022-12-05 10:14:00 +01:00
Rémi Verschelde
8912f3e4a7
Merge pull request #69578 from dsnopek/android-native-handles
...
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer
2022-12-05 00:31:12 +01:00
Rémi Verschelde
a738f50886
Merge pull request #69357 from TokageItLab/byebye-trigger
...
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05 00:06:23 +01:00
bruvzg
889bcff24f
[RTL] Fix search method not taking nested frame and line wraps into account.
2022-12-04 22:11:21 +02:00
David Snopek
61cec0b023
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer
2022-12-04 13:07:51 -06:00
bruvzg
ecec415988
Use system fonts as fallback and improve system font handling.
...
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
2022-12-04 18:44:20 +02:00
Haoyu Qiu
3f2d6f5f6c
Add note about GROUP_CALL_UNIQUE not considering arguments
2022-12-04 15:05:59 +08:00
Rémi Verschelde
e0f9bc6629
Merge pull request #64312 from KoBeWi/StringNameEdit
...
Improve usage of StringNames in GraphEdit
2022-12-03 12:45:53 +01:00
Yaohua Xiong
69f84563a3
Fix Curve3D::get_closest_point() broken
...
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem.
The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true.
The out dated document for `get_closest_point()` is also updated.
2022-12-03 17:01:03 +08:00
[Error:27]
2d7793ed4a
Make Roughness and Refraction not mention AO
...
Removes the mentions of ambient occlusion in the descriptions and replaces them with the appropriate texture channel.
2022-12-02 21:03:42 -05:00
kobewi
5490c22ffb
Improve usage of StringNames in GraphEdit
2022-12-02 22:57:23 +01:00
Silc Renew
83135aa122
Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/Player
...
#69357
2022-12-02 20:28:10 +09:00
Rémi Verschelde
8c094207a0
Merge pull request #61958 from jtnicholl/animation_connections
...
Add `animation_changed` signal to `AnimationLibrary`, have `AnimationPlayer` connect to it instead of `Animation`'s `changed`
2022-12-02 12:24:32 +01:00
Rémi Verschelde
10e9a85607
Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactly
...
Refactor process of animation to retrive keys more exactly
2022-12-02 12:24:24 +01:00
bruvzg
0541c746ee
[RichTextEffect] Restore missing relative_index
property.
2022-12-02 09:50:54 +02:00
Silc Renew
1fc3833617
Refactor process of animation to retrive keys more exactly
2022-12-01 22:07:47 +09:00
Yuri Sizov
a9961b378a
Add missing public property_*_revert getters
2022-11-29 23:07:40 +03:00
Hendrik Brucker
e84f45fc93
Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItem
2022-11-29 17:11:22 +01:00
Rémi Verschelde
09e1db2148
Merge pull request #68665 from TokageItLab/cut-unkeyed-gltf-anim
...
Add "Trimming" option to cut un-keyed timeline before first key in glTF animation
2022-11-29 16:51:56 +01:00
Silc Renew
db7473672f
Add trimming option to cut un-keyed timeline before first key in gltf
2022-11-29 13:53:33 +09:00
Rémi Verschelde
ef090ee6ea
Merge pull request #68874 from TokageItLab/fix-unique-path-keying
...
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28 14:49:34 +01:00
Rémi Verschelde
12f0660518
Merge pull request #68992 from TokageItLab/animtree-trackend-process
...
Refactor process of AnimationTree for end of animation
2022-11-28 14:49:19 +01:00
Rémi Verschelde
bb9cd4063e
Merge pull request #69199 from TokageItLab/fix-and-refactor-root-motion
...
Fix broken root motion scale & Refactor API & Add sample codes in documentation
2022-11-28 14:49:04 +01:00
Rémi Verschelde
4a459a8c52
Merge pull request #69138 from Calinou/doc-light2d
...
Document the Light2D, PointLight2D and DirectionalLight2D classes
2022-11-28 08:46:36 +01:00
Rémi Verschelde
2fadc1299d
Merge pull request #67871 from Calinou/editor-theme-add-oled-preset
...
Add Black (OLED) editor theme preset
2022-11-28 08:46:12 +01:00
Rémi Verschelde
5eeb6e5906
Merge pull request #68532 from Calinou/cmdline-user-args-add-alternative-separator
...
Allow `++` as an alternative separator to `--` for user CLI arguments
2022-11-28 08:40:14 +01:00
Rémi Verschelde
f4faa507d4
Merge pull request #68836 from Calinou/projectsettings-vrs-texture-allow-more-formats
...
Allow all lossless image formats to be used for VRS texture project setting
2022-11-28 08:38:08 +01:00
Rémi Verschelde
794adbe996
Merge pull request #69178 from aaronfranke/mesh-shape
...
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-28 08:05:50 +01:00
Yuri Rubinsky
5934eef44c
Changed RenderingDevice::TextureUsageBits
type to enum flags
2022-11-26 13:08:07 +03:00
Silc Renew
09adf5f20e
Fix broken root motion scale and refactor API
2022-11-26 17:26:10 +09:00
Aaron Franke
93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-25 11:43:11 -06:00
Micky
67cdac6db8
Remove Array.find_last()
2022-11-25 18:34:50 +01:00
Haoyu Qiu
06a0b26c9e
Fix inspector not showing name for LabelSettings.font
2022-11-25 12:48:37 +08:00
Hugo Locurcio
ca44deae9d
Document the Light2D, PointLight2D and DirectionalLight2D classes
2022-11-24 23:08:46 +01:00
Rémi Verschelde
d7e3fce995
Merge pull request #68566 from Mickeon/node-print-orphans-static
...
Make `Node.print_orphan_nodes()` static
2022-11-24 18:55:30 +01:00
Rémi Verschelde
4a8b725bc9
Merge pull request #68386 from MewPurPur/snappedi-snappedf
...
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24 18:54:49 +01:00
Rémi Verschelde
5e2bb98eee
Merge pull request #68806 from MewPurPur/printraw-warn-better-in-docs
...
Make it clearer that printraw only prints to terminal
2022-11-24 18:54:42 +01:00
VolTer
a18afb9a56
Make it clearer that printraw only prints to terminal
2022-11-24 18:08:02 +01:00
Rémi Verschelde
f6f8a48459
Merge pull request #69107 from Mickeon/oops
...
Fix warning in Signal Documentation
2022-11-24 13:24:47 +01:00
Rémi Verschelde
9d9d8a7c90
Merge pull request #69089 from raulsntos/dotnet/docs-object
...
Fix C# documentation for Godot.Object
2022-11-24 13:24:37 +01:00
Micky
c868c9fc41
Fix warning in Signal Documentation
2022-11-24 11:34:32 +01:00
Rémi Verschelde
f16c5b564b
Merge pull request #69043 from xiongyaohua/path3d_bake_refactor_fix
...
`Curve3D` bake refactor continue
2022-11-24 10:51:07 +01:00
Rémi Verschelde
f319123af9
Merge pull request #69037 from M-O-Marmalade/distortion-fixes
...
AudioEffectDistortion docs & inspector edits
2022-11-24 10:47:27 +01:00
Rémi Verschelde
c639efcbc4
Merge pull request #69086 from Calinou/doc-physicalskymaterial
...
Document PhysicalSkyMaterial's `energy_multiplier` property
2022-11-24 10:47:21 +01:00
Rémi Verschelde
92f1058311
Merge pull request #69060 from rburing/exclude_typedarray
...
Update remaining physics `exclude` parameters to use `TypedArray`
2022-11-24 10:40:25 +01:00
Raul Santos
e27f127a74
Fix C# documentation for Godot.Object
...
- Add and fix a few C# examples
- Add tips about avoiding allocating StringNames
2022-11-24 04:09:14 +01:00
Yaohua Xiong
f9fa182abc
Refactor Curve3D::_bake() method
...
The main change is to caculate tangent directly from bezier curve, without going
through discretized polyline, avoiding pitfalls of discretization.
Other changes are:
1. Add an bezier_derivative() method for Vector3, Vector2, and Math;
2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively;
3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-24 10:52:06 +08:00
Hugo Locurcio
bd457348d0
Document PhysicalSkyMaterial's energy_multiplier
property
...
This makes the PhysicalSkyMaterial class 100% documented.
2022-11-24 01:38:25 +01:00
Max Hilbrunner
f05a55ef95
Merge pull request #68217 from Mickeon/doc-stringmngffh
...
Add missing String & StringName operator descriptions
2022-11-23 21:28:17 +01:00
Max Hilbrunner
abdbd45ef9
Merge pull request #68262 from Mickeon/doc-peeves-callcallcallcallable
...
Tweak Callable's documentation
2022-11-23 21:26:29 +01:00
Ricardo Buring
4453d63bb0
Update remaining physics exclude parameters to use TypedArray
...
Also update the documentation to refer to the get_rid() method.
2022-11-23 19:39:04 +01:00
Micky
c164f1835c
Add missing String & StringName operator descriptions
2022-11-23 18:56:39 +01:00
Yuri Sizov
5923df9234
Merge pull request #67880 from Mickeon/doc-peeves-objection
...
Overhaul Object's Documentation
2022-11-23 20:45:26 +03:00
Micky
311b29c627
Tweak Callable's documentation
...
- Clarify that Callable is a Variant type, not an Object.
- Add lambda function example
- Update outdated description of `is_custom` and `is_valid`-
2022-11-23 18:39:52 +01:00
Micky
bee1b52e30
Overhaul Object's Documentation
2022-11-23 18:13:18 +01:00
Rémi Verschelde
dc671bdc0f
Merge pull request #68297 from Mickeon/doc-virtue-signaling
...
Tweak Signal Documentation
2022-11-23 17:21:31 +01:00
Micky
4534de065f
Tweak Signal Documentation
...
- Add missing Operator and leading description
- Avoid calling "Signal" an object or class.
- Add more details to `connect` and `disconnect`
2022-11-23 12:02:14 +01:00
Rémi Verschelde
3791872c65
Merge pull request #67726 from HenryClones/integer-lerping-errors
...
Add case for Variant::INT in lerp variant switch
2022-11-23 08:33:53 +01:00
Xpertice
3e36cc7c73
Add case for Variant::INT in lerp variant switch
2022-11-22 22:37:22 -05:00
M-O-Marmalade
8ea0d727f0
AudioEffectDistorion docs & inspector edits
...
Fixing a few typos in the AudioEffectDistortion docs, making a few
things clearer, etc
Also adding the decibel (dB) suffix to the pre/post gain properties in
the inspector.
2022-11-22 17:38:13 -08:00
Rémi Verschelde
7f8ecffa56
Merge pull request #69017 from raulsntos/physics3d-array
...
Change exclude property in `PhysicsRayQueryParameters3D` to TypedArray
2022-11-22 21:48:40 +01:00
Rémi Verschelde
ad20007970
Merge pull request #68948 from KoBeWi/eeny_meeny_miny_moe
...
Fill random docs
2022-11-22 21:37:05 +01:00
Rémi Verschelde
95a4906bb4
Merge pull request #65378 from Mickeon/fix-audio-stream-2d-non-immediate-playing
...
Fix AudioStreamPlayer2D and 3D's `playing` not updating right away
2022-11-22 21:29:56 +01:00
Clay John
1285e0e21c
Merge pull request #69002 from akien-mga/gdscript-disable-warning-RETURN_VALUE_DISCARDED
...
GDScript: Don't warn about RETURN_VALUE_DISCARDED by default
2022-11-22 10:22:20 -08:00
Yuri Sizov
0aba659891
Merge pull request #68848 from Piralein/fix-class-ref
...
Fix warnings in class ref
2022-11-22 20:27:15 +03:00
kobewi
a23f6d0aa6
Fill random docs
2022-11-22 17:59:45 +01:00
Micky
b6db09968d
Fix AudioStreamPlayer2D and 3D's playing
not updating right away
2022-11-22 15:46:28 +01:00
Rémi Verschelde
4abbb2d684
GDScript: Don't warn about RETURN_VALUE_DISCARDED by default
...
This happens too often with normal usage of the API.
The warning can still be useful to find actual bugs where discarding the return
value wasn't intentional, but this should stay enabled manually, at least until
we either improve the API to remove false positives, or improve the warning (e.g.
to only warn about unused return value on const functions).
2022-11-22 15:01:24 +01:00
Rémi Verschelde
876ea3e143
Merge pull request #68579 from jtnicholl/float_doc
...
Document that `Vector#` types are 32-bit by default and `Vector#i` are always 32-bit
2022-11-22 12:36:35 +01:00
Silc Renew
c1ec99f0e1
Refactor process of AnimationTree for end of animation
2022-11-22 18:12:45 +09:00
Rémi Verschelde
e7418cac3d
Merge pull request #68942 from Chaosus/barrier_mask_flags
...
Expose `BarrierMask` as flags enum in `RenderingDevice`
2022-11-22 08:31:12 +01:00
Yuri Rubinsky
acaf38cfbc
Expose BarrierMask
as flags enum in RenderingDevice
2022-11-22 09:45:20 +03:00
Jonathan Nicholl
f8021dae9c
Add animation_changed signal to AnimationLibrary
...
AnimationLibrary now listens for the animation_changed signal on its
animations and emits this new signal, with the animation name added
on. AnimationPlayer now connects to this signal rather than connecting
to each individual animation, which was poor practice due to bypassing
encapsulation.
2022-11-21 15:39:03 -05:00
Rémi Verschelde
a9a75e643e
Merge pull request #68527 from pkdawson/vertex-array-offsets
...
Add `offsets` parameter to RenderingDevice::vertex_array_create
2022-11-21 11:43:28 +01:00
Hana
a5e5f1aa50
fix warnings in classref
2022-11-20 19:25:13 +01:00
Rémi Verschelde
642859bf51
Merge pull request #68902 from TokageItLab/fix-animation-changed-signal
...
Fix connection of animation "changed" signal in AnimationTrackEditor
2022-11-20 15:37:42 +01:00
Rémi Verschelde
855402dfee
Merge pull request #68904 from aaronfranke/texture-methods
...
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-20 15:37:37 +01:00
Rémi Verschelde
ead18458c7
Merge pull request #68917 from Mickeon/double-the-pride-twice-the-fall
...
Double precision of `String.split_floats`
2022-11-20 15:37:31 +01:00
Fabio Alessandrelli
b19c1a2e4f
[MP] New default multiplayer_peer acting as server.
...
Adds a OfflineMultiplayerPeer class which behaves like a server with no
connected peers.
Use OfflineMultiplayerPeer as default for SceneMultiplayer.
This means that the SceneTree will act as the multiplayer authority by
default.
Calls to is_server will return true, and calls to get_unique_id will
return TARGET_PEER_SERVER.
2022-11-20 14:17:20 +01:00
Micky
e791f4fce2
Double precision of String.split_floats
2022-11-20 12:29:50 +01:00
Rémi Verschelde
4a52fb828f
Merge pull request #68884 from dzil123/create_local_rendering_device_null_check_docs
...
RenderingServer::create_local_rendering_device - Add null check and update docs
2022-11-20 11:44:10 +01:00
dzil123
9ce9c959ab
RenderingServer::create_local_rendering_device null check and docs
...
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-11-19 16:31:05 -08:00
Aaron Franke
f6714858bf
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-19 17:33:40 -06:00
Silc Renew
b739bafd51
Fix connection of animation changed signal in AnimationTrackEditor
2022-11-20 06:38:51 +09:00
Haoyu Qiu
42ab2b9ef5
Revert move vector parameter name to motion
2022-11-19 20:19:50 +08:00
Silc Renew
b9d1550590
Add option to get_path_to() to get the shortest path with unique name
2022-11-19 15:06:25 +09:00
VolTer
e26f0906f2
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-19 06:18:55 +01:00
Hugo Locurcio
4b13093251
Allow all lossless image formats to be used for VRS texture project setting
...
WebP can also be lossy, but the class reference now warns about the
requirement to use a lossless format for the VRS texture to work correctly.
2022-11-18 22:21:28 +01:00
Rémi Verschelde
1af7e393be
Merge pull request #68831 from YuriSizov/docs-classref-better-split
...
Improve class reference split, list variant types separately
2022-11-18 20:43:43 +01:00
Rémi Verschelde
8ab3e73a79
Merge pull request #64212 from xiongyaohua/curve3d_baking_refactor
...
Move rotation interpolation to Curve3d and refactor baking
2022-11-18 16:20:14 +01:00
Yuri Sizov
aac01fbaf8
Improve class reference split, list variant types separately
2022-11-18 15:47:53 +03:00
Yuri Sizov
4a5c179405
Split generated RST for class reference based on the base type
2022-11-18 00:36:09 +03:00
Yuri Sizov
270c810343
Add more call-to-action notes when documentation is missing
2022-11-17 22:33:55 +03:00
bruvzg
3add6dcd89
Add Control::localize_numeral_system
property to toggle automatic numeral system conversion.
2022-11-17 14:59:56 +02:00
Raul Santos
ef03e05419
C#: Fix incorrect types used in ArrayMesh docs
2022-11-16 20:33:46 +01:00
Rémi Verschelde
6d2a7cb46d
Merge pull request #68709 from MewPurPur/instance-begone-part3
...
Remove more instances of 'instance' being used as a verb
2022-11-16 14:41:42 +01:00
VolTer
3b4f5f8a04
Remove more instances of 'instance' being used as a verb
2022-11-16 14:01:53 +01:00
Rémi Verschelde
cfb9cae23a
Merge pull request #62814 from KoBeWi/strint
...
Restore numeric from String constructors
2022-11-15 22:29:55 +01:00
Rémi Verschelde
d0025a1f02
Merge pull request #64077 from Calinou/tweak-audiostreamplayer2d3d-default-panning
...
Decrease default AudioStreamPlayer2D/3D panning strength
2022-11-15 22:29:23 +01:00
Rémi Verschelde
4935493f72
Merge pull request #67948 from DeeJayLSP/split_webp
...
Overhaul WebP packer and split compression options
2022-11-15 16:25:40 +01:00
Rémi Verschelde
09efe15d10
Merge pull request #67688 from Mickeon/i-forgror- ☠️ ☠️
...
Remove `PROPERTY_HINT_IMAGE_COMPRESS` constants
2022-11-15 16:25:13 +01:00
Rémi Verschelde
94e9860b82
Merge pull request #65836 from Calinou/add-max-physics-steps-per-frame-setting
...
Implement adjusting the maximum number of physics steps per rendered frame
2022-11-15 16:24:56 +01:00
DeeJayLSP
da132f3266
Overhaul WebP packer and split compression options
2022-11-15 11:52:22 -03:00
Micky
b4324e7a45
Remove PROPERTY_HINT_IMAGE_COMPRESS
constants
...
These were used in 3.x but there's no reference of them in the codebase, at all.
2022-11-15 15:28:49 +01:00
Rémi Verschelde
cbe9c134d8
Merge pull request #67869 from KoBeWi/coostom_ooser_deer
...
Fix documentation about custom user dir
2022-11-15 13:21:32 +01:00
Rémi Verschelde
64d7ce2a6e
Merge pull request #68628 from clayjohn/shadows
...
Implement is_animated and casts_shadows
2022-11-15 10:27:29 +01:00
Rémi Verschelde
6dd6a00f9f
Merge pull request #68667 from Piralein/fix-broken-link-classref
...
Update document-links in classref
2022-11-14 23:35:30 +01:00
Rémi Verschelde
0332f04e97
Merge pull request #60931 from EspeuteClement/get_selected_files
...
Add EditorInterface.get_selected_paths()
2022-11-14 23:26:05 +01:00
Rémi Verschelde
164139b61f
Merge pull request #65821 from raulsntos/xr_notification
...
Remove redefinition of `notification` method in `XRInterfaceExtension`
2022-11-14 23:25:37 +01:00
Rémi Verschelde
130abf5692
Merge pull request #68552 from DarkKilauea/update-directional-light-docs
...
Add documentation for DirectionalLight2D
2022-11-14 23:24:48 +01:00
Rémi Verschelde
bd001190f0
Merge pull request #68545 from DarkKilauea/update-geometry-docs
...
Added missing descriptions for GeometryInstance3D
2022-11-14 23:24:43 +01:00
Rémi Verschelde
1959284769
Merge pull request #68229 from Mickeon/c-escape-hell
...
Remove "?" from String.c_escape()
2022-11-14 23:24:35 +01:00
Rémi Verschelde
0dbb632116
Merge pull request #68564 from Mickeon/node-no-remove-group-error
...
Strip ERR_FAIL from `Node.remove_from_group()`
2022-11-14 23:24:14 +01:00
cespeute
4b00c2ec57
Add EditorInterface.get_selected_paths()
...
Exposes the selected paths in the editor filesystem dock.
Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424
Also renamed the old `get_selected_path` to `get_selected_directory` to
better match the already existing get_current_path function.
2022-11-14 22:46:27 +01:00
Hana
b6b6c5107a
fix "unknown document" classref links
2022-11-14 21:36:28 +01:00
Raul Santos
2108019484
Remove redefinition of notification
method in XRInterfaceExtension
2022-11-14 20:18:46 +01:00
Rémi Verschelde
315c64282b
Fix misc formatting issues
...
Somehow I missed the failing CI report from trailing whitespace.
Fixed a couple typos found by codespell while at it, and misc
trailing semicolons in one of the files.
2022-11-14 19:00:48 +01:00
Fabio Alessandrelli
d568b25e36
[Editor] Better expose EditorDebuggerPlugin.
...
Now splitted into two classes:
- EditorDebuggerPlugin (RefCounted).
- EditorDebuggerSession (abstract).
This allows the EditorPlugin to be in control of the debugger plugin
lifecycle, be notified when sessions are created, and customize each of
them independently.
We should slowly transition the various profilers and captures in
ScriptEditorDebugger to their own plugins, and decouple
ScriptEditorDebugger from it's UI part (making it the "real"
EditorDebuggerSession potentially dropping the wrappers).
2022-11-14 14:55:22 +01:00
Rémi Verschelde
5b3a03bf5c
Merge pull request #68448 from bruvzg/font_imp_tr
...
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-14 11:12:01 +01:00
Rémi Verschelde
038ee04b8f
Merge pull request #67975 from BastiaanOlij/implement_uv2_on_primitives
...
Add optional UV2 logic for lightmapping to primitive shapes
2022-11-14 11:08:42 +01:00
bruvzg
964d8b2d00
[macOS] Add exclusive fullscreen mode with Dock and Menu disabled.
2022-11-14 07:57:22 +02:00
clayjohn
4abf47f407
Implement is_animated and casts_shadows
...
This allows the renderer to correctly decide when to update shadow maps
This PR also adds TIME to a few missing places
2022-11-13 14:09:21 -08:00
Bastiaan Olij
7658dc6e7e
Add optional UV2 logic for lightmapping to primitive shapes
2022-11-13 19:28:10 +11:00