Yuri Sizov
b1c18f807b
Merge pull request #75116 from dsnopek/multiplayer-peer-extension-missing-docs
...
Add missing documentation for MultiplayerPeerExtension
2023-03-20 16:39:40 +01:00
Yuri Sizov
7ca4ad8647
Merge pull request #75079 from mihe/shape-margin
...
Update property/documentation of shape margins
2023-03-20 16:30:10 +01:00
Yuri Sizov
27038ca74f
Merge pull request #74442 from rburing/thicc_polygons
...
Fix concave/convex polygon shape documentation
2023-03-20 16:13:59 +01:00
David Snopek
4d13be3c5e
Add missing documentation for MultiplayerPeerExtension
2023-03-20 08:08:59 -07:00
bruvzg
ab94024ce1
[DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows.
2023-03-20 14:58:21 +02:00
Dipal Zambare
8901986d56
Fix typo in the type-safe examples
...
Fix type in the type-safe examples of snapped, lerp and sign function.
2023-03-19 18:23:13 +01:00
Adam Scott
fd1dfdb960
Set VehiculeWheel3D suspension_travel
default value to a resonable one
2023-03-18 16:33:33 -04:00
Mikael Hermansson
33a6c80abb
Change documentation of Shape3D.margin
to reflect current situation
2023-03-18 20:35:42 +01:00
Markus Sauermann
8836f2160a
Move call of push_unhandled_input
from Window
to Viewport
...
This solves the problem, that mouse events get sent to SubViewports
even if they are outside of the visible area of the SubViewport.
This changes makes SubViewportContainer::unhandled_input redundand.
Shortcut Events now need to be distributed via push_input, in order for
them to be able to reach SubViewports.
2023-03-17 19:22:24 +01:00
bruvzg
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
...
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
lawnjelly
cca01afd82
Improve Vector2 / 3 / 4 normalized() classref.
...
Mention that the results will be unreliable with initial vector near zero.
2023-03-16 11:20:30 +00:00
Yuri Sizov
7d2080f81a
Merge pull request #74800 from smix8/navagent2d_thin_line_4.x
...
Allow negative NavigationAgent2D path debug line_width for thin lines
2023-03-16 11:44:34 +01:00
smix8
f6a10c0565
Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
2023-03-16 09:04:53 +01:00
Haoyu Qiu
57d4272984
Fix typos and inconsistencies in classref
2023-03-16 14:10:20 +08:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
d67c1a5903
Merge pull request #74838 from dsnopek/quaternion-constructor-3
...
Documents the "arc-based" Quaternion constructor
2023-03-15 14:51:38 +01:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
c981a305a5
Merge pull request #73144 from chutchinson/bug/openxr-init-alert-dialog
...
Replaced OpenXR operating system alert dialog with a warning log message
2023-03-15 14:07:05 +01:00
Yuri Sizov
d9bd6a359a
Merge pull request #74731 from brettchalupa/patch-1
...
Fix CharacterBody2D get_slide_collision docs
2023-03-15 13:37:51 +01:00
Bastiaan Olij
e31c2e4277
Add a get_system_info method to XRInterface
2023-03-15 13:11:48 +11:00
Danil Alexeev
ba985ecf3f
Fix draw_multiline_colors()
for width < 0
2023-03-14 09:43:56 +03:00
rainlizard
bf7adc8670
Specify how to use the global animation library in gdscript
2023-03-14 14:25:21 +11:00
Clay John
79454bfd3b
Merge pull request #74847 from pcamp/patch-2
...
Fix typo in Window class.
2023-03-13 11:19:25 -07:00
pcamp
112977be26
Fix typo in Window class.
...
"event as" -> "events will be"
2023-03-12 19:53:12 -05:00
David Snopek
2d6deb10b0
Documents the "arc-based" Quaternion constructor
2023-03-12 15:53:41 -05:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +00:00
Brett Chalupa
2b6e1550ff
Fix CharacterBody2D get_slide_collision docs
...
The indentation was off and the code usage was incorrect for Godot 4.0 GDScript.
2023-03-10 18:25:54 -05:00
Rémi Verschelde
0c59e0c35b
Merge pull request #74707 from mihe/recovery-as-collision
...
Add `recovery_as_collision` to extension binding of `_body_test_motion`
2023-03-10 14:06:38 +01:00
Rémi Verschelde
82c8f57763
Merge pull request #74675 from AThousandShips/scene_name_casing
...
Document `editor/naming/scene_name_casing` setting
2023-03-10 14:05:27 +01:00
Rémi Verschelde
1528aefc1f
Merge pull request #74627 from titus125/master
...
Fixed typos in Transform2D and Transform3D class reference
2023-03-10 14:03:30 +01:00
Rémi Verschelde
4779389d3a
Merge pull request #74242 from mihe/pick-ray
...
Add `pick_ray` parameter to extension binding of `intersect_ray`
2023-03-10 14:02:43 +01:00
Mikael Hermansson
1bad2e30ee
Add recovery_as_collision
to extension binding of _body_test_motion
2023-03-10 09:37:21 +01:00
titus125
36270d39d2
Fixed typos in the Transform2D and Transform3D class reference
2023-03-09 17:05:25 -08:00
Ninni Pipping
3de5332fcb
Document editor/naming/scene_name_casing
setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +01:00
Rémi Verschelde
b201db0cc1
Merge pull request #74638 from timothyqiu/typora
...
Fix various typos in the classref
2023-03-09 12:21:09 +01:00
Rémi Verschelde
e7b05327df
Merge pull request #74610 from vnen/array-dict-readonly-doc
...
Remove outdated note about const in Dictionary and Array docs
2023-03-09 12:18:32 +01:00
Haoyu Qiu
03fcac3aa5
Fix various typos in the classref
2023-03-09 14:56:23 +08:00
George Marques
d2b1d6e69b
Remove outdated note about const in Dictionary and Array docs
2023-03-08 12:13:17 -03:00
BrunoSXS
df0de07494
Fix for AABB methods with wrong description
2023-03-08 10:17:14 -03:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
Rémi Verschelde
5f2137a050
Merge pull request #74087 from bruvzg/get_screen_px
...
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-06 21:58:58 +01:00
Isaac Clerencia
2a4f38d54f
Clarify Thread documentation
...
The current documentation uses the term "running" for two different things.
In the description of get_id() it claims "it will return empty string if the thread is not running", but it actually will return the thread id until wait_to_finish is called.
In the description of is_alive() it claims "it will return true if the thread is running", but in this case it means "the provided function hasn't finished running yet".
Updated the functions documentation slighly to make this clear.
2023-03-06 09:01:25 -05:00
Rémi Verschelde
0b98b470cc
Merge pull request #73716 from bruvzg/improve_locale_selection
...
Improve layout direction/locale automatic selection.
2023-03-06 10:57:56 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00
Ricardo Buring
e61a127042
Fix concave/convex polygon shape documentation
...
Removes some outdated/incorrect/duplicated info, adds correct info.
Also removes no longer applicable "editor-only helper" statements.
2023-03-05 17:19:50 +01:00
Danil Alexeev
ea5fd3d732
Fix GDScript code style regarding colon
2023-03-05 17:03:20 +03:00
Rémi Verschelde
3f522f1b50
Merge pull request #74283 from Calinou/doc-shell-open-uri-encode
...
Document using `String.uri_encode()` with `OS.shell_open()`
2023-03-05 13:27:09 +01:00
Rémi Verschelde
24d4719ac1
Merge pull request #74258 from KoBeWi/do_not_fricking_reuse_tweens
...
Discourage reusing Tweens
2023-03-05 13:25:57 +01:00
kobewi
9785b23a0a
Discourage reusing Tweens
2023-03-04 19:51:52 +01:00
Rémi Verschelde
2daf664c90
Merge pull request #74235 from and-rad/turbulence-mixup
...
Fixed minor typo in turbulence documentation
2023-03-03 11:08:39 +01:00
Rémi Verschelde
c329acafed
Merge pull request #74226 from timothyqiu/privacy-please
...
Hide internal settings from the classref
2023-03-03 11:08:16 +01:00
Hugo Locurcio
81ac3c3e71
Document using String.uri_encode()
with OS.shell_open()
2023-03-03 11:07:34 +01:00
Rémi Verschelde
b9301a89b7
Merge pull request #74157 from themancalledjakob/DocumentationFontVariation
...
Documentation font variation
2023-03-03 11:05:45 +01:00
Rémi Verschelde
7bb68278bb
Merge pull request #74151 from BastiaanOlij/add_world_origin_prop
...
Add XRServer.world_origin property
2023-03-03 11:05:21 +01:00
Rémi Verschelde
a2ecbb7c37
Merge pull request #73749 from fabriceci/expose-apply-floor-snap
...
Exposes the apply_floor_snap function to allow manual snap
2023-03-03 11:03:42 +01:00
Andreas Raddau
c618f9fce2
Fixed minor typo in turbulence documentation
2023-03-03 10:41:41 +01:00
Mikael Hermansson
fb3454a3ec
Add pick_ray
parameter to extension binding of intersect_ray
2023-03-02 18:00:03 +01:00
themancalledjakob
fb5c2d9f75
improve documentation for Font and FontVariation
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-03-02 14:34:19 +01:00
Rémi Verschelde
f339f8e3d2
Merge pull request #73713 from SirQuartz/graph-node-close-button
...
Fix Graph Node close rect default position
2023-03-02 11:26:28 +01:00
Rémi Verschelde
cdddb726b1
Merge pull request #74130 from iamjustkoi/patch-1
...
Fix small mistake in Window.xml
2023-03-02 11:20:56 +01:00
Haoyu Qiu
1e0b8d6240
Hide internal settings from the classref
...
Default actions are no longer internal since we want to document them.
They are still hidden from the Project Setting dialog because we hid the
whole `input/` group manually.
2023-03-02 17:52:37 +08:00
Bastiaan Olij
fd8f26f26e
Add XRServer.world_origin property
2023-03-01 22:18:47 +11:00
bruvzg
e7647b5ee5
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-01 09:32:23 +02:00
bruvzg
8459aeaab0
[Font] Implement get_char_from_glyph_index
function.
2023-03-01 09:29:11 +02:00
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
JustKoi
7f8425d6fb
Fix small mistake in Window.xml
...
Fix small mistake in Window.xml
2023-02-28 18:05:58 -05:00
Rémi Verschelde
491ded1898
Minor typo and docs URL fixes
2023-02-28 13:38:01 +01:00
Rémi Verschelde
2fcd1885f2
Merge pull request #73890 from jtnicholl/mesh_docs
...
Update documentation for Mesh and MeshInstance3D
2023-02-27 21:36:22 +01:00
kobewi
24589d7ca3
Improve documentation of EditorExportPlugin
2023-02-27 11:54:01 +01:00
Rémi Verschelde
417ed3da29
Merge pull request #74024 from sarice8/update-tween-doc
...
Document default values for transition type and ease type.
2023-02-27 10:40:42 +01:00
Rémi Verschelde
ec8475af5e
Merge pull request #74028 from voidedWarranties/scriptlanguage_unused
...
Remove unused `ScriptLanguage` methods
2023-02-27 08:31:01 +01:00
voidedWarranties
bd5ab9f9b4
Remove unused ScriptLanguage
methods
2023-02-26 22:30:56 -08:00
Stephen Rice
c4de2d433a
Document default values for transition type and ease type.
2023-02-26 21:42:49 -08:00
Bastiaan Olij
12120985c3
Steering on VehicleBody is in radians while interface is in degrees. Improved documentation to clear this up.
2023-02-27 10:56:07 +11:00
Rémi Verschelde
0cd1483132
Merge pull request #73959 from clayjohn/GL-mobile-warnings
...
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 21:39:06 +01:00
Rémi Verschelde
93b80f17dc
Merge pull request #73995 from samsface/update-expresion-doc
...
Clarify when Expression `get_error_text()` is updated
2023-02-26 21:38:42 +01:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
Sam
8c6e561fc9
Clarify when Expression get_error_text()
is updated
2023-02-26 20:48:53 +01:00
Yuri Sizov
e5fce139d9
Sync tutorial paths for GI classes with online documentation changes
2023-02-26 17:29:00 +01:00
Hakim
6e86afb487
Document VisualInstance3D offset unit
2023-02-26 14:05:34 +01:00
Jonathan Nicholl
208700ce41
Update documentation for Mesh and MeshInstance3D
...
Add missing descriptions for Mesh's virtual methods, and
MeshInstance3D's methods relating to blend shapes. Slight tweaks to
several MeshInstance3D method descriptions.
2023-02-24 16:16:06 -05:00
George Marques
ed81b165eb
Make max() and min() global functions only accept numbers
...
The behavior for those are not well defined for non-numeric arguments.
To avoid confusion the other types are forbidden.
2023-02-24 14:06:11 -03:00
Rémi Verschelde
34e6b859e0
Merge pull request #73853 from Calinou/doc-max-clustered-elements
...
Document the Max Clustered Elements project setting
2023-02-24 14:01:59 +01:00
Rémi Verschelde
0515843f90
Merge pull request #73856 from timothyqiu/classref-fixes
...
More class reference fixes
2023-02-24 13:31:00 +01:00
Haoyu Qiu
43f62a588b
More class reference fixes
...
Mostly typos. Also renamed the remaining "Vulkan Clustered" to "Forward+".
2023-02-24 10:42:44 +08:00
Hugo Locurcio
aea88270d5
Document the Max Clustered Elements project setting
2023-02-24 02:39:44 +01:00
smix8
5d1a6e9b12
Fix ShapeCast3D add and remove exception functions
...
Fixes that ShapeCast3D would accept any parameter object and silently return when it was not a CollisionObject3D.
2023-02-23 23:45:16 +01:00
Nicholas Huelin
961d6763fb
Modify the default theme GraphNode close_h_offset
...
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
2023-02-22 14:51:15 -05:00
fabriceci
1381e6da4f
Exposes the apply_floor_snap function to allow a snap to be made regardless of velocity.
2023-02-22 14:08:32 +01:00
bruvzg
4593ad23fd
Add some missing EditorFileDialog methods and properties.
2023-02-22 11:55:08 +02:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
...
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Rémi Verschelde
91aed4b9b5
Merge pull request #73694 from m4gr3d/update_touchscreen_editor_settings_main
...
Enable granular control of touchscreen related settings
2023-02-22 10:12:42 +01:00
Danil Alexeev
d49ac0466f
Fix SpriteFrames
data loss on 3-to-4 conversion
2023-02-22 11:17:10 +03:00
Fredia Huya-Kouadio
445053a62d
Enable granular control of touchscreen related settings
2023-02-22 00:16:39 -08:00
bruvzg
82d7923c65
Improve layout direction/locale automatic selection.
2023-02-22 08:37:14 +02:00
Hana
f4b2231cd0
update outdated references and examples
2023-02-21 19:28:43 +01:00
Aaron Franke
5ebc0541d2
Fix incorrect Time documentation in get_datetime_dict_from_unix_time
2023-02-21 02:55:44 -06:00
kobewi
d76356c4d5
Clarify rotation degrees
2023-02-20 23:26:02 +01:00
bruvzg
b3c64675cc
[macOS] Replace all Alt/Option+Letter/Number
default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
Rémi Verschelde
e10ab0c8c3
Merge pull request #73610 from timothyqiu/classref-typos
...
Various classref typo fixes
2023-02-20 11:29:01 +01:00
Rémi Verschelde
dcad6fbf9c
Merge pull request #73408 from nightblade9/patch-1
...
Elaborate text-to-speech requirements on Linux
2023-02-20 11:28:29 +01:00
Haoyu Qiu
0c92c92891
Various classref typo fixes
2023-02-20 14:47:37 +08:00
nightblade9
8e9b923425
Elaborate on text-to-speech requirements on Linux
2023-02-19 17:07:07 -05:00
nobbele
d6c4e40feb
Clarify return value for InputEvent.is_echo()
2023-02-19 00:28:46 +01:00
Yuri Sizov
b0200c1c46
Merge pull request #73535 from clayjohn/docs-keep-scale
2023-02-18 12:33:24 +03:00
clayjohn
8314cf125a
Correct docs for keep_scale in BaseMaterial3D
2023-02-17 15:27:29 -08:00
Yuri Sizov
b2f63bbb43
Remove deprecated methods from Bone2D
...
- also add them to the project convertor
2023-02-17 18:05:52 +01:00
Yuri Sizov
e57aeb49e9
Merge pull request #73507 from YuriSizov/docs-are-neat
...
Remove extra spaces and correct crosslinks in some documentation
2023-02-17 20:04:58 +03:00
Yuri Sizov
dd5acde285
Remove extra spaces and correct crosslinks in some documentation
2023-02-17 17:31:19 +01:00
randompast
d2b5da16f9
Improve BoxMesh documentation about UV scaling for vertex shader
...
Added comment that translates the UV scaling from the standard shader properties
to how that's being done in the godot vertex shader.
2023-02-17 17:10:57 +01:00
Rémi Verschelde
7c7ba88d19
Merge pull request #66121 from Zylann/plugin_handles_edit_object_argument
...
Change `_can_handle` and `_edit` virtual methods to take `Object*`
2023-02-17 15:19:12 +01:00
Yuri Sizov
a93d7af90f
Merge pull request #73456 from Calinou/doc-popupmenu-displayserver-accelerators
...
Improve documentation on PopupMenu and DisplayServer accelerators
2023-02-17 16:15:11 +03:00
Marc Gilleron
d2b4e30058
Change _can_handle
and _edit
virtual methods to take Object*
2023-02-17 14:10:38 +01:00
Rémi Verschelde
1075931c64
Remove unexposed ProxyTexture, mark AnimatedTexture as deprecated
...
According to reduz:
> [AnimatedTexture] should be removed together with ProxyTexture, its just
> not efficient at all in Vulkan and causes invalidation of all descriptor
> sets depending on it
> it was needed mostly for animated tilemaps, but nowadays there is not a lot
> of reason for it
Marking AnimatedTexture as deprecated accordingly, until we reach consensus
for removing it completely.
2023-02-17 12:32:26 +01:00
Rémi Verschelde
db9007aef4
Merge pull request #73428 from smix8/navigation_tweak_agent3d_4.x
...
Tweak NavigationAgent3D defaults
2023-02-17 09:56:49 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
...
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
bruvzg
174e0837e0
[macOS] Re-add support for the _sc_ inside app bundle. Update docs.
2023-02-17 09:55:56 +02:00
Tecelli Akıntuğ
1ba05b4b3a
Fix AnimatedTexture inconsistency when setting frame
2023-02-16 22:34:10 +01:00
Yuri Sizov
15a97a2e84
Merge pull request #56490 from Calinou/light-3d-high-attenuation-warning
...
Document caveats of high attenuation in OmniLight3D and SpotLight3D
2023-02-16 23:41:08 +03:00
Hugo Locurcio
c3365ace4f
Improve documentation on PopupMenu and DisplayServer accelerators
...
The name "accelerator" is actually misleading (at least in PopupMenu),
as these are really keyboard shortcuts and not a key you press after
pressing Alt (with the corresponding letter in the option's name
being underlined after pressing Alt).
2023-02-16 20:26:07 +01:00
Rémi Verschelde
ec2f9a78f7
Merge pull request #73435 from bruvzg/file_close
...
Restore FileAccess.close method.
2023-02-16 18:34:48 +01:00
Rémi Verschelde
2d845ee3d1
Merge pull request #73437 from bruvzg/docs_ignore_import_v
...
Exclude platform dependent `rendering/textures/vram_compression/import_*` default values from documentation.
2023-02-16 18:34:44 +01:00
Rémi Verschelde
25da47edd6
Merge pull request #73396 from KoBeWi/sorry
...
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 18:34:41 +01:00
Rémi Verschelde
6b7c0a1f2a
Merge pull request #73250 from smix8/fix_navigation_debug_script_toggle_4.x
...
Fix navigation debug not toggleable in scripts
2023-02-16 18:32:39 +01:00
bruvzg
041f559da1
Exclude platform dependent rendering/textures/vram_compression/import_*
default values from documentation.
2023-02-16 15:48:09 +02:00
kobewi
a12921ca2c
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 14:35:09 +01:00
bruvzg
bc95b0b171
Restore FileAccess.close method.
2023-02-16 15:34:20 +02:00
smix8
8be4af38e4
Tweak NavigationAgent3D defaults
...
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
2023-02-16 14:26:39 +01:00
smix8
aecad7bb25
Fix navigation debug not toggleable in scripts
...
Fixes that navigation debug was not toggleable in script while even the docs mentioned it.
2023-02-16 11:12:48 +01:00
Rémi Verschelde
953383328a
Merge pull request #73229 from smix8/navlink_global_positions_4.x
...
Add NavigationLink helper functions for global positions
2023-02-16 11:02:17 +01:00
Rémi Verschelde
d844fbba3b
Merge pull request #73409 from voidedWarranties/scriptextension_add_bind
...
Add missing virtual bind for `ScriptExtension::_get_global_name`
2023-02-16 11:02:09 +01:00
Rémi Verschelde
ddb1876cf7
Merge pull request #73412 from timothyqiu/doc-fixes
...
Fix a few typos in the class reference
2023-02-16 11:02:04 +01:00
Rémi Verschelde
43c9ac82bb
Merge pull request #69201 from tbveralrud/ios-touch-leak-fix-master
...
iOS: Fix memory leak on touch input
2023-02-16 11:01:58 +01:00
Haoyu Qiu
431a0f20a4
Fix a few typos in the class reference
2023-02-16 13:26:17 +08:00
voidedWarranties
0a58025e40
Add missing virtual bind for ScriptExtension::_get_global_name
2023-02-15 19:48:01 -08:00
Yuri Sizov
d2b1474da7
Merge pull request #73293 from RedMser/rich-text-label-fixes
...
RichTextLabel: Unexpose internal ItemType enum, improve `push_meta` docs
2023-02-15 12:58:23 +03:00
Travis Veralrud
10be2c343f
iOS: Fix memory leak on touch input
...
Replace incomplete iOS gesture with touch implementation.
Fixes #66422 .
2023-02-15 09:45:38 +01:00
smix8
d87f124768
Add NavigationLink helper functions for global positions
...
Adds helper functions to set the links start and end position with global positions or get them as global positions.
Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-02-14 21:56:58 +01:00
smix8
f1026450bf
Unbind NavigationServer3D.process()
...
Unbinds NavigationServer3D.process().
2023-02-14 21:21:36 +01:00
RedMser
22dd621cf9
RichTextLabel fixes
...
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
Rémi Verschelde
93d1cfe525
Merge pull request #73253 from Mickeon/doc-stringname-oops
...
Add missing documentation for String & StringName
2023-02-14 15:57:47 +01:00
Rémi Verschelde
f9b043aad7
Merge pull request #73281 from Mickeon/doc-misc-oops
...
Slightly tweak `@GlobalScope` & `GDScript`'s documentation
2023-02-14 13:37:43 +01:00
Micky
436bbfebe2
Tweak @GlobalScope
& GDScript
's documentation
2023-02-14 13:26:18 +01:00
Micky
8d0078873a
Fix incorrect format in Color documentation
2023-02-14 10:27:43 +01:00
Micky
edb78840c0
Add missing documentation for String & StringName
...
Also fixes typos brought up in #69821 's replies.
2023-02-14 10:15:44 +01:00
Chris Hutchinson
cb8e919243
Replaced operating system alert dialog with a warning log message,
...
toggled by a project setting.
Fixes #73141
2023-02-13 18:42:43 -05:00
Rémi Verschelde
4848877b80
Merge pull request #72659 from Calinou/doc-rendering-method-support
...
Document unsupported features in Mobile and Compatibility rendering methods
2023-02-13 23:45:12 +01:00
Rémi Verschelde
9721d557d0
Merge pull request #73248 from constantitus/characterbody2d-csharp-doc
...
fixed c# example in CharacterBody2D doc
2023-02-13 23:44:48 +01:00
Hugo Locurcio
42b7739321
Document unsupported features in Mobile and Compatibility rendering methods
2023-02-13 22:17:02 +01:00
constantitus
6951574265
fixed c# example in CharacterBody2D doc
2023-02-13 23:14:48 +02:00
Hugo Locurcio
8b1de103a8
Clamp Decal size to positive values
...
This prevents using negative size, while also preventing
error messages from being spammed if one of the decal's dimensions
is set to exactly 0.
2023-02-13 22:01:49 +01:00
Rémi Verschelde
c2e1be66c8
Merge pull request #72870 from Calinou/doc-directionallight2d-no-cull-mask
...
Document DirectionalLight2D not supporting cull masks
2023-02-13 21:06:33 +01:00
Rémi Verschelde
848c910227
Merge pull request #73018 from smix8/fix_multilayered_tilemap_navigation_4.x
...
Fix navigation support for multilayered TileMaps
2023-02-13 12:58:39 +01:00
Rémi Verschelde
95183c2808
Merge pull request #73198 from TokageItLab/anim-docs-state
...
Add document about animation read-only props and state length
2023-02-13 09:12:32 +01:00
Rémi Verschelde
3cc78567d7
Merge pull request #73103 from Calinou/doc-font-get-string-size
...
Clarify `Font.get_string_size()` taking kerning into account
2023-02-13 09:11:21 +01:00
Haoyu Qiu
84aee17901
Improvements and fixes based on Weblate comments
...
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
* "Inclusive" and "Self" in the profiler.
* Places where it needs the context about being an editor progress label.
* "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
* Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
* Fix duplicated "if" in the description of `signf()`.
* Fix mismatched example output in `String.operator %()`.
* Fix typo in the description of `Decal.texture_emission`.
* Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
Silc Renew
045c8845c7
Add document about animation read-only props and state length
2023-02-13 14:16:40 +09:00
Anthony Cossins
ae282e9b7d
Fix return type for collide_shape to use PackedVector3Array
2023-02-12 23:32:13 +00:00
Haoyu Qiu
cc384a8228
Add missing period for sentences in classref
2023-02-12 11:39:14 +08:00
Silc Renew
6bc4d1cb73
Completion of parameters not described in some animation resources
2023-02-12 04:40:49 +09:00
Hugo Locurcio
11f6dc295d
Clarify Font.get_string_size()
taking kerning into account
...
This makes a difference when using a single call per character/word
as opposed to using a single call for an entire string.
2023-02-11 16:24:52 +01:00
Hugo Locurcio
db5e178aed
Document DirectionalLight2D not supporting cull masks
2023-02-11 16:13:31 +01:00
Rémi Verschelde
0e81e2a30f
Merge pull request #73091 from TokageItLab/fix-bezier-edit-button-update
...
Fix weird bezier edit button update timing in AnimationTrackEditor
2023-02-11 14:38:18 +01:00
Rémi Verschelde
ab2952580c
Merge pull request #73040 from Rindbee/popup_centered_consider_current_size
...
Calling popup_center* with the default size will use the current size
2023-02-11 14:37:54 +01:00
Rémi Verschelde
5c5f1452db
Merge pull request #73075 from timothyqiu/ttrn-single
...
Don't warn when using `TTRN()` in a language without plurals
2023-02-11 14:35:03 +01:00
Rémi Verschelde
f2a87f8df6
Merge pull request #70723 from rburing/fill_physicsserver2d_docs
...
Fill and fix `PhysicsServer2D` documentation
2023-02-11 14:32:36 +01:00
Rémi Verschelde
126025d2dd
Merge pull request #67155 from touilleMan/Engine-exposes-ScriptServer-unregister_language
...
Expose unregister language & improve usability with GDExtension
2023-02-11 14:31:47 +01:00
Rémi Verschelde
3706355385
Merge pull request #73014 from TokageItLab/animation-tree-docs
...
Add document for AnimationNodes which have setter as request property
2023-02-11 14:31:08 +01:00
Rindbee
593598c592
Calling popup_center* with the default size will use the current size
2023-02-11 18:53:53 +08:00
Yuri Sizov
c1f556c85d
Merge pull request #72723 from ErrorInCode27/rb2d-inertia-docs
2023-02-11 13:24:20 +03:00
Matthew
9f6bb7dd50
Merge pull request #68905 from jaymehta-g/area-node-description-typo
...
Fix Area node description mistake
2023-02-10 22:06:32 -05:00
[Error_27]
417bd5b27f
Add how to retrieve RigidBody2D and RigidBody3D autocomputed inertia
2023-02-10 20:43:25 -05:00
Emmanuel Leblond
58f4139164
Add Engine::unregister_script_language and make Engine::register_script_language returns a Error
2023-02-10 19:50:24 +01:00
Ricardo Buring
fda9e16806
Fill and fix PhysicsServer2D documentation
...
Fixes incorrect descriptions, adds more detail, and fills in missing
descriptions. Also adds a physics object glossary at the beginning.
Default values of body/area/joint parameters are now documented (based
on the values in Godot Physics), to aid GDExtension developers.
2023-02-10 19:14:49 +01:00
Silc 'Tokage' Renew
7016768f4c
Add document for AnimationNodes which have setter as request property
2023-02-11 02:58:58 +09:00
Rémi Verschelde
ed85a2c8ce
Merge pull request #70663 from EpEpDragon/feature_buffer_get_data_size_option
...
Add optional size parameter to the RenderDevice buffer_get_data method.
2023-02-10 18:49:28 +01:00
Yuri Sizov
5ca1123021
Merge pull request #71572 from RedMser/docs-binary-variant
...
Document internal usage of `encode`/`decode_variant`
2023-02-10 20:04:16 +03:00
smix8
f2c31965c0
Fix navigation support for multilayered TileMaps
...
Fixes support for multilayered TileMaps by creating dedicated navigation maps for each layer.
2023-02-10 17:13:40 +01:00
Yuri Sizov
8d55b4d3b3
Merge pull request #69728 from Calinou/doc-font-oversampling-exceptions
...
Document exceptions to font oversampling in Camera2D, CanvasItem and Control
2023-02-10 18:55:22 +03:00
Yuri Sizov
91763afc2a
Merge pull request #69731 from hackenshaw/improve-CanvasLayer.layer-tootltip
...
Improve tooltip for CanvasLayer.layer
2023-02-10 18:51:40 +03:00
Rémi Verschelde
7a68530bf3
Merge pull request #73002 from KoBeWi/VisibleOnScreenConfusion
...
Clarify visibility in VisibleOnScreenNotifier
2023-02-10 15:07:02 +01:00
Danil Alexeev
220898a69f
GDScript: Remove treat_warnings_as_errors
project setting
2023-02-10 10:16:33 +03:00
kobewi
1fcd124ea8
Clarify visibility in VisibleOnScreenNotifier
2023-02-09 23:58:20 +01:00
Rémi Verschelde
929ee61170
Merge pull request #72931 from TokageItLab/improve-root-motion-for-rot-and-pos
...
Add root motion accumulator to fix broken RootMotionView
2023-02-09 23:43:08 +01:00
Silc Renew
7b18ad7d98
Add root motion accumulator to fix broken RootMotionView
2023-02-10 01:22:00 +09:00
Rémi Verschelde
edae21f3aa
Merge pull request #72897 from Geometror/graphedit-set-deprecated
...
Update configuration warning for `GraphEdit` and mark it as experimental
2023-02-09 09:29:27 +01:00
Hendrik Brucker
4601acbaf4
Update GraphEdit configuration warning, mark GraphNode/GraphEdit as experimental
2023-02-09 02:39:55 +01:00
Rémi Verschelde
1bdc85b917
doc: Fix Image 'set_pixel' doc for use of 'create'
...
Fixes #72904 .
2023-02-08 19:02:19 +01:00
Rémi Verschelde
0e97806c1d
Merge pull request #72860 from RedworkDE/editor-export-plugin-bind
...
Bind `EditorExportPlugin::_get_export_features`
2023-02-08 09:37:40 +01:00
Rémi Verschelde
5c0f07b76a
Merge pull request #68016 from quinnyo/damp-docs
...
dampen -> damp, attenuate in audio and physics class docs
2023-02-08 09:37:13 +01:00
RedworkDE
2e167ca943
Bind EditorExportPlugin::_get_export_features
2023-02-07 23:14:20 +01:00
Jay Mehta
3bafb97e89
Second revision of area node desc
2023-02-07 16:13:28 -06:00
quinnyo
edf7f5cf3e
Replace "dampen" with "damp", "attenuate" in class docs
2023-02-08 08:01:32 +10:00
Rémi Verschelde
bd267c911b
Merge pull request #72493 from dalexeev/gds-export-flags
...
GDScript: Improve validation and documentation of `@export_flags`
2023-02-07 19:38:21 +01:00
Danil Alexeev
c8e3d8b5d5
GDScript: Improve validation and documentation of @export_flags
2023-02-07 19:32:08 +03:00
Andrés Botero
f39aa8ae04
Fix docs on RPC_MODE_ANY_PEER analogous.
2023-02-07 10:20:38 -05:00
Rémi Verschelde
3f02cf7ced
Merge pull request #72722 from TokageItLab/animtree-map
...
Fix AnimationNodeTransition initialization and AnimationNode remapping method
2023-02-07 08:36:00 +01:00
Kabiir
17ee6fcf03
Fix description and argument name in Control._has_point
2023-02-07 02:29:28 +05:30
Yuri Sizov
5eb2011423
Merge pull request #71523 from YeldhamDev/dserver_doc_recoms
...
Make `DisplayServer` docs tell users to change some window values in the `Window` node
2023-02-06 21:07:37 +03:00
Rémi Verschelde
6736b00354
Merge pull request #72791 from CorentinBrule/patch-1
...
Complete FontFile ref and update example
2023-02-06 17:48:44 +01:00
CorentinBrulé
57d495f43b
Complete FontFile ref and update example
...
I complete the ref items according to [TextServer ref](https://docs.godotengine.org/en/latest/classes/class_textserver.html ) and update example with new properties path
2023-02-06 16:22:50 +01:00
Lyuma
5fbcb80170
Use reimport_append api for importing embedded gltf images
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2023-02-06 07:11:45 -08:00
Rémi Verschelde
074113b97d
Merge pull request #72455 from reduz/allow-reimport-appending
...
Support reimport appending
2023-02-06 15:39:51 +01:00
Rémi Verschelde
9ad098f653
Merge pull request #72276 from dalexeev/gds-rpc-annot
...
GDScript: Better handling of `@rpc` annotation and autocompletion
2023-02-06 15:39:25 +01:00
Rémi Verschelde
82ff7b4bce
Merge pull request #68492 from Sauermann/fix-picking-sort
...
Fix propagation order for 2D physics picking events
2023-02-06 15:38:38 +01:00
Danil Alexeev
31749de128
GDScript: Better handling of @rpc
annotation and autocompletion
2023-02-05 21:21:37 +03:00
Yuri Sizov
13f0158e49
Merge pull request #72608 from vnen/gdscript-warning-default-error
...
GDScript: Add warnings that are set to error by default (take 2)
2023-02-05 16:00:26 +03:00
Yuri Sizov
e13e4b7b6d
Merge pull request #71665 from bitsawer/expose_global_classes
...
Expose and document ProjectSettings.get_global_class_list()
2023-02-05 15:55:15 +03:00
Markus Sauermann
6e855e3820
Fix propagation order for 2D physics picking events
...
This patch adds a viewport-configuration-option for sorting
physics-picking events by the Z-Index and the scene tree position
of the collision objects.
2023-02-04 22:44:36 +01:00
Silc Renew
fff3ae1d89
Fix NodeTransition initialization and AnimationNode remapping method
2023-02-05 06:24:14 +09:00
bitsawer
d1521933bb
Expose and document ProjectSettings.get_global_class_list()
2023-02-04 23:22:27 +02:00
Yuri Sizov
0030286054
Merge pull request #72721 from raulsntos/dotnet/variant-docs
...
Update Variant documentation for C#
2023-02-04 23:11:01 +03:00
Raul Santos
d856d5eb82
Update Variant documentation for C#
2023-02-04 20:29:42 +01:00
Yuri Sizov
2bd5302704
Merge pull request #72695 from clayjohn/CanvasGroup-shading
...
Avoid shading CanvasGroup nodes twice
2023-02-04 21:38:25 +03:00
Yuri Sizov
373295fa15
Merge pull request #72656 from Calinou/doc-decal-visibility-aabb
...
Document visibility AABB caveats with decals, reflection probes and lights
2023-02-04 21:36:25 +03:00
Yuri Sizov
8753b07b05
Merge pull request #71860 from GeroVeni/master
...
Improve docs for rpc annotations
2023-02-04 18:43:15 +03:00
GeroVeni
54f2226ce5
Improve docs for rpc annotations
2023-02-04 13:28:41 +00:00
Hugo Locurcio
eb52b95997
Document visibility AABB caveats with decals, reflection probes and lights
...
This is required in rendering methods that don't use clustering
to check which meshes should be affected by decals, reflection probes
and lights.
2023-02-04 00:59:40 +01:00
clayjohn
dfbf439081
Avoid shading CanvasGroup nodes twice
2023-02-03 15:40:42 -08:00
Rémi Verschelde
bbff9fd7a4
Merge pull request #71786 from raulsntos/dotnet/array
...
Sync C# Array with Core
2023-02-04 00:24:06 +01:00
Yuri Sizov
03ae8caea8
Fix incorrect description for Signal::get_connections
2023-02-03 17:28:17 +01:00
Danil Alexeev
fb107e04d3
Fix RichTextLabel
context menu not customizable
2023-02-03 12:07:36 +03:00
Rémi Verschelde
4aec884b96
Merge pull request #72643 from clayjohn/CL-blend-mode
...
Expose RenderingServer.canvas_light_blend_mode
2023-02-03 06:26:20 +01:00
Rémi Verschelde
8ef01ee5df
Merge pull request #72604 from rbessems/rbessems/env_blend_mode
...
Add XR Environment Blend Mode Support
2023-02-03 06:24:30 +01:00
clayjohn
13488b4260
Expose RenderingServer.canvas_light_blend_mode
...
This appears to have been missed in the refactor
2023-02-02 19:12:27 -08:00
Rémi Verschelde
d1589a9492
Merge pull request #72601 from Calinou/primitivemesh-uv2-padding-add-property-hint
...
Add a property hint for PrimitiveMesh's `uv2_padding`
2023-02-02 21:05:02 +01:00
Ron Bessems
d7d171c45c
Add XR Environment Blend Mode Support
2023-02-02 12:18:42 -05:00
Rémi Verschelde
00cb20e708
Merge pull request #72600 from Calinou/string-match-glob
...
Mention `String.match()` is also called "glob"/"globbing"
2023-02-02 16:26:55 +01:00
George Marques
273bf7210f
GDScript: Add warnings that are set to error by default
...
- Adds a list of default levels for all warning so they can be set
individually.
- Add warnings set by default to error for:
- Using `get_node()` without `@onready`.
- Using `@onready` together with `@export`.
- Inferring a static type with a Variant value.
- Overriding a native engine method.
- Adjust how annotations to ignore warnings are treated so they also
apply to method parameters.
- Clean up a bit how ignored warnings are set. There were two sets but
only one was actually being used.
- Set all warnings to the `WARN` level for tests, so they they can be
properly tested.
- Fix enum types in native methods signatures being set to `int`.
- Fix native enums being treated as Dictionary by mistake.
- Make name of native enum types use the class they are defined in, not
the direct super class of the script. This ensures they are always
equal even when coming from different sources.
- Fix error for signature mismatch that was only showing the first
default argument as having a default. Now it shows for all.
2023-02-02 12:07:25 -03:00
Hugo Locurcio
dc06575475
Add a property hint for PrimitiveMesh's uv2_padding
...
Negative values are not valid and will always cause lightmap bleeding
to occur.
This also improves the documentation for the `uv2_padding` property
in the class reference.
2023-02-02 14:55:51 +01:00
Hugo Locurcio
64906bd1f7
Mention String.match()
is also called "glob"/"globbing"
...
This is mostly for Ctrl + F purposes, in case someone is looking
how to perform globbing on a string.
2023-02-02 14:51:02 +01:00
Rahul Gandharva
8f6cbf1724
Added missing words relating to TileSetAtlasSource
2023-02-02 23:57:13 +11:00
Rémi Verschelde
8c211e64ec
Merge pull request #72562 from 0xafbf/patch-1
...
Fix bad variable name in TileMap documentation
2023-02-02 09:37:38 +01:00
Andrés Botero
ff5aecbc38
Fix bad variable name in TileMap documentation
2023-02-01 22:07:16 -05:00
Silc Renew
2a39b5bcde
Remove meaningless rename_parameter
in AnimationTree
2023-02-01 23:14:36 +09:00
Juan Linietsky
91c3066c89
Support reimport appending
...
* Add API: `EditorFileSystem::reimport_append(path)`, thread safe, what can be used from importers when they generate new files within the import process.
* Added a `remap.gen_param` custom value to .import files, which can be used by importers to store data needed to generate this file again or not.
This API is added to allow the GLTF2 importer to properly extract png files as textures.
2023-02-01 12:27:50 +01:00
Rémi Verschelde
e52213e2fa
More codespell fixes, do more changes from previous ignore list
2023-02-01 12:11:36 +01:00
Rémi Verschelde
afe3b94ab2
Revert "GDScript: Add warnings that are set to error by default"
...
This reverts commit a166833bfa
.
This caused multiple regressions.
Needs to be redone with more testing before merge.
Fixes #72501 .
2023-02-01 10:54:22 +01:00
Rémi Verschelde
394bb0ee2b
Fix various typos with codespell
...
Finally do the childs -> children rename too.
2023-02-01 08:45:41 +01:00
Rémi Verschelde
e101305950
Merge pull request #72487 from vnen/gdscript-warning-default-error
...
GDScript: Add warnings that are set to error by default
2023-02-01 08:23:42 +01:00
Rémi Verschelde
d9ade633b3
Merge pull request #71936 from akien-mga/remove-some-unused-signals
...
Remove some unused signals
2023-02-01 07:53:52 +01:00
Rémi Verschelde
e8240031e7
Merge pull request #71479 from raulsntos/virtual-return-type
...
Use enum instead of int in virtual methods return type
2023-02-01 07:45:28 +01:00
Rémi Verschelde
0c540210bd
Merge pull request #71991 from clayjohn/RS-docs
...
Fill out more sections in RenderingServer and RenderingDevice
2023-02-01 07:33:43 +01:00
Rémi Verschelde
df68909da4
Merge pull request #72459 from KoBeWi/debinds
...
Add unbinds to `scn`
2023-02-01 07:31:17 +01:00
Rémi Verschelde
3eb1ac9fd2
Merge pull request #72075 from Maran23/extents-to-size
...
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01 07:30:09 +01:00
Rémi Verschelde
b7c0f613b5
Merge pull request #66076 from Sauermann/fix-double-physics-input-events-for-layers
...
Fix physics events being interpreted twice for nodes in canvas layer
2023-02-01 07:29:16 +01:00
Rémi Verschelde
51414fc987
Merge pull request #66906 from Sauermann/fix-prohibit-inconsistent-size-state
...
Prohibit inconsistent size state for SubViewport
2023-02-01 07:26:00 +01:00
Rémi Verschelde
6749f1f85a
Merge pull request #72462 from raulsntos/docs/dotnet-renames
...
Fix C# examples in documentation for 4.0
2023-02-01 07:25:26 +01:00
Rémi Verschelde
ab2f8ab6ce
Merge pull request #72371 from dalexeev/remove-gds-str-duplicate
...
Remove `@GDScript.str` (duplicate of `@GlobalScope.str`)
2023-02-01 07:25:02 +01:00
Rémi Verschelde
d8e71dc51a
Merge pull request #72450 from TokageItLab/optional-restart
...
Make restart in NodeStateMachine / NodeTransition optional
2023-02-01 07:24:05 +01:00
Rémi Verschelde
67ab9d85d4
Merge pull request #71543 from smix8/navigation_agent_debug_4.x
...
Add NavigationAgent Path Debug Visualization
2023-02-01 07:23:24 +01:00
George Marques
a166833bfa
GDScript: Add warnings that are set to error by default
...
- Adds a list of default levels for all warning so they can be set
individually.
- Add warnings set by default to error for:
- Using `get_node()` without `@onready`.
- Using `@onready` together with `@export`.
- Inferring a static type with a Variant value.
- Overriding a native engine method.
- Adjust how annotations to ignore warnings are treated so they also
apply to method parameters.
- Clean up a bit how ignored warnings are set. There were two sets but
only one was actually being used.
- Set all warnings to the `WARN` level for tests, so they they can be
properly tested.
- Fix enum types in native methods signatures being set to `int`.
- Fix native enums being treated as Dictionary by mistake.
- Make name of native enum types use the class they are defined in, not
the direct super class of the script. This ensures they are always
equal even when coming from different sources.
- Fix error for signature mismatch that was only showing the first
default argument as having a default. Now it shows for all.
2023-02-01 00:05:14 -03:00
kobewi
7780b40a3a
Add unbinds to scn
2023-02-01 03:03:55 +01:00
Raul Santos
c7f4ca36a4
Use PropertyUsageFlags
enum in parse_property
2023-01-31 23:31:15 +01:00
Markus Sauermann
7e056f1b37
Fix physics events being interpreted twice when in canvas layer
2023-01-31 23:14:57 +01:00
Markus Sauermann
decbda68d7
Prohibit inconsistent size state for SubViewport
...
Prohibit size changes of SubViewports with parent SubViewportContainers that have stretch mode enabled.
2023-01-31 22:53:43 +01:00
Marius Hanl
a59819630d
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
...
- Extents are replaced by Size (Size is Extents * 2)
- The UI text displays 'Size'
- Snapping is adjusted to work with Size
- _set and _get handle extents for compatibility
Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-31 20:04:11 +01:00
Silc Renew
4525181c2d
Make restart in NodeStateMachine / NodeTransition optional
2023-02-01 03:57:11 +09:00
Raul Santos
9e9eac4676
Use enum instead of int in virtual methods return type
2023-01-31 19:06:49 +01:00
Raul Santos
7eb8325180
Fix C# examples in documentation
...
- Fix documentation after C# renames.
- Add missing `partial` in C# class declarations.
- Change `delta` parameter type to `double` in C#.
- Ensure parameters match base declaration.
- Use `$` string interpolation in C#.
- Fix invalid or outdated C# code.
- Changed some examples to follow our style guide more closely.
2023-01-31 19:04:07 +01:00
Rémi Verschelde
ea3566f2ed
Merge pull request #69120 from souplamp/audio-function-rename
...
Rename references to audio device, capture_device to output_device, input_device respectively
2023-01-31 18:56:27 +01:00
Rémi Verschelde
14a4408e02
Merge pull request #65698 from KoBeWi/cameraman
...
Rework how current Camera2D is determined
2023-01-31 18:56:20 +01:00
Rémi Verschelde
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +01:00
smix8
0ab764e84b
Add NavigationAgent Path Debug Visualization
...
Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
2023-01-31 18:27:35 +01:00
souplamp
5300daaff2
Audio rename (device, capture_device) -> (output_device, input_device)
...
Change instances of audio properties 'device' to 'output_device',
and instances of audio properties 'capture_device' to 'input_device',
as well as their subsequent getter & setter functions.
Update the docs to reflect these changes, as well as the
3-to-4 converter for GDScript and CSharp to make proper
conversions (only exception is 'device' since that name
is too vague and might replace non-AudioServer related
instances, such as user comments and variables).
This does not change internal references to references like
'Render Client' and 'Capture Client' in WASAPI; such is outside the
scope of this commit. This also does not change ALSA's references,
considering that it uses 'device' to mean input and output
interchangeably.
Other references are changed, however where applicable,
to be consistent with the new AudioServer methods and property
names.
2023-01-31 18:25:11 +01:00
Rémi Verschelde
92a6586fb6
Merge pull request #72396 from TokageItLab/bs1dconsist
...
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
2023-01-31 15:55:53 +01:00
Rémi Verschelde
6d9c9d30b9
Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthand
...
GDScript: Allow void functions to return calls to other void functions
2023-01-31 15:55:35 +01:00
Rémi Verschelde
361f3f1721
Merge pull request #57520 from jordigcs/gd-rename-map
...
Add hint for identifiers renamed from 3.x to 4.0
2023-01-31 15:55:25 +01:00
George Marques
a47d4d57ca
GDScript: Allow void functions to return calls to other void functions
2023-01-31 11:37:30 -03:00
Rémi Verschelde
5bcf016f11
Merge pull request #62737 from kidrigger/gdext_videodecoder
...
Updates VideoDecoder plugin API to GDExt.
2023-01-31 11:04:56 +01:00
Rémi Verschelde
99a44f8469
Merge pull request #69248 from vonagam/fixing-typed-arrays
...
GDScript: Fix typed arrays
2023-01-31 11:04:21 +01:00
Dmitrii Maganov
5909f9f075
GDScript: Fix issues with typed arrays
2023-01-31 11:54:41 +02:00
Rémi Verschelde
d14d6033a5
Merge pull request #72441 from bruvzg/lbl3d_aaa
...
[Sprite3D/Label3D] Expose alpha antialiasing properties.
2023-01-31 10:54:13 +01:00
Rémi Verschelde
c8446754dd
Merge pull request #72357 from aaronfranke/area-gravity-unit-dist
...
Replace Area gravity point distance scale with unit distance
2023-01-31 10:53:16 +01:00
Rémi Verschelde
c6d066d20c
Merge pull request #72413 from addmix/addmix/master
...
Added documentation note for `add_custom_type()`
2023-01-31 10:53:11 +01:00
Rémi Verschelde
628967e6ba
Merge pull request #72343 from clayjohn/editor-canvas-bg
...
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
2023-01-31 10:53:05 +01:00
bruvzg
b4fe514aa3
[Sprite3D/Label3D] Expose alpha antialiasing properties.
2023-01-31 10:46:38 +02:00
anish bhobe
42a9c33fad
Updates VideoDecoder plugin API to GDExtension.
...
Adds VideoStream and relevant resource loaders to migrate
external GDNative plugins to GDExtension.
Adds a VideoStreamLoader as a specialization of ResourceFormatLoader
as ClassDB::is_parent_class is inaccessible from GDExtension currently.
Using Object* instead of Ref<T> in order to avoid the refcount bug
(godotengine/godot-cpp#652 )
Also another bug is in ResourceLoader in use on the extension side that
requires fixing.
2023-01-30 18:39:29 -08:00
addmix
3c1c965b85
Added documentation note for add_custom_type()
2023-01-30 14:02:31 -07:00
clayjohn
9071809021
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
...
This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
2023-01-30 12:25:49 -08:00
Rémi Verschelde
e9de988020
Merge pull request #72031 from reduz/change-high-quality-texture-import
...
Refactor high quality texture import
2023-01-30 20:41:01 +01:00
Silc Renew
a0c4f849e0
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
...
Co-authored-by: Skrapion <rick@firefang.com>
2023-01-31 02:14:55 +09:00
Rémi Verschelde
551f5191e5
Merge pull request #72388 from TokageItLab/transition-reset-each
...
Allow the Reset option of NodeTransition to be set for each Input
2023-01-30 17:35:00 +01:00
Rémi Verschelde
a5cefef2d8
Merge pull request #72381 from yedpodtrzitko/yed/update-fileaccess-docs
...
docs: replace `File` with `FileAccess`
2023-01-30 17:34:56 +01:00
Silc Renew
2dd3abd0c5
Allow the Reset option of NodeTransition to be set for each Input
2023-01-31 00:40:45 +09:00
Juan Linietsky
28f51ba547
Refactor high quality texture import
...
* Only two texture import modes for low/high quality now:
* S3TC/BPTC
* ETC2/ASTC
* Makes sense given this is the general preferred and most compatible combination in most platforms.
* Removed lossy_quality from VRAM texture compression options. It was unused everywhere.
* Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA).
* Changed MacOS export settings so required texture formats depend on the architecture selected.
This solves the following problems:
* Makes it simpler to import textures as high quality, without having to worry about the specific format used.
* As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30 15:53:23 +01:00
Jiri Suchan
4a4adec33d
docs: replace File with FileAccess
2023-01-30 22:43:08 +08:00
Rémi Verschelde
af57bdb193
Merge pull request #72305 from dalexeev/gfs-fix-export-enum
...
GDScript: Fix `@export_enum` works only with `int`
2023-01-30 14:47:12 +01:00
Rémi Verschelde
312011fade
Fix various typos with codespell
...
And include #72377 .
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
2023-01-30 14:22:47 +01:00
Rémi Verschelde
6d6d6592c9
Merge pull request #71989 from bruvzg/set_typed_move
...
Move Array:set_typed to internal GDExtension structure and unexposed it.
2023-01-30 13:28:40 +01:00
Rémi Verschelde
bde3310f02
Merge pull request #71995 from Faless/net/4.x_tls_verify
...
[NET] Refactor TLS configuration.
2023-01-30 13:28:31 +01:00
bruvzg
5aa87ccc03
Move Array:set_typed to internal GDExtension structure and unexposed it.
2023-01-30 14:23:31 +02:00
Danil Alexeev
be4f36b87e
Remove @GDScript.str
(duplicate of @GlobalScope.str
)
2023-01-30 14:29:07 +03:00
Danil Alexeev
d4b78c352f
GDScript: Fix @export_enum
works only with int
2023-01-30 12:30:37 +03:00
Rémi Verschelde
38f8411ed8
Merge pull request #71964 from bruvzg/mat_key
...
Fix unsafe murmur3 hash use for the default material keys, expose alpha hash transparency mode for default materials and Label3D and Sprite3D.
2023-01-30 10:03:49 +01:00
Rémi Verschelde
62b0bfd343
Merge pull request #71657 from m4gr3d/increase_scroll_bar_size_for_touchscreen_main
...
Update the size of the scrollbar for the editor on touchscreen devices
2023-01-30 10:03:40 +01:00
Raul Santos
54f8fb010c
Sync C# Array with Core
...
- Add `AddRange` method.
- Add `Fill` method.
- Add `Max` and `Min` methods.
- Add `PickRandom` method.
- Add `Reverse` method.
- Add `RecursiveEqual` method.
- Add `Sort` method.
- Add `Slice` and `GetSliceRange` methods.
- Add `IndexOf` overload that takes an index parameter.
- Add `LastIndexOf` method.
- Add `BinarySearch` method.
- Add/update documentation.
2023-01-30 05:41:53 +01:00
Aaron Franke
79215131b5
Replace Area gravity point distance scale with unit distance
2023-01-29 22:12:00 -06:00
Aaron Franke
866e2b95dc
Remove deprecated AREA_PARAM_GRAVITY_POINT_ATTENUATION
2023-01-29 22:12:00 -06:00
Silc Renew
d27005f80e
Remove the max input limit & cleanup AnimationNodeTransition API
2023-01-30 03:52:55 +09:00
Rémi Verschelde
2abaced903
Merge pull request #72269 from Calinou/doc-update-template-feature-tag
...
Update name of `template` feature tag in the class reference
2023-01-29 02:24:32 +01:00
Dmitrii Maganov
31e0ae2012
GDScript: Fix constant conversions
2023-01-29 00:01:53 +02:00
Hugo Locurcio
34a35ac6ca
Update name of template
feature tag in the class reference
2023-01-28 20:04:43 +01:00
Rémi Verschelde
3a25148b9b
Merge pull request #72228 from DarkKilauea/nav-agent-callable
...
Use Callable for Navigation Agent callbacks
2023-01-28 15:58:49 +01:00
Silc Renew
75330887d7
Implement blending audio feature to AnimationTree
2023-01-28 20:08:29 +09:00
Fabio Alessandrelli
7cd80e6a6d
[Net] Remove StreamPeerTLS.blocking_handshake option.
...
Which was unused internally, and can be replaced by:
```
while tls.get_status() == tls.STATUS_HANDSHAKING:
tls.poll()
```
2023-01-28 11:08:02 +01:00
Fabio Alessandrelli
adba870534
[NET] Refactor TLS configuration.
...
Use a TLSOptions configuration object which is created via static
functions.
- "TLSOptions.client": uses the standard CA and common name verification.
- "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified)
- "TLSOptions.server": is the standard server configuration (chain + key)
This will allow us to expand the TLS configuration options to include
e.g. mutual authentication without bloating the classes that uses
StreamPeerTLS and PacketPeerDTLS as underlying peers.
2023-01-28 11:08:02 +01:00
Fredia Huya-Kouadio
63c88df3f7
Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
2023-01-28 00:21:05 -08:00
Josh Jones
22f9ef19e1
Use Callable for Navigation Agent callbacks
2023-01-27 23:14:36 -08:00
Rémi Verschelde
9fceda03b4
Merge pull request #71522 from zoeesilcock/docs/more-info-on-global-menu
...
More info on global menu usage
2023-01-27 15:41:22 +01:00
Rémi Verschelde
f43fbb593e
Merge pull request #72148 from smix8/tileset_navigationlayers_bitmask_helpers_4.x
...
Add TileSet helper functions to set/get navigation layer bitmask values
2023-01-27 15:40:59 +01:00
Rémi Verschelde
525db733c8
Merge pull request #72129 from groud/unclamp_texture_origin
...
Rename texture_offset and unclamp it
2023-01-27 15:40:52 +01:00
Rémi Verschelde
f0e3c3f4c3
Merge pull request #72168 from RandomShaper/sensible_lock_return
...
Booleanize various sync primitives' wait & locking methods
2023-01-27 15:40:43 +01:00
Zoee Silcock
29ec6e7b61
Add a note about the parameter that global menu callbacks require
2023-01-27 12:41:17 +01:00
Rémi Verschelde
518b9e5801
Add missing classref changes after #62942
2023-01-27 12:07:53 +01:00
Rémi Verschelde
9d555f5c68
Merge pull request #62499 from fire/gltf-binary-img-compression
...
Handle gltf binary images
2023-01-27 11:35:55 +01:00
smix8
1809915bce
Add TileSet helper functions to set/get navigation layer values
...
Adds helper functions to TileSet to set / get navigation layers bitmask values.
2023-01-27 11:23:34 +01:00
Pedro J. Estébanez
f630940591
Booleanize various sync primitives' wait & locking methods
2023-01-27 11:15:30 +01:00
Gilles Roudière
d7f3bd50bd
Rename texture_offset and unclamp it
2023-01-27 11:04:45 +01:00
K. S. Ernest (iFire) Lee
39922d7167
Handle gltf binary
...
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ]
Enable compressed mip maps from Basis Universal for faster compressions.
Increase the quality of Basis to avoid corruption.
To keep compatibility use the first mip of the previous internal Godot format.
Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27 02:02:02 -08:00
Rémi Verschelde
22e1575021
Merge pull request #72167 from dalexeev/line-text-edit-context-menu
...
Fix `LineEdit` and `TextEdit` context menus not customizable
2023-01-27 10:32:34 +01:00
Rémi Verschelde
91c0ed5e33
Merge pull request #71907 from TokageItLab/change-animated-sprite-api
...
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-27 10:32:23 +01:00
Rémi Verschelde
9b1f85fe57
Merge pull request #71845 from vonagam/fix-read-only
...
GDScript: Fix test for read-only state of constants
2023-01-27 10:29:52 +01:00
Danil Alexeev
af8bf6f1d0
Fix LineEdit
and TextEdit
context menus not customizable
2023-01-27 11:14:54 +03:00
Dmitrii Maganov
abe6d67232
GDScript: Fix test for read-only state of constants
2023-01-27 05:28:08 +02:00
Raul Santos
a968e51414
C#: Renames to follow .NET naming conventions
...
Renamed C# types and members to use PascalCase and follow .NET naming conventions.
2023-01-27 02:04:17 +01:00
Rémi Verschelde
3b086aa062
Merge pull request #72086 from KoBeWi/set_rekt
...
Don't change region_rect when setting texture
2023-01-26 23:52:19 +01:00
Rémi Verschelde
239145d9cb
Merge pull request #71946 from raulsntos/dotnet/gd
...
C#: Sync GD with Core
2023-01-26 23:43:36 +01:00
kobewi
b5fda06f20
Don't change region_rect when setting texture
2023-01-26 23:02:26 +01:00
Rémi Verschelde
d1277f5cba
Merge pull request #72079 from aXu-AP/arraymesh-shadow-mesh-doc
...
Add description for ArrayMesh.shadow_mesh class reference
2023-01-26 23:00:06 +01:00
Rémi Verschelde
91ad92657e
Merge pull request #69689 from smix8/navagent_rename_location_4.x
...
Rename Navigation uses of 'location' to 'position'
2023-01-26 22:57:03 +01:00
Rémi Verschelde
7cf21f296b
Merge pull request #68034 from Klowner/surfacetool-generate-normals
...
Make SurfaceTool.generate_normals() behave consistently with smoothing groups
2023-01-26 22:52:19 +01:00
aXu-AP
84bf7a63ba
Add description for ArrayMesh.shadow_mesh
...
Update doc/classes/ArrayMesh.xml
Co-Authored-By: Clay John <claynjohn@gmail.com>
2023-01-26 22:48:48 +02:00
Mark Riedesel
da893c14cf
Make SurfaceTool.generate_normals() behave in a consistent manner in regard to smoothing groups, imply group 0 is flat
2023-01-26 12:32:31 -06:00
Yuri Rubinsky
8c8c333bf2
Add derivative functions with precision to shaders
2023-01-26 20:53:46 +03:00
smix8
bf1571979c
Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-26 18:19:03 +01:00
Rémi Verschelde
44c0bfc94d
Merge pull request #71682 from TokageItLab/gdvirtual-anim-node
...
Make `AnimationTree` / `AnimationPlayer` processes adopt to GDVIRTUAL
2023-01-26 16:01:17 +01:00
Rémi Verschelde
296dea77fe
Merge pull request #66692 from Sauermann/fix-window-final-transform
...
Include the Window-transform into Viewport::get_final_transform
2023-01-26 15:59:53 +01:00
Rémi Verschelde
f8d80b406d
Merge pull request #66688 from Sauermann/fix-control-get-global-rect-coordinates
...
Fix Control rect coordinate system inconsistency
2023-01-26 15:59:35 +01:00
Markus Sauermann
83fa14a5a9
Include the Window-transform into Viewport::get_final_transform
2023-01-26 15:30:44 +01:00
Silc Renew
9ef2fb3cd4
Make AnimTree/Player processes adopt to GDVIRTUAL
2023-01-26 23:22:57 +09:00
bruvzg
2442f6c937
[SystemFont] Add missing MSDF properties.
2023-01-26 09:47:42 +02:00
Silc Renew
17bf6238fc
Make AnimatedSprite's playback API consistent with AnimationPlayer
2023-01-26 12:40:19 +09:00
Rémi Verschelde
18a2e7ff6e
Merge pull request #72082 from Calinou/warp-mouse-silence-warning
...
Silence `warp_mouse()` warning in favor of documentation
2023-01-26 01:14:23 +01:00
Rémi Verschelde
42424d3b8e
Merge pull request #71758 from adamscott/is_equal_ref
...
Add `@GlobalScope` `is_same(a, b)` and `Variant::identity_compare()`
2023-01-26 01:07:24 +01:00
Hugo Locurcio
91e2d699b4
Silence warp_mouse()
warning in favor of documentation
...
This warning was spammed in the Android editor when using the
navigation joysticks in the 3D viewport when the finger slid over
the viewport's edges.
2023-01-25 23:44:32 +01:00
Adam Scott
37248d7c87
Add @GlobalScope
is_same(a, b)
and Variant::identity_compare()
2023-01-25 10:46:21 -05:00
Danil Alexeev
b004f8180e
GDScript: Allow constant expressions in annotations
2023-01-25 18:43:56 +03:00
kilojool
8b008757db
OptionButton: allow reselection of selected item
2023-01-25 15:11:48 +01:00
Rémi Verschelde
8cebd0a2ce
Merge pull request #71983 from vmedea/push-customfx
...
Expose RichTextLabel::push_customfx to GDScript
2023-01-25 14:41:01 +01:00
Rémi Verschelde
5743c17001
Merge pull request #71904 from Chaosus/vs_custom_nodes
...
Add handling of script creation/deletion for custom visual shader nodes
2023-01-25 09:20:26 +01:00
Rémi Verschelde
b9bf12e99a
Merge pull request #71142 from aaronfranke/never-duplicate-script
...
Add `PROPERTY_USAGE_NEVER_DUPLICATE` flag and use for script
2023-01-25 09:18:18 +01:00
Rémi Verschelde
0218b1cf6b
Merge pull request #71982 from Sauermann/fix-heightmap-docu
...
Fix documentation about depth and width of Height map
2023-01-25 09:17:54 +01:00
Rémi Verschelde
fd66a86d72
Merge pull request #71330 from Geometror/richtextlabel-fit-content
...
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-25 09:16:38 +01:00
Aaron Franke
2a65f6812b
Add PROPERTY_USAGE_NEVER_DUPLICATE flag and use for script
...
Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
2023-01-24 16:37:50 -06:00
Aaron Franke
2bc0bcbd26
PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"
2023-01-24 16:05:07 -06:00
Aaron Franke
0e7785333f
Improve clarity of Tree's activated/double-clicked signals
...
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-24 15:55:09 -06:00
clayjohn
35d91b2e54
Document some RenderingServer and RenderingDevice methods and constants
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-24 11:35:39 -08:00
Yuri Sizov
fab9926a95
Merge pull request #65137 from dalexeev/editor-naming
...
Rearrange `editor/naming/*` project settings
2023-01-24 22:26:03 +03:00
jordi
bb9a00889a
Add hint for identifiers renamed since Godot 3
2023-01-24 12:33:55 -06:00
Raul Santos
47ca2f2e09
C#: Sync GD with Core
...
- Add overloads to print methods that take a single `string`.
- Use `StringBuilder` to append print parameters.
- Remove `PrintStack` method.
- Add `ErrorString`.
- Remove `Str` method.
- Add exception to `Range` when step is 0.
- Add `VarToBytesWithObjects` and `BytesToVarWithObjects`.
- Remove optional boolean parameter from `VarToBytes` and `BytesToVar`.
- Move `InstanceFromId` to `Godot.Object`.
- Add `Godot.Object.IsInstanceIdValid`.
- Update documentation.
2023-01-24 19:18:38 +01:00
mara
be733ea3d1
Expose RichTextLabel::push_customfx to GDScript
2023-01-24 18:16:24 +01:00
Markus Sauermann
1dce1cbe58
Fix documentation about depth and width of Height map
2023-01-24 17:56:49 +01:00
Yuri Sizov
9de0c73e45
Merge pull request #71757 from aXu-AP/animation_node_transition-improvements
...
Add missing property and method descriptions to AnimationNodeTransition class reference
2023-01-24 17:48:34 +03:00
aXu-AP
ad10d1a726
Add missing property and method descriptions to AnimationNodeTransition class
...
Co-Authored-By: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2023-01-24 16:07:39 +02:00
bruvzg
1c774a6083
Fix unsafe murmur3 hash use for the default material keys, expose alpha hash transparency mode for default materials and Label3D and Sprite3D.
2023-01-24 12:24:53 +02:00
Rémi Verschelde
4fa6edc888
Merge pull request #64930 from raulsntos/dotnet/docs
...
Update C# signal documentation and remove bind array
2023-01-24 09:55:02 +01:00
Rémi Verschelde
ffb7c6e2fc
Merge pull request #71957 from aXu-AP/remotetransform2d-doc
...
Fix incorrect claim in RemoteTransform2D class reference
2023-01-24 09:35:46 +01:00
aXu-AP
c1e1ce86a3
Fix incorrect claim in RemoteTransform2D class reference
2023-01-24 10:18:25 +02:00
Rémi Verschelde
514b348619
Merge pull request #71941 from aXu-AP/gpuparticles2d-doc
...
Add documentation for GpuParticles2D collisions
2023-01-24 09:15:01 +01:00
Rémi Verschelde
d2e8bf7089
Merge pull request #71938 from aXu-AP/curve2d-doc
...
Add Curve2D/tessellate_even_length description class-reference
2023-01-24 09:14:33 +01:00
aXu-AP
201335f3ec
Add documentation for GpuParticles2D collisions
2023-01-23 23:16:35 +02:00
Rémi Verschelde
1dfd236f15
Merge pull request #70377 from dsnopek/server-export-mk2
...
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 22:13:28 +01:00
aXu-AP
f3e72b32ab
Add Curve2D/tessellate_even_length description class-reference
...
Copied from Curve3D's corresponding method.
2023-01-23 22:29:15 +02:00
David Snopek
74458b6e9b
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 13:24:54 -06:00
Jan Haller
15686ca786
Fix bind " convergence_dist" containing space
2023-01-23 20:07:59 +01:00
Hugo Locurcio
abcf0aaed2
Document changing V-Sync at runtime in the class reference
2023-01-23 19:00:22 +01:00
Rémi Verschelde
bebac4a088
Merge pull request #71830 from BastiaanOlij/xr_naming_consistancy
...
Rename getters and signals on XR nodes to be consistant with input types
2023-01-23 16:47:15 +01:00
Raul Santos
92e4b4e888
Update C# signal documentation and remove bind array
...
- Updates C# signal documentation and code examples to the new API in 4.0
- Replace all `nameof` usages with the exposed `StringName`
2023-01-23 16:45:37 +01:00
Rémi Verschelde
1f22c482e1
Merge pull request #70052 from bruvzg/key_unicode_actions
...
Cleanup and unify keyboard input.
2023-01-23 15:36:11 +01:00
Rémi Verschelde
11e2278844
Merge pull request #57606 from SaracenOne/update_on_reimport
...
Update instances of scenes which have been reimported.
2023-01-23 15:35:44 +01:00
Rémi Verschelde
0927e2cffc
Merge pull request #63251 from SaracenOne/disable_data_generation_on_foreign_resources
...
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-23 15:35:31 +01:00
bruvzg
daad4aed62
Cleanup and unify keyboard input.
...
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes.
- Unify IME behaviour, add inline composition string display on Windows and X11.
- Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events.
- Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS.
- Add support for media key handling on macOS.
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23 15:08:12 +02:00
Yuri Rubinsky
6713e0fa5b
Add handling of script creation/deletion for custom visual shader nodes
2023-01-23 15:30:17 +03:00
Rémi Verschelde
5b1df48c6c
Convert en_GB spelling to en_US with codespell
2023-01-23 11:02:20 +01:00
Rémi Verschelde
35c37ce4ce
Merge pull request #67847 from rburing/warn_non-uniformists
...
Warn against using non-uniform scale for 3D physics (in the editor and class reference)
2023-01-23 10:32:06 +01:00
Rémi Verschelde
5726bf578d
Merge pull request #71676 from vnen/gdscript-unicode-identifiers
...
Add support for Unicode identifiers in GDScript and Expression
2023-01-23 10:24:33 +01:00
Bastiaan Olij
52d4a56b3b
Rename getters and signals on XR nodes to be consistant with input types
2023-01-23 11:26:12 +11:00
Rémi Verschelde
5068d82374
Merge pull request #71686 from YuriSizov/stylebox-min-size-but-better
...
Clean-up, harmonize, and improve StyleBox API
2023-01-22 17:53:04 +01:00
Rémi Verschelde
78d45fc51c
Merge pull request #71855 from reduz/audio-stream-polyphonic
...
Add AudioStreamPolyphonic to simplify sound playback from code
2023-01-22 17:51:05 +01:00
Juan Linietsky
f18d408c08
Add AudioStreamPolyphonic to make it easier to play polyphonic sound from code
...
* This new audio stream allows to play multiple sounds and control them over time from code.
* It greatly simplifies tasks such as generative music (music generated from code) or audio.
This new type of stream was added with the goal of fixing audio blending in AnimationPlayer and AnimationTree, but can be used by others for their regular audio needs.
Does not fix anything currently, but should help implement #69758 properly.
Some demo code of how to use this:
```GDScript
var player = $SomeNode as AudioStreamPlayer
player.stream = AudioStreamPolyphonic.new()
var playback = player.get_stream_playback() as AudioStreamPlaybackPolyphonic
var id = playback.play_stream(preload("res://Clip1.ogg"))
await get_tree().create_timer(1).timeout
playback.set_stream_volume(id,-12) # Set volume to half after one second
await get_tree().create_timer(2).timeout
var id2 = playback.play_stream(preload("res://Clip2.ogg")) # 2 seconds later, start another clip
await get_tree().create_timer(1).timeout
playback.stop_stream(id) # 1 second later, kill the first clip
playback.set_stream_pitch_scale(id2,1.5) # Make the second clip go 50% faster
```
2023-01-22 16:22:45 +01:00
Rémi Verschelde
cd031fd31a
Merge pull request #71663 from bruvzg/init_pos_x
...
Reorganize main and sub-window initial position properties.
2023-01-22 11:25:58 +01:00
Rémi Verschelde
c0f35a8db1
Merge pull request #71839 from TokageItLab/expose-fading-from-statemachine
...
Expose `fading_from` from StateMachine
2023-01-22 11:08:34 +01:00
Rémi Verschelde
bda87300e8
Merge pull request #71770 from KoBeWi/better_editing_or_something
...
Rework EditorPlugin editing logic
2023-01-22 11:07:39 +01:00
Silc Renew
8b04f58604
Expose fading_from_node from StateMachine
2023-01-22 15:50:53 +09:00
kobewi
4ae168eb04
Rework EditorPlugin editing logic
2023-01-22 00:20:45 +01:00
Rémi Verschelde
c781537742
Merge pull request #68489 from KoBeWi/open_in_extraterrestrial_program
...
Add "Open in External Program" option
2023-01-21 20:53:04 +01:00
kobewi
60ed7c5004
Add "Open in External Program" option
2023-01-21 18:33:32 +01:00
George Marques
7548e043fc
Add support for Unicode identifiers in GDScript
...
This is using an adapted version of UAX#31 to not rely on the ICU
database (which isn't available in builds without TextServerAdvanced).
It allows most characters used in diverse scripts but not everything.
2023-01-21 13:39:40 -03:00
Rémi Verschelde
3e9a831194
Merge pull request #65726 from KoBeWi/cellless
...
Don't print error in `get_cell_tile_data()`
2023-01-21 16:54:53 +01:00
Rémi Verschelde
ebd0b40f6e
Merge pull request #71687 from reduz/support-script-class-name-in-efs
...
Support script global resource name in EditorFileSystem
2023-01-21 16:54:23 +01:00
Rémi Verschelde
145ab2e1fd
Merge pull request #71797 from reduz/cleanup-shader-parameter-remap
...
Clean up shader parameter remap
2023-01-21 16:53:29 +01:00
Juan Linietsky
dddd8d43f6
Support script global resource name in EditorFileSystem
...
* Works for binary and text files.
* Makes EditorQuickOpen work with custom resources again.
* Information is cached and easily accessible.
Properly fixes #66179 . Supersedes #66215 and supersedes #62417
**WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21 14:19:27 +01:00
Juan Linietsky
7dbc458bb4
Clean up shader parameter remap
...
This PR is a follow up to #64092 , which fixed important issues but it was implemented in an overly complex and inefficient way (because it forced the default code path to always go through string operations).
This cleans up all the shader parameter code.
This fixes #54336 . Also fixes #56219 because, as the new code never queries the RenderingServer on load, potential deadlocks are avoided.
**NOTE**: materials saved between #62972 and #64092 will no longer work and will need to be resaved in an earlier version.
2023-01-21 12:56:28 +01:00
Rémi Verschelde
2435eef617
Merge pull request #71390 from reduz/fix-json-as-resource
...
Fixes to JSON as resource
2023-01-21 11:30:08 +01:00
Rémi Verschelde
d5838a06fa
Merge pull request #71709 from clayjohn/decals-lights-sorting
...
Sort decals and lights based on camera origin
2023-01-20 23:57:55 +01:00
clayjohn
49bebf2bfb
Sort decals and lights based on camera origin
...
Also implement sort_offset for decals
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-20 09:58:17 -08:00
Rémi Verschelde
6d15948c68
Merge pull request #71718 from Calinou/doc-custom-mouse-cursor-max-size-web
...
Document image size restrictions for custom mouse cursors in HTML5
2023-01-20 12:10:18 +01:00
Yuri Rubinsky
6f2c0140f0
Merge pull request #71717 from Chaosus/vs_refactor_texture_get_code
2023-01-20 13:51:35 +03:00
Yuri Rubinsky
7cbe2b939e
Some refactoring for visual shader texture functions
2023-01-20 12:54:20 +03:00
Hugo Locurcio
296b8f299a
Document image size restrictions for custom mouse cursors in HTML5
2023-01-20 10:19:36 +01:00
Rémi Verschelde
9fc40123ab
Merge pull request #71679 from kleonc/draw_polyline_line_strip
...
`CanvasItem::draw_polyline` Support thin polylines drawn using line strip
2023-01-20 08:48:56 +01:00
Rémi Verschelde
d919d77367
Merge pull request #71418 from TokageItLab/restart-anim-tree
...
Allow AnimationStateMachine / AnimationNode to restart when transitioning to the same state
2023-01-19 21:52:35 +01:00
Rémi Verschelde
a202f5104f
Merge pull request #71264 from TokageItLab/improve-statemachine
...
Add next/reset function to `AnimationStateMachine`
2023-01-19 21:52:05 +01:00
kleonc
728c51e362
CanvasItem::draw_polyline Support thin polylines drawn using line strip
2023-01-19 21:08:25 +01:00
Rémi Verschelde
65883cc73b
Merge pull request #71598 from bruvzg/gdscript_bidi_override
...
Implement BiDi override mode for GDScript source.
2023-01-19 19:33:18 +01:00
Rémi Verschelde
ab5c75b9ad
Merge pull request #71649 from raulsntos/array-indexer
...
Add property usage to array indexer
2023-01-19 19:33:05 +01:00
Rémi Verschelde
8b92316368
Merge pull request #71565 from RedworkDE/doc-arraymesh-add-surface
...
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
2023-01-19 19:32:37 +01:00
Yuri Sizov
752402cf35
Clean-up, harmonize, and improve StyleBox API
...
- Make all margin properties follow the same naming convention (their getter and setter too).
- Remove a virtual counterpart of `get_style_margin` from API.
- Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19 20:02:21 +03:00
Raul Santos
97610c8bfc
Add property usage to array indexer
...
This makes the `Array` indexer show as returning `Variant` instead of `void` in the documentation.
2023-01-19 14:22:11 +01:00
Rémi Verschelde
d3665effd5
Merge pull request #71443 from TechnoPorg/fix-resource-conversion-plugins
...
Make EditorResourceConversionPlugin usable.
2023-01-19 13:23:37 +01:00
bruvzg
aade5abd4f
Reorganize main and sub-window initial position properties.
2023-01-19 13:44:06 +02:00
RedworkDE
be4eb3bbdd
Fix LOD sort order; checks in add_surface; and document all parameters of ArrayMesh::add_surface_from_arrays
...
Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
2023-01-19 10:30:25 +01:00
Rémi Verschelde
4679f8724a
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
...
Clean up EditorFileSystem script parsing
2023-01-19 10:09:55 +01:00
clayjohn
faea9f5c10
Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE
...
in favour of texture hints
2023-01-18 19:52:47 -08:00
Rémi Verschelde
acd62443b6
Merge pull request #71619 from TokageItLab/add-keep-state-to-anim-stop
...
Add `p_keep_state` to `AnimationPlayer::stop()`
2023-01-18 22:41:43 +01:00
Rémi Verschelde
5dd3a6dbe2
Merge pull request #71638 from raulsntos/dotnet/export-plugin
...
C#: Implement `ExportPlugin::_get_name` and move `GLOBAL_DEF` to CSharpLanguage
2023-01-18 22:29:37 +01:00
Rémi Verschelde
2050f59e3a
Merge pull request #71623 from kleonc/draw_arc_clamp_to_single_circle
...
`CanvasItem::draw_arc` Clamp angle difference so arc won't overlap itself
2023-01-18 22:28:24 +01:00
Rémi Verschelde
f40f1e0c90
Merge pull request #60904 from KoBeWi/ 👻 👻 👻
...
Allow unindent without selection
2023-01-18 22:27:36 +01:00
Raul Santos
3425d43fed
C#: Move GLOBAL_DEF
s to CSharpLanguage ctor
...
Also documents the .NET project settings.
2023-01-18 21:53:58 +01:00
Juan Linietsky
5bdc0d97d3
Clean up EditorFileSystem script parsing
...
* Optimize only update modified/added/removed files.
* Clean up documentation parsing.
2023-01-18 20:56:45 +01:00
Silc Renew
e480262c53
Allow AnimationNodes to restart when transitioning to the same state
2023-01-19 03:10:59 +09:00
Silc Renew
8bfaf098c7
Add next/reset function to AnimationStateMachine
2023-01-19 03:10:45 +09:00
bruvzg
5361ec9f43
Implement BiDi override mode for GDScript source.
2023-01-18 19:22:20 +02:00
Rémi Verschelde
955f05a4fa
Merge pull request #71473 from TigranExe/patch-2
...
Added property descriptions to and clarified description of SkeletonProfile
2023-01-18 17:34:13 +01:00
Rémi Verschelde
da1b78222c
Merge pull request #71615 from groud/bring_back_get_cells_by_id
...
Bring back TileMap::get_cells_by_id
2023-01-18 17:33:14 +01:00
Silc Renew
d16004f297
Add p_keep_state to AnimationPlayer::stop()
2023-01-19 01:05:46 +09:00
kobewi
b427d3585c
Allow unindent without selection
2023-01-18 17:05:15 +01:00
Gilles Roudière
68afc0afa5
Bring back TileMap::get_cells_by_id
2023-01-18 15:56:31 +01:00
Tigran
20a23cd8cb
Updated SkeletonProfile's main and property descriptions
...
Updated SkeletonProfile's main and property descriptions
-Description now has note about read only quality
-"bone_size" and "group_size" property descriptions have been added and clarified.
-Property descriptions refer to BoneMap page instead of [code]bone_map[/code] from [Retargeting 3d skeletons](https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/retargeting_3d_skeletons.html#bone-map ).
-all property descriptions now do not have any Notes to split them
-TokageItLab clarifies property descriptions to highlight their use
Co-Authored-By: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
2023-01-18 09:23:04 -05:00
kleonc
43fc483e6c
CanvasItem::draw_arc Clamp angle difference so arc won't overlap itself
2023-01-18 15:16:22 +01:00
Rémi Verschelde
0461f75387
Merge pull request #71527 from matt08-prog/patch-1
...
add RichTextLabel::push_font_size description
2023-01-18 08:38:14 +01:00
Rémi Verschelde
6da836bbb4
Merge pull request #71514 from akien-mga/os-unset_environment
...
OS: Add `unset_environment`, better validate input
2023-01-18 08:35:43 +01:00
RedMser
ec4f9f5e2d
Fix documentation 2d/3d mixups
2023-01-17 21:34:10 +01:00
RedMser
dc70ab5e2d
Document internal usage of encode/decode_variant
2023-01-17 18:42:26 +01:00
Rémi Verschelde
19152765de
Merge pull request #71145 from dalexeev/doc-sprite-frames
...
Improve `SpriteFrames` docs
2023-01-17 11:13:49 +01:00
SaracenOne
4628736894
Update instances of scenes which have been reimported.
2023-01-16 13:46:33 -08:00
matt08-prog
44c27802b2
add RichTextLabel::push_font_size description
...
Is it worth adding descriptions for the ItemType enum values (ITEM_FRAME , ITEM_TEXT etc.) or are they self explanatory enough?
2023-01-16 14:15:41 -07:00
Michael Alexsander
c03e474d11
Make DisplayServer
docs tell users to change some window values in the Window
node
2023-01-16 13:52:36 -03:00
Rémi Verschelde
818a9e99a4
OS: Add unset_environment
, better validate input
...
Instead of returning an undocumented boolean error code, we do the
validation checks that should ensure a successful result.
Based on:
- https://linux.die.net/man/3/setenv
- https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-16 16:39:44 +01:00
bruvzg
c6ed9bb77e
Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.
2023-01-16 14:25:32 +02:00
Rémi Verschelde
5ca6c1f9db
Merge pull request #70557 from KoBeWi/class_yeet
...
Move global script class cache to separate file
2023-01-16 12:49:08 +01:00
Rémi Verschelde
47689c7d51
Merge pull request #71502 from bruvzg/tooltip_clickthrough
...
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips.
2023-01-16 12:48:45 +01:00
Danil Alexeev
a8cbb6245b
Fix scaling issue in draw_line
and similar methods
2023-01-16 12:49:58 +03:00
bruvzg
34b34b104c
Add WINDOW_FLAG_MOUSE_PASSTHROUGH
flag and enabled it for tooltips. Expose window_set_mouse_passthrough
to Window
.
2023-01-16 11:42:49 +02:00
kobewi
6444c7d127
Move global script class cache to separate file
2023-01-16 10:16:30 +01:00
Rémi Verschelde
0f0b853c98
Merge pull request #70668 from KoBeWi/never_give_up
...
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +01:00
Rémi Verschelde
b45bd946c6
Merge pull request #70669 from KoBeWi/bruh2
...
Improve ResourcePreloader description
2023-01-16 09:46:52 +01:00
Rémi Verschelde
0b5743327c
Merge pull request #71436 from TigranExe/patch-1
...
Added a brief description to SkeletonProfileHumanoid
2023-01-16 09:41:59 +01:00
Rémi Verschelde
f96701eda6
Merge pull request #71461 from snoopdouglas/snoopdouglas/master
...
Class reference: snake_case .tscn & .gd filenames, _on_* callbacks
2023-01-16 09:41:36 +01:00
Rémi Verschelde
da57e0059e
Merge pull request #70504 from KoBeWi/the_choosen_antipattern
...
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
TigranExe
d50868e688
doc: Add a brief description to SkeletonProfileHumanoid
2023-01-16 09:21:07 +01:00
Rémi Verschelde
88c81bfbe5
Merge pull request #71456 from raulsntos/dotnet/sync-plane
...
C#: Sync `Plane` with Core
2023-01-16 09:20:30 +01:00
Rémi Verschelde
94312ab943
Merge pull request #71445 from raulsntos/dotnet/transforms
...
C#: Add missing `Transform{2D,3D}` and `Basis` constructors
2023-01-16 09:20:07 +01:00
Rémi Verschelde
1580081268
Merge pull request #71474 from raulsntos/plane_get_center
...
Rename `center` method to `get_center` in Plane.
2023-01-16 09:16:40 +01:00
Rémi Verschelde
ce278b1b7a
Merge pull request #70433 from Sauermann/fix-treeitem-id
...
Fix confusion about TreeItem.add_button ambiguity between id and index
2023-01-16 09:15:15 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
Raul Santos
7a19c87c7e
C#: Sync Plane
with Core
...
- Add `Plane(Vector3)` constructor.
- Rename `IntersectRay` to `IntersectsRay`.
- Rename `IntersectSegment` to `IntersectsSegment`.
- Replace `Center` property with `GetCenter` method.
- Add and fix documentation about the _normal_ parameter
to Core and C# documentation.
2023-01-15 19:47:42 +01:00
Raul Santos
7560340ef6
Rename center
method to get_center
in Plane.
2023-01-15 17:18:50 +01:00
Raul Santos
5136366112
C#: Add missing Transform{2D,3D}
and Basis
constructors
...
- Remove `Transform3D(Quaternion, Vector3)` constructor from C#.
- Add `Transform3D(Projection)` constructor to C#.
- Add documentation to the `Transform3D(Projection)` constructor in Core.
- Add `Transform3D` constructor with only real_t params to C# that mirrors `Transform2D`.
- Expose `Basis` constructor with only real_t params in C#.
- Add `Transform2D(real_t, Vector2, real_t, Vector2)` constructor to C#.
2023-01-15 15:45:43 +01:00
Doug Thompson
a4c734ed32
Class reference: snake_case .gd filenames, _on_*
...
This is for:
https://github.com/godotengine/godot-docs/issues/6245
2023-01-15 13:26:29 +00:00
TechnoPorg
2904d19069
Make EditorResourceConversionPlugin usable.
...
Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one.
This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins.
Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example.
2023-01-14 18:48:11 -07:00
Yuri Sizov
4c1f11944e
Update all outdated online documentation links
2023-01-14 19:38:00 +03:00
Juan Linietsky
1aaff63b8f
Fixes to JSON as resource
...
* It was not a resource, hence it was not working to load it as such.
* Changed so, when opened in editor, a parse error will not fail load and the text will be kept.
* This should allow proper editing from within the code editor, including syntax checking and saving files as-is in text.
Partially addresses #66820 .
The code editor still needs to be changed for this to work.
2023-01-14 14:41:51 +01:00
Anthony Cossins
ddab3976fe
Uppercase references to color constants in documentation
2023-01-13 22:56:22 +00:00
Rémi Verschelde
ae66a4b301
Merge pull request #71235 from Calinou/doc-shader-per-instance-uniforms
...
Clarify the difference between uniforms and per-instance uniforms in docs
2023-01-13 22:34:50 +01:00
Rémi Verschelde
030a95dd61
Merge pull request #71137 from lyuma/remove_modification_stack_3d
...
Remove SkeletonModificationStack3D, and Skeleton3D api cleanup
2023-01-13 22:34:09 +01:00
Yuri Sizov
682ef35787
Merge pull request #71328 from reduz/button-shortcuts-no-longer-press
...
Button shortcuts no longer "press" the Button.
2023-01-14 00:14:51 +03:00
Hugo Locurcio
2841047657
Clarify the difference between uniforms and per-instance uniforms in docs
2023-01-13 21:48:06 +01:00
Yuri Sizov
4c5e09f96a
Merge pull request #71339 from raulsntos/dotnet/is_finite
...
Add `IsFinite` to C# Variants
2023-01-13 23:34:51 +03:00
Yuri Sizov
bdb3543c2a
Merge pull request #71343 from raulsntos/dotnet/is_zero_approx
...
Add `IsZeroApprox` to C# vectors
2023-01-13 23:31:24 +03:00
Raul Santos
14c16746f3
Add IsZeroApprox
to C# vectors
2023-01-13 18:53:39 +01:00
Juan Linietsky
dd3a1b08a9
Button shortcuts no longer "press" the Button.
...
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release.
* This logic is removed and now shortcuts always activate on press.
* This makes the editor feel more responsive and solves problems related to this behavior.
Fixes #45033 and possibly others.
2023-01-13 18:43:02 +01:00
Raul Santos
f852004cf5
Add IsFinite
to C# Variants
2023-01-13 17:57:52 +01:00
Hendrik Brucker
e59d6b1b8c
[RichTextLabel] Match minimum size calculation of Label
...
(optional via fit_content property)
2023-01-13 15:17:26 +01:00
Juan Linietsky
6f0e210093
Refactor ProjectSetting overrides
...
* Overrides no longer happen for set/get.
* They must be checked with a new function: `ProjectSettings::get_setting_with_override()`.
* GLOBAL_DEF/GLOBAL_GET updated to use this
This change solves many problems:
* General confusion about getting the actual or overriden setting.
* Feature tags available after settings are loaded were being ignored, they are now considered.
* Hacks required for the Project Settings editor to work.
Fixes #64100 . Fixes #64014 . Fixes #61908 .
2023-01-13 15:13:56 +01:00
bruvzg
9b2843f14f
Improve dashed line alignment and make it optional.
2023-01-13 10:30:12 +02:00
Rémi Verschelde
05e1517c8e
Merge pull request #71290 from clayjohn/normal-map-2d
...
Remove normal_map from MeshInstance2D and MultiMeshInstance2D
2023-01-13 00:17:28 +01:00
Clay John
21893140eb
Merge pull request #71289 from RandomShaper/avoid_color_flash
...
Avoid color flash on window creation and resizing
2023-01-12 14:39:41 -08:00
clayjohn
b514e20fb5
Remove normal_map from MeshInstance2D and MultiMeshInstance2D
2023-01-12 13:15:31 -08:00
Pedro J. Estébanez
d0e37cd04c
Add framework for avoidance of color flash in new windows
2023-01-12 21:42:51 +01:00
Lyuma
fd25bb50ab
Remove SkeletonModificationStack3D, and Skeleton3D api cleanup
...
Removes all 3D modification resources. SkeletonIK3D is a node and still supported.
Remove deprecated Skeleton3D functionality for 4.0, so we can add it back in 4.x.
Remove local_pose_override feature from Skeleton3D and BoneAttachment3D.
Expose Skeleton3D::get_version() so IK scripts/extensions can cache bones.
Note: This change only affects 3D. SkeletonModification2D will work as before.
2023-01-12 12:04:53 -08:00
Rémi Verschelde
797fb296f0
Merge pull request #58517 from KoBeWi/size_matters
...
Add expand modes to TextureRect
2023-01-12 20:06:26 +01:00
Rémi Verschelde
9332d17c87
Merge pull request #71258 from TechnoPorg/doc-editor-export-platform
...
Document EditorExportPlatform
2023-01-12 17:54:59 +01:00
kobewi
dfc4367a47
Add expand modes to TextureRect
2023-01-12 17:06:03 +01:00
Rémi Verschelde
2b0d03bbea
Merge pull request #71270 from Miltage/update-timer-docs
...
Improve clarity surrounding Timer's time_left variable
2023-01-12 15:01:26 +01:00
Rémi Verschelde
a8a9892ad6
Merge pull request #71218 from KoBeWi/unlimited_bikeshedding_lets_go
...
Split pause() from AnimationPlayer's stop()
2023-01-12 14:30:46 +01:00
Yuri Rubinsky
5b627dec72
Merge pull request #71123 from Chaosus/vs_particle_randomness
2023-01-12 16:29:27 +03:00
Robert Shenton
39d7e984d4
Improve clarity surrounding Timer's time_left variable
2023-01-12 15:10:06 +02:00
Rémi Verschelde
a5dedfe260
Merge pull request #70731 from smix8/navigationserver_performance_monitor_4.x
...
Add NavigationServer Performance Monitor
2023-01-12 10:36:18 +01:00
Danil Alexeev
8f706be6fa
Rearrange editor/naming/*
project settings
2023-01-12 11:41:13 +03:00
Rémi Verschelde
0e4e782ada
Merge pull request #70714 from Calinou/doc-os-stdin
...
Improve documentation for `OS.read_string_from_stdin()`
2023-01-12 09:24:47 +01:00
Rémi Verschelde
7f3f559e6b
Merge pull request #71250 from smix8/navigation_tweak_agent2d_4.x
...
Tweak NavigationAgent2D defaults
2023-01-12 08:52:56 +01:00
TechnoPorg
671f2aca29
Document EditorExportPlatform
...
This class exposes no functionality to scripting itself, but is used by EditorExportPlugins.
Internally, it is what does the actual exporting of projects.
2023-01-11 20:16:42 -07:00
Hendrik Brucker
62278eb236
Rename (de)selected signals to node_(de)selected in GraphNode
2023-01-12 04:08:06 +01:00
smix8
594ffd2200
Tweak NavigationAgent2D defaults
...
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
2023-01-11 23:47:16 +01:00
Hugo Locurcio
86b8176864
Improve documentation for OS.read_string_from_stdin()
...
This makes it clearer that calls to this method are blocking.
The unused method parameter was also removed.
2023-01-11 19:57:25 +01:00
Yuri Sizov
2ac2db8de5
Merge pull request #71203 from smix8/nav_tutorial_class_doc_links_4.x
...
Add navigation tutorial links inside class doc
2023-01-11 16:31:03 +03:00
kobewi
da9396881e
Split pause() from AnimationPlayer's stop()
2023-01-11 14:03:31 +01:00
Rémi Verschelde
9c02bf1b11
Merge pull request #70707 from mihe/bind-physics-exclude
...
Bind methods related to physics query exclusions
2023-01-11 10:36:53 +01:00
Rémi Verschelde
ff4d5e0a68
Merge pull request #71060 from ItsAleph/docs/improve-iea
...
docs: Improve `InputEventAction` reference
2023-01-11 09:48:47 +01:00
Rémi Verschelde
baae87e307
Merge pull request #71105 from reduz/unload-current-scene
...
Add SceneTree.unload_current_scene()
2023-01-11 09:46:33 +01:00
smix8
7506ecc5d9
Add navigation tutorial links inside class doc
...
Adds navigation tutorial links inside the class doc to the related and more detailed godot-docs pages.
2023-01-11 08:55:02 +01:00
Rémi Verschelde
cbe3841a43
Merge pull request #69724 from KoBeWi/VS100
...
Document all VisualShader nodes
2023-01-11 01:28:55 +01:00
Rémi Verschelde
5c6158fdfd
Merge pull request #71157 from reduz/fix-callable-get-bound-arguments
...
Fix Callable call error reporting.
2023-01-11 01:15:39 +01:00
Rémi Verschelde
54688a7535
Merge pull request #71127 from reduz/drag-forward-to-callables
...
Change set_drag_forwarding() to use callables.
2023-01-11 01:14:58 +01:00
Ricardo Buring
3efa105548
Add get_contact_impulse method to PhysicsDirectBodyState2D
...
This makes it consistent with 3D.
2023-01-10 23:28:02 +01:00
kobewi
f12abece27
Document all VisualShader nodes
2023-01-10 22:33:58 +01:00
weerdy15
5aadb1273b
docs: Improve InputEventAction
reference
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-10 18:21:03 +01:00
Juan Linietsky
e6a4debede
Change set_drag_forwarding() to use callables.
...
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
2023-01-10 14:09:24 +01:00
Juan Linietsky
e5f2c442c7
Add SceneTree.unload_current_scene()
...
Provides an obvious way to unload the currently loaded scene (which is nowhere to be found in the docs).
The SceneTree.change_scene_to() method must now always provide a valid PackedScene.
Fixes #63565 .
2023-01-10 14:02:06 +01:00
Juan Linietsky
33d3b7eea7
Fix Callable call error reporting.
...
* Fix potential crash when using bind in `Variant::get_callable_error_text()`
* Properly compute bound arguments so they can be properly shown.
* Add a function to obtain the actual bound arguments.
2023-01-10 13:56:27 +01:00
Rémi Verschelde
e3a87641bd
Merge pull request #71147 from bruvzg/get_win
...
Add Node::get_window() method.
2023-01-10 10:52:12 +01:00
Rémi Verschelde
796690948f
Merge pull request #71022 from Sauermann/fix-captured-position-doc
...
Fix doc for position of captured mouse
2023-01-10 10:48:58 +01:00
Rémi Verschelde
2d2902b49b
Merge pull request #70745 from rcorre/array_dup_doc
...
Explain that Array.duplicate will not deep-copy Object.
2023-01-10 10:45:30 +01:00
Rémi Verschelde
e63500344f
Merge pull request #71056 from marzecdawid/add-tree-deselect-all-to-gdscript
...
Expose Tree::deselect_all to GDScript
2023-01-10 10:44:31 +01:00
Markus Sauermann
31346211f2
Fix doc for position of captured mouse
...
The position is not at the center of the screen but of the window.
2023-01-10 10:26:14 +01:00
Danil Alexeev
35bdd8eae4
Improve SpriteFrames
docs
2023-01-10 12:13:23 +03:00
bruvzg
ca8b762797
Add Node::get_window() method.
2023-01-10 11:10:46 +02:00
Rémi Verschelde
be4e9dfeab
Merge pull request #69616 from reduz/change-uuid
...
Ability to change a resource UID from API
2023-01-09 23:08:18 +01:00
Fabio Alessandrelli
6b2abf4605
Merge pull request #70626 from Faless/web/4.x_expose_force_fs_sync
...
[Web] Expose API to force file system sync.
2023-01-09 21:18:47 +01:00
Juan Linietsky
07a964fce3
Ability to change a resource UID from API
...
* Works for text, binary and imported resources
* Allows better clean up of duplicate files.
TODO (future PRs):
* Use this API for assigning new UIDs to copied files.
* Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09 18:52:00 +01:00
Yuri Rubinsky
87eafe48b8
Add few improvements for VisualShaderNodeParticleRandomness
2023-01-09 20:33:45 +03:00
Juan Linietsky
0e0a6bb39b
Removed unused property hints and Object::get_translatable_strings()
...
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09 16:56:01 +01:00
Danil Alexeev
9b3da76640
Fix unpressable buttons
2023-01-09 12:17:48 +03:00
Rémi Verschelde
6a86dfad29
Fix typos with codespell
...
Also includes #71080 .
Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
2023-01-09 08:39:07 +01:00
Rémi Verschelde
31f94574d4
Merge pull request #70996 from reduz/properly-report-callable-bound-arguments
...
Properly report Callable bound arguments
2023-01-09 08:34:28 +01:00
Rémi Verschelde
e7905f4f48
Merge pull request #71045 from reduz/use-bitfield-in-core-types
...
Use BitField<> in core type masks
2023-01-09 08:33:26 +01:00
Juan Linietsky
0e0ca01bce
Properly report Callable bound arguments
...
Fixes #63213
Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
2023-01-08 23:35:11 +01:00
smix8
9802914f97
Add NavigationServer Performance Monitor
...
Adds Performance Monitor for NavigationServer3D.
2023-01-08 22:58:21 +01:00
Rémi Verschelde
378d589e2d
Merge pull request #71037 from reduz/array-format-bitfield
...
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08 22:51:03 +01:00
Rémi Verschelde
c3c5eceb35
Merge pull request #70463 from DarkKilauea/nav-server-const
...
[4.x] Rework const on NavigationServer methods
2023-01-08 22:50:05 +01:00
Rémi Verschelde
69fd2f3571
Merge pull request #71064 from DarkMessiah/expose_clear_tabs
...
Expose TabBar::clear_tabs to GDScript
2023-01-08 22:45:58 +01:00
Rémi Verschelde
1e32a286f3
Merge pull request #70281 from CherrySodaPop/get-impulse-3d
...
Implement collision impulse in Godot Physics 3D
2023-01-08 22:40:06 +01:00
Juan Linietsky
2b815df3c1
Use BitField<> in core type masks
...
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00
Juan Linietsky
47592927b3
Use BitField<> hint for ArrayFormat
...
This was missing in the conversion of bitflags to BitField<>.
2023-01-08 18:47:48 +01:00
Stanislav Labzyuk
436cd91065
Expose TabBar::clear_tabs to GDScript
2023-01-08 13:52:57 +01:00
Dawid Marzec
9eeed06e65
Expose Tree::deselect_all to GDScript
2023-01-08 12:41:27 +01:00
Lily Garcia
8ee6264cc9
Implement collision impulse in Godot Physics 3D
2023-01-07 22:34:28 -05:00
Josh Jones
a0715b30f9
Rework const on NavigationServer methods
...
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07 17:29:00 -08:00
Rémi Verschelde
d642274f75
Merge pull request #70939 from bruvzg/win_screen_2
...
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 13:21:36 +01:00
Rémi Verschelde
3579d7a9f7
Merge pull request #36301 from KoBeWi/daddy_node
...
Add reparent methods to Node
2023-01-07 13:20:56 +01:00
Rémi Verschelde
41b74c675f
Merge pull request #71000 from reduz/callable-bind-from-array
...
Allow binding Callable arguments from an array
2023-01-07 13:18:53 +01:00
Rémi Verschelde
0ab91b3d79
Merge pull request #70993 from rcorre/array-erase-doc
...
Warn against erasing array elements while iterating.
2023-01-07 13:18:16 +01:00
bruvzg
2718a7b7d3
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 11:14:35 +02:00
Rémi Verschelde
bd15c3f80e
Merge pull request #71005 from dazKind/master
...
CodeEdit: Fix typo 'get_code_comletion_prefixes' -> 'get_code_completion_prefixes'
2023-01-06 22:56:44 +01:00
Rémi Verschelde
a12b326fab
Merge pull request #70995 from reduz/do-not-bind-variant-immutable
...
Unbind Variant methods that change immutable types.
2023-01-06 22:56:20 +01:00
Juan Linietsky
d762a0395a
Allow binding Callable arguments from an array
...
Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0.
Fixes #64668 .
Implements https://github.com/godotengine/godot-proposals/issues/6034
Usage:
```GDScript
callable.bindv([arg1,arg2,arg3])
```
2023-01-06 22:37:25 +01:00
Michael Bickel
5d09bf8f05
fix typo 'comleption' -> 'completion'
2023-01-06 19:52:19 +01:00
SaracenOne
f5edeb8f58
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-06 08:39:27 -08:00
Juan Linietsky
576ae694e0
Unbind Variant methods that change immutable types.
...
Fixes #62706 .
Code is commented instead of removed to clarify why they should not be re-added.
2023-01-06 17:17:43 +01:00
EpEpDragon
36d02882b9
Added optional offset and size parameter to RenderDevice buffer_get_data method
2023-01-06 17:08:37 +02:00
Ryan Roden-Corrent
1f6a5e8bb1
Warn against erasing array elements while iterating.
...
Erasing array elements while iterating does not appear to be safe.
For example, the following prints nothing:
```
var a := [0,1,2,3,4,5,6]
for i in a:
if i % 2 == 0:
a.erase(i)
else:
print(i)
```
While this is often true for array implementations, it still seems worth
documenting explicitly. I copied the wording from Dictionary.xml.
2023-01-06 08:21:01 -05:00
Yuri Rubinsky
f101add78b
Add uint
type support to visual shaders
2023-01-06 10:35:25 +03:00
Yuri Sizov
82c00c21e6
Simplify some editor plugin logic and remove dead code
2023-01-05 21:04:54 +03:00
Danil Alexeev
0d25d8e7fc
AnimatedSprite{2D,3D}
improvements
...
* Add support for individual frame duration to `SpriteFrames`.
* Various minor improvements.
2023-01-05 13:13:25 +03:00
Rémi Verschelde
0160fea1ce
Merge pull request #70884 from clayjohn/Depth-prepass
...
Ignore depth draw optimization when using depth draw alpha prepass
2023-01-03 23:23:29 +01:00
Rémi Verschelde
565ae3b767
Merge pull request #67694 from aaronfranke/its-time
...
Remove duplicate Month and Weekday enums
2023-01-03 23:21:19 +01:00
clayjohn
062fb8b0dc
Ignore depth draw optimization when using depth draw alpha prepass
...
This is necessary as the scene shader still uses alpha in this case so we can't discard fragments that weren't written to the depth buffer
2023-01-03 12:33:07 -08:00
Rémi Verschelde
f0893890e1
Merge pull request #70482 from bruvzg/ios_pencil
...
[iOS] Add Apple Pencil pressure and tilt support.
2023-01-03 15:51:39 +01:00
Rémi Verschelde
432c0dee7c
Merge pull request #70708 from rburing/bind_pin_joint_set_param_2d
...
Bind setter and getter for pin joint parameters in `PhysicsServer2D`
2023-01-03 12:39:43 +01:00
Rémi Verschelde
151e1355e8
Merge pull request #63650 from fabriceci/apply-moving-platform-angular-velocity
...
Allow to apply the angular velocity of a moving platform
2023-01-03 12:39:35 +01:00
Rémi Verschelde
4e360ac612
Merge pull request #70702 from vnen/gdscript-error-on-assign-void
...
GDScript: Error when assigning return value of void function
2023-01-03 12:23:00 +01:00
Ryan Roden-Corrent
53181e4090
Explain that Array.duplicate will not deep-copy Object.
...
This was somewhat implied by specifically calling out nested arrays and
dictionaries, but I was still unsure and had to test it myself.
One might expect that `Resource` objects, which have a `duplicate`
method, might be deep-copied.
2022-12-30 11:59:07 -05:00
George Marques
bc739a4687
GDScript: Make using return of void function an error
...
Remove the `VOID_ASSIGNMENT` warning since those cases will be errors
now.
2022-12-30 13:35:38 -03:00
Mikael Hermansson
ba8af83679
Bind methods related to physics query exclusions
2022-12-29 19:29:08 +01:00
Ricardo Buring
6bc313c765
Bind setter and getter for pin joint parameters in PhysicsServer2D
2022-12-29 17:36:08 +01:00
Markus Sauermann
06f0184b63
Fix confusion about TreeItem.add_button ambiguity between id and index
...
A TreeItem button has an id and an index, which can be distinct.
This leads to confusion.
This PR documents the distinction between id and index.
2022-12-29 00:43:45 +01:00
Hana
f130ad622a
Add missing OptionButton method descriptions
2022-12-28 18:24:46 +01:00
kobewi
f2367e0782
Retry loading addons after filesystem scan
2022-12-28 15:40:45 +01:00
kobewi
e9a659be5a
Improve ResourcePreloader description
2022-12-28 14:19:55 +01:00
Fabio Alessandrelli
615fd98620
[Web] Expose API to force file system sync.
...
Mostly useful for modules and extensions that can't use FileAccess to
write files.
2022-12-27 12:33:41 +01:00
Aaron Franke
8d7d1b0bb2
Remove duplicate Month and Weekday enums
...
Well, they were duplicately-exposed, but triplicately-defined.
2022-12-26 15:16:25 -06:00
Yuri Rubinsky
5be4c0b390
Merge pull request #70496 from Chaosus/astargrid_divide_heuristics
2022-12-24 13:00:55 +03:00
Yuri Rubinsky
16efd0b0fc
Divide AStarGrid2D::default_heuristic
into two different heuristics
2022-12-24 09:31:02 +03:00
Rémi Verschelde
d005293a34
Merge pull request #70477 from mihe/bind-joint-disable
...
Bind methods related to disabling collision between joint bodies
2022-12-23 23:43:18 +01:00
bruvzg
223a612c0c
[iOS] Add Apple Pencil pressure and tilt support.
2022-12-23 23:44:10 +02:00
Yuri Sizov
0369475773
Merge pull request #70441 from matt08-prog/doc-ArrayMesh
...
Clarify the description of ArrayMesh::regen_normal_maps
2022-12-23 21:17:01 +03:00
Mikael Hermansson
c1379523ea
Bind methods related to disabling collision between joint bodies
2022-12-23 14:16:33 +01:00
Rémi Verschelde
1cab6c91e9
Merge pull request #69998 from BastiaanOlij/sorting-pivot-4
...
Added options for sorting transparent objects (port of PR #63040 )
2022-12-23 09:47:24 +01:00
Bastiaan Olij
6f4f38db07
Added options for sorting transparent objects (port of PR 63040)
2022-12-23 19:30:33 +11:00
matt08-prog
f708684244
changed wording for ArrayMesh::regen_normal_maps' description
2022-12-23 00:30:13 -08:00
Rémi Verschelde
ecd895a860
Merge pull request #70278 from TokageItLab/add-animation-started-finished-signal-to-tree
...
Add `animation_started/finished` signals to `AnimationTree` and fix time accuracy in StateMachine
2022-12-23 09:08:17 +01:00
Rémi Verschelde
8eec9f7d3c
Merge pull request #69797 from TokageItLab/time-edit-inspector-plugin
...
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-23 09:07:15 +01:00
Rémi Verschelde
9b4888b7c9
Merge pull request #65312 from SaracenOne/auto_advance_behaviour
...
Make auto-advance flag a requirement for conditional/expression evaluation
2022-12-23 09:05:49 +01:00
Rémi Verschelde
c2d8269a72
Merge pull request #70334 from Sauermann/fix-button-group-doc
...
Add configuration warning when ButtonGroup is used with non-toggleable buttons
2022-12-22 08:51:23 +01:00
Rémi Verschelde
4ba5289f91
Merge pull request #70413 from Koyper/rtl_rename_remove_line
...
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
2022-12-22 08:51:13 +01:00
Markus Sauermann
e4e13a404d
Add configuration warning when ButtonGroup is used with non-toggleable buttons
...
Also fix ambiguous documentation of ButtonGroup.
2022-12-22 06:59:47 +01:00
Silc Renew
060fb2d093
Add inspector plugin for key time edit & Change find key argument
2022-12-22 10:03:06 +09:00
Rémi Verschelde
b04bc49443
Merge pull request #68255 from jbcolli2/ColorPickerBug
...
Fixed Issue #68194 involving ColorPicker being allowed to align horizontally when it shouldn't
2022-12-21 22:25:14 +01:00
Rémi Verschelde
f5a6c9cf50
Merge pull request #62029 from Maran23/optional-default-value-project-settings
...
Allow to specify a default value in `ProjectSettings.get_setting()`
2022-12-21 22:23:43 +01:00
Marius Hanl
5aa243f9da
Added the possibility to define a default value in ProjectSettings.get_setting(), which is used when no setting is set.
...
Also added tests for the project settings.
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-12-21 19:49:57 +01:00
Rémi Verschelde
5ad02aa08d
Merge pull request #67111 from DarkKilauea/nav-queries-link
...
Added signal to NavigationAgent when entering a link
2022-12-21 19:38:20 +01:00
Koyper
e846b22da6
Renamed RTL remove_line() to remove_paragraph().
2022-12-21 11:54:18 -06:00
Rémi Verschelde
9ccac04029
Merge pull request #69975 from YuriSizov/docs-area-nd-deserves-better
...
Improve signal documentation for Area2D/3D
2022-12-21 18:25:18 +01:00
Rémi Verschelde
6b4a01f99a
Merge pull request #69351 from smix8/gridmap_item_navigation_layers_4.x
...
Change GridMap navigation_layers to per mesh_library item
2022-12-21 09:21:21 +01:00
Rémi Verschelde
49ec96e346
Merge pull request #70367 from Chaosus/astargrid_get_point_pos
...
Add `get_point_position` method to `AStarGrid2D`
2022-12-21 09:21:13 +01:00
MrBlockers
569ead5762
Add optional arguments to AudioStreamRandomizer
...
Adds stream and weight parameters to add_stream. By default, weight is
1.0f.
2022-12-20 18:48:02 -05:00
Yuri Rubinsky
0bcbf8e00d
Add get_point_position
method to AStarGrid2D
2022-12-20 23:21:38 +03:00
smix8
61f33e205c
Change GridMap navigation_layers to be per mesh_library item
...
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
2022-12-20 20:51:32 +01:00
Silc Renew
4cd144d5fb
Add animation_started/finished signals to AnimationTree
2022-12-21 01:20:22 +09:00
Rémi Verschelde
2a04b18d37
Merge pull request #70339 from Chaosus/astargrid2d_weight_scale
...
Restore weight scale for `AStarGrid2D` (partially)
2022-12-20 13:30:37 +01:00
Rémi Verschelde
f318d60e06
Merge pull request #65376 from reduz/astc-support
...
Implement basic ASTC support
2022-12-20 12:44:30 +01:00
Rémi Verschelde
08f6a46a8d
Merge pull request #70342 from twaritwaikar/fix-vcs-bindings
...
VCS: Fix GDExtension return types for VCS after Array type hardening
2022-12-20 12:43:15 +01:00
Juan Linietsky
71d21c7ccb
Implement basic ASTC support
...
Implements basic ASTC support:
* Only 4x4 and 8x8 block sizes.
* Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future.
The need for ASTC is mostly for the following use cases:
* Implement a high quality compression option for textures on mobile and M1 Apple hardware.
* For this, the 4x4 is sufficient, since it uses the same size as BPTC.
ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high.
Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing.
Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
2022-12-20 11:26:30 +01:00
Twarit Waikar
18df2f36e8
VCS: Fix GDExtension return types for VCS after Array type hardening
2022-12-20 15:42:31 +05:30
Rémi Verschelde
5d97889d1a
Merge pull request #61239 from Calinou/tubetrailmesh-add-cap-properties
...
Add properties to disable top/bottom cap generation in TubeTrailMesh
2022-12-20 10:32:47 +01:00
Rémi Verschelde
923311dea0
Merge pull request #70303 from Calinou/doc-font-outlines-msdf
...
Document MDSF font outlines may require `msdf_pixel_range` adjustments
2022-12-20 10:32:32 +01:00
Rémi Verschelde
f1f6b35b8c
Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compat
...
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20 10:32:26 +01:00
Yuri Rubinsky
8c478dcec9
Restore weight scale for AStarGrid2D
(partially)
2022-12-20 12:22:32 +03:00
Josh Jones
0572346985
Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-20 09:57:54 +01:00
Hugo Locurcio
6e330e8a75
Add properties to disable top/bottom cap generation in TubeTrailMesh
...
This can be used to improve generation and rendering performance,
or for certain special effects such as particle trails.
2022-12-19 17:29:32 +01:00
Hugo Locurcio
fcf54cabba
Document MDSF font outlines may require msdf_pixel_range
adjustments
2022-12-19 17:17:45 +01:00
Rémi Verschelde
d124596862
Merge pull request #70263 from reduz/restore-rotation_degrees
...
Restore 'rotation_degrees' properties.
2022-12-19 16:28:44 +01:00
Rémi Verschelde
adc1096b19
Merge pull request #70219 from bruvzg/msdf_outline_scaling
...
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19 16:26:56 +01:00
Rémi Verschelde
845e655cba
Merge pull request #70285 from MuffinManKen/textserver-format_number-default-docs
...
Update documentation for TextServer.format_number() when language parameter is omitted
2022-12-19 16:26:45 +01:00
Rémi Verschelde
f29f3db419
Merge pull request #59682 from Sauermann/fix-following-viewport-transform
...
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-19 16:26:19 +01:00
Juan Linietsky
80b578b060
Restore 'rotation_degrees' properties.
...
By popular demand, restoring the helper properties to rotate objects in degrees.
Affected are local and global rotations for:
* Node2D
* Node3D
* Control
2022-12-19 10:59:47 +01:00
Ken Paulson
f1d2194c04
Update documentation for TextServer.format_number() when language parameter is omitted.
2022-12-18 23:11:02 -05:00
Markus Sauermann
2da2220da7
Include the following-viewport-transform into CanvasLayer transforms
...
The following-viewport-transform was missing from several calculations
2022-12-18 22:44:34 +01:00
Josh Jones
5d8ba2b2d1
Add support for emitting a signal when entering a NavLink
2022-12-17 16:33:41 -08:00
Rémi Verschelde
0bb94df247
Merge pull request #70230 from DarkKilauea/nav-experimental
...
[4.x] Mark navigation classes and nodes as experimental
2022-12-18 00:31:27 +01:00
smix8
34e7628f5f
Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
bruvzg
20d9457f9d
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-17 22:47:54 +02:00
Rémi Verschelde
10bc1d8710
Merge pull request #30675 from zaksnet/link-button-link-prop
...
Add a `uri` property to `LinkButton`
2022-12-17 20:58:15 +01:00
Rémi Verschelde
d25a64ffca
Merge pull request #70204 from Calinou/ios-remove-disable-touch-setting
...
Remove Disable Touch debug project setting
2022-12-17 20:56:28 +01:00
Rémi Verschelde
a1f481a7d6
Merge pull request #70202 from Calinou/viewport-transparent-background-rename-project-setting
...
Move transparent background project setting to a subsection
2022-12-17 20:56:19 +01:00
Josh Jones
32371906eb
Mark navigation classes and nodes as experimental
...
The navigation team has some large changes planned for navigation in the 4.x timeframe, so marking these nodes as experimental to give users a heads up that the API may change in breaking ways.
2022-12-17 11:12:00 -08:00
Hugo Locurcio
70f6d42c92
Remove Disable Touch debug project setting
...
This project setting was only implemented and iOS and likely served
no purpose outside of debugging during development of engine features.
It was also located in a confusing location in the project settings
editor, as it was located below a root category (which appears in bold
and is normally not seen as clickable by users).
2022-12-17 18:47:29 +01:00
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
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
Medhat Riad
beebfbd909
Improve tooltip for CanvasLayer.layer
2022-12-07 17:51:12 +01:00
Hugo Locurcio
34c38a425a
Document exceptions to font oversampling in Camera2D, CanvasItem and Control
2022-12-07 17:37:08 +01: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
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
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
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
kobewi
7e2a8afb57
Rework how current Camera2D is determined
2022-12-02 00:05:02 +01: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
Jay Mehta
0331f44757
Revise Area node brief descriptions
...
Revision to make the separation between collision and physics/audio influence more clear
2022-11-20 19:43:21 -06: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
Jay Mehta
e723456494
Changed Area3D node description
...
Changed description to be less confusing
Changed
"3D area for detection and physics and audio influence."
To
"3D area for detection, physics, and audio influence."
2022-11-19 17:56:17 -06:00
Jay Mehta
98bda13fd8
Changed Area2D node description
...
Changed description to be less confusing
Changed
"2D area for detection and physics and audio influence."
To
"2D area for detection, physics, and audio influence."
2022-11-19 17:55:15 -06: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
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
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
Micky
a1c10dbbd8
Strip ERR_FAIL from Node.remove_from_group()
...
Also simplifies group check removing unnecessary `!data.grouped.has`
2022-11-13 00:01:18 +01:00
Jonathan Nicholl
edfb504efe
Document that Vector classes are 32-bit
2022-11-12 15:51:11 -05:00
Josh Jones
bda589bffe
Add documentation for DirectionalLight2D
2022-11-12 10:32:37 -08:00
Micky
9b42268467
Make Node.print_orphan_nodes()
static
2022-11-12 17:55:42 +01:00
neropatti
0a39bac40f
Fix typo, change ´ to '
2022-11-12 13:49:12 +02:00
Yaohua Xiong
5241464a46
Refactor Curv3D and PathFollow3D
...
This commit makes the following major changes
1. Add "sample_baked_with_rotation()" to Curve3D, making it usable independently. A similar change was made to Curve2D previously.
2. Refactor the _bake() method on Curve3D, using Parallel Transport Frame instead of Frenet Frame.
3. Refactor the sample_* methods, including:
i. Factor out common binary search code, following the DRY principe
ii. sample_up_vector() interpolated up vector as part of rotation frame(posture) for consistancy and accuracy.
2022-11-12 12:03:54 +08:00
Josh Jones
4c0da0fcba
Added missing descriptions for GeometryInstance3D
2022-11-11 16:43:42 -08:00
Hugo Locurcio
914d3e1b1d
Allow ++
as an alternative separator to --
for user CLI arguments
...
This is required when using `startx` to start a Godot project, as
`--` is used by `startx` for its own arguments (and there is no way
to escape it).
2022-11-11 23:23:58 +01:00
Hugo Locurcio
17e75c830f
Document Texture, CompressedTexture and Placeholder classes
2022-11-11 19:07:57 +01:00
Patrick Dawson
d7136f2d51
Add offsets
parameter to RenderingDevice::vertex_array_create
2022-11-11 15:45:36 +01:00
Rémi Verschelde
e10f8cbf40
Merge pull request #68186 from pkdawson/expose-texture-rd
...
Expose texture_get_rd_texture for scripts
2022-11-11 10:43:57 +01:00
Rémi Verschelde
43f2213325
Merge pull request #68235 from pkdawson/pr-expose-vertex-array-create
...
Expose RenderingDevice::vertex_array_create to scripting
2022-11-11 10:43:35 +01:00
avemort
84f6791bd8
expose XRInterface::get_transform_for_view and XRInterface::get_projection_for_view to gdscript
2022-11-10 09:30:31 -03:00
bruvzg
35528b800c
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-10 10:43:15 +02:00
Aaron Franke
a3e52925bf
Fix default values on virtual classes causing errors in projects
2022-11-09 01:59:53 -06:00
David Snopek
23603e409c
Add support for OpenGL to OpenXR
2022-11-08 18:47:11 -06:00
Rémi Verschelde
56e1520f82
Merge pull request #68098 from compmstr/apply-torque-inertia-note
...
Add note about inertia being required for apply_torque on various Node types
2022-11-08 10:48:33 +01:00
kobewi
d9f066d5fa
Remove duplicate project settings definitions
2022-11-08 01:29:39 +01:00
Rémi Verschelde
e2b39bfdc4
Merge pull request #68346 from Calinou/particles-rename-trail-length-property
...
Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`
2022-11-07 15:05:55 +01:00
Rémi Verschelde
518b4bcc0d
Merge pull request #68342 from KoBeWi/Godot_museum't
...
Allow to disable History Dock via feature profile
2022-11-07 13:41:29 +01:00
Hugo Locurcio
ab7a807f2b
Rename GPUParticles2D/3D's trail_length_secs
to trail_lifetime
...
The property already has a "seconds" suffix in the inspector.
The "lifetime" term makes it more obvious that the property is
specified as time, not a distance in units.
The property hint now allows manually entering values greater than
10 seconds.
The internal rendering value's default now matches the particles
nodes' default.
2022-11-07 13:37:40 +01:00
kobewi
c89100e571
Allow to disable History Dock via feature profile
2022-11-07 13:06:59 +01:00
Aaron Franke
3dc9474355
Fix default values not showing up on virtual classes
2022-11-06 15:05:36 -06:00
Corey Williams
f19de2ae4c
Add note about inertia being required for apply_torque on various Nodes
...
- RigidBody2D
- PhysicsDirectBodyState2D
- RigidBody3D
- PhysicsDirectBodyState3D
2022-11-06 10:16:56 -05:00
jbcolli2
c685c47f8a
Fixed ColorPicker so the vertical option is not available in editor.
2022-11-04 13:59:25 -04:00
kobewi
8a47a12207
Add support for empty delimiter in String.split
2022-11-04 15:09:12 +01:00
Micky
59d9235234
Add missing RID operator descriptions
...
Also tweaks the descriptions above a bit.
2022-11-04 13:32:52 +01:00
Rémi Verschelde
4e47324b3f
Merge pull request #68097 from KoBeWi/no_signal 🔕
...
Add `set_value_no_signal()` to Range
2022-11-04 10:48:47 +01:00
Rémi Verschelde
d48ba545ef
Merge pull request #67741 from cridenour/modular-color-picker
...
Modularize the Color Picker via properties and new picker mode.
2022-11-04 10:48:37 +01:00
Chris Ridenour
286e7da162
Modularize the Color Picker via properties.
2022-11-04 00:08:46 -04:00
Patrick Dawson
e56fc6b338
Expose vertex_array_create
2022-11-03 22:14:55 +01:00
Micky
521d8a5d24
Remove "?" from String.c_escape()
2022-11-03 19:52:21 +01:00
Hugo Locurcio
a19e389f4f
Hide Antialiasing import option on DynamicFonts with MSDF enabled
...
Antialiasing cannot be adjusted on fonts rendered with MSDF.
Internally, Godot always uses grayscale antialiasing for those fonts.
This also tweaks property hints for consistency, and renames
uses of "sub-pixel" to the more commonly used "subpixel".
2022-11-03 18:40:44 +01:00
Rémi Verschelde
3eaf49765b
Merge pull request #68192 from aaronfranke/unify-node3d-euler
...
Unify Node3D RotationOrder with global EulerOrder
2022-11-03 12:07:42 +01:00
Rémi Verschelde
d0b7b698b0
Merge pull request #68191 from aaronfranke/quat-euler-order
...
Allow getting Quaternion rotation in different Euler orders
2022-11-03 12:07:33 +01:00
Rémi Verschelde
3cde6c0432
Merge pull request #67540 from KoBeWi/hue_hue_hue
...
Add a separate hue gradient for OKHSL mode
2022-11-03 11:51:45 +01:00
Patrick Dawson
71d8de2763
Expose texture_get_rd_texture
2022-11-03 05:27:24 +01:00
Aaron Franke
9e952c8386
Allow getting Quaternion rotation in different Euler orders
2022-11-02 19:20:10 -05:00
Aaron Franke
9225eb461e
Unify Node3D RotationOrder with global EulerOrder
2022-11-02 17:46:03 -05:00
Rémi Verschelde
08d56ac2f1
Merge pull request #66747 from aaronfranke/move-euler-order
...
Move EulerOrder enum to math_defs.h and global scope
2022-11-02 22:37:12 +01:00
Rémi Verschelde
9ec7aadc06
Merge pull request #66017 from Mickeon/rename-image-copy-rect
...
Rename Image's `get_rect` to `get_region`
2022-11-02 22:36:57 +01:00
Aaron Franke
8556fdd4bc
Move EulerOrder enum to math_defs.h and global scope
2022-11-02 13:44:13 -05:00
Rémi Verschelde
f7c611ab71
Style: Misc docs and comment style and language fixes
...
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
Rémi Verschelde
39cece382d
Merge pull request #68170 from alfredbaudisch/clear-selection-shortcut
...
Unified shortcut to clear carets and selections from TextEdit
2022-11-02 18:54:19 +01:00
Rémi Verschelde
30e4e7c083
Merge pull request #67917 from Faless/mp/4.x_auth
...
[MP] Add peer authentication support to the default MultiplayerAPI.
2022-11-02 18:53:38 +01:00
Rémi Verschelde
23e793fd18
Merge pull request #68137 from kleonc/shape-cast-get-collider-rid
...
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-02 18:53:23 +01:00
Rémi Verschelde
7488b4724e
Merge pull request #67788 from 98teg/flow-container-alignment
...
Add alignment options to flow container
2022-11-02 18:52:53 +01:00
Rémi Verschelde
17497b1eb9
Merge pull request #65012 from KoBeWi/Godot_museum
...
Add history dock
2022-11-02 18:52:42 +01:00
Rémi Verschelde
d2e1b4b9f0
Merge pull request #68118 from aaronfranke/quat-from-euler
...
Replace Quaternion Euler constructor with `from_euler` method
2022-11-02 18:51:59 +01:00
Rémi Verschelde
62ed75df9c
Merge pull request #64830 from dalexeev/color-hide-internals
...
Remove internal functions of named colors from the public API
2022-11-02 18:51:27 +01:00
Rémi Verschelde
d3a6855dfc
Merge pull request #66361 from dalexeev/remove-int-plus-string
...
Unexpose confusing `String + int` and `int + String` operations
2022-11-02 18:51:16 +01:00
Rémi Verschelde
76092fb684
Merge pull request #63956 from xiongyaohua/interpolate_on_curve2d
...
Move rotation interpolation logic from PathFollower2D to Curve2D
2022-11-02 18:50:48 +01:00
Alfred Reinold Baudisch
a862583d05
Unified shortcut to clear carets and selections
...
Refactors`ui_text_remove_secondary_carets` from https://github.com/godotengine/godot/pull/68089 as `ui_text_clear_carets_and_selection`, with extra behaviour:
- If there's only one active caret active with a selection, clears the selection.
- In case there's more than one caret active, removes the secondary carets and clears selections.
With this change, `TextEdit` then imitates the behaviour of VSCode for clearing carets and selections.
2022-11-02 18:23:24 +01:00
Rémi Verschelde
604abb434f
Merge pull request #52350 from BimDav/viewport_canvas_cull
...
Added Viewport canvas cull mask feature
2022-11-02 17:14:24 +01:00
Rémi Verschelde
06c8e406e4
Merge pull request #63335 from Spartan322/button-shortcut-feedback
...
Make `BaseButton` Shortcut feedback togglable
2022-11-02 17:14:00 +01:00
Fabio Alessandrelli
33dda2e68a
[MP] Remove connection state signals from MultiplayerPeer.
...
Now handled directly by the MultiplayerAPI implementation.
2022-11-02 15:17:23 +01:00
kobewi
f5981ff19d
Add a separate hue gradient for OKHSL mode
2022-11-02 14:44:41 +01:00
Rémi Verschelde
632b3e974c
Merge pull request #67693 from Mickeon/slight-hint-shuffling
...
Fix unordered values of PROPERTY_HINT_INT_IS_POINTER & ARRAY_TYPE
2022-11-02 14:16:53 +01:00
VolTer
e0e236edfc
Remove editor setting for hiding bookmarks
2022-11-02 01:14:02 +01:00
Micky
ebf86c96e9
Rename Image's get_rect
to get_region
...
Also renames its parameter to from "rect" to "region".
2022-11-01 23:35:48 +01:00
kleonc
bbd225a804
Add ShapeCast2D/3D::get_collider_rid
method
2022-11-01 21:17:18 +01:00
Fabio Alessandrelli
0a0e99cadc
Merge pull request #67982 from Faless/mp/4.x_disconnect_close
...
[MP] Add MultiplayerPeer disconnect_peer, close.
2022-11-01 20:35:04 +01:00
Aaron Franke
83634119d4
Replace Quaternion Euler constructor with from_euler
method
2022-11-01 09:28:12 -05:00
Rémi Verschelde
e6751549cf
Merge pull request #68089 from alfredbaudisch/remove-secondary-carets
...
Shortcut and Bind to Remove Secondary Carets
2022-11-01 08:25:06 +01:00
Yaohua Xiong
399c2a8dea
Move rotation sampling from Path2D to Curve2D
...
The rotation sampling code is moved from Path2D to a new method
`sample_baked_with_rotation` on Curve2D.
2022-11-01 13:18:52 +08:00
kobewi
4aa1efb0fe
Add set_value_no_signal() to Range
2022-10-31 23:59:01 +01:00
Rémi Verschelde
c29fe310f1
Fixup classref markup after #62416
2022-10-31 23:35:12 +01:00
Rémi Verschelde
2bd9a6fe8d
Merge pull request #68044 from ztc0611/ios-promotion
...
Add ProMotion/High Refresh Rate Support to iOS Exports
2022-10-31 23:03:30 +01:00
Rémi Verschelde
778ffce1e3
Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish
...
Request attention on the editor window when done recording a movie
2022-10-31 23:03:21 +01:00
Alfred Reinold Baudisch
fcff978763
Shortcut and Bind to Remove Secondary Carets
...
Adds the bind `ui_text_remove_secondary_carets` to TextEdit, with ESC as the default shortcut.
When the bind is performed, if the TextEdit has multiple carets, `remove_secondary_carets` is called and secondary carets are removed.
This is useful when multiple selects are performed with `add_select_for_next_occurrence` #67644 or when multiple multiple carets are manually added, then it's possible to go back to a single caret with a shortcut.
Closes #67991
2022-10-31 17:44:47 +01:00
Rémi Verschelde
9019c5fbd7
Merge pull request #68051 from kleonc/array-fill-docs-note
...
[Docs] Clarify `Array.fill` behavior when reference type is passed in
2022-10-31 15:54:40 +01:00
Rémi Verschelde
19195bec2d
Merge pull request #67933 from bruvzg/ds_hide_window_creation
...
[DisplayServer] Hide internal window creation/deletion methods and expose some missing methods.
2022-10-31 15:54:33 +01:00
Matthew
2ccd827453
Merge pull request #68055 from Lielay9/patch-1
...
Fix typo minimize button -> maximize button
2022-10-31 10:35:29 -04:00
bruvzg
9f46bf44cd
[DisplayServer] Hide internal window creation/deletion methods and expose some missing methods.
2022-10-31 16:17:45 +02:00
Zach Coleman
601c42be66
Add ProMotion Support to iOS Exports
2022-10-31 09:33:39 -04:00
Rémi Verschelde
cd25e48456
Merge pull request #67562 from bruvzg/improve_font_packing
...
Improve font glyph cache packing shelf best height fit heuristic.
2022-10-31 14:26:13 +01:00
BimDav
fcb9be66a2
Viewport canvas cull mask feature
...
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31 14:09:49 +01:00
Raul Santos
82dac64659
Change exclude property in PhysicsRayQueryParameters3D
to TypedArray
...
Change type of exclude property from `Vector<RID>` to `TypedArray<RID>` which is consistent with the 2D version.
2022-10-31 13:44:46 +01:00
Rémi Verschelde
4b92533efa
Merge pull request #68073 from timothyqiu/marker-3d-extents
...
Make Marker3D gizmo resizable
2022-10-31 12:17:13 +01:00
Rémi Verschelde
71a6aba3d7
Merge pull request #67710 from KoBeWi/a_bit_local_global_transform
...
Remove error condition from get_global_transform()
2022-10-31 11:59:08 +01:00
Rémi Verschelde
0844f0ed10
Merge pull request #65452 from timothyqiu/agent-target
...
Make NavigationAgent `target_location` a property
2022-10-31 11:56:17 +01:00
Rémi Verschelde
33c7c8020a
Merge pull request #67489 from timothyqiu/auto-select-all
...
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-31 11:55:06 +01:00
Rémi Verschelde
b6cbea5e58
Merge pull request #63590 from golfinq/fbg-padding
...
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31 11:14:55 +01:00
Rémi Verschelde
51cd380167
Merge pull request #64659 from Streq/patch-1
...
add polygons property description in Polygon2D
2022-10-31 11:00:12 +01:00
Rémi Verschelde
8b1a42cd47
Merge pull request #67888 from KoBeWi/overridead
...
Remove `override_selected_font_color` property
2022-10-31 10:59:07 +01:00
Rémi Verschelde
273410ba5a
Merge pull request #67139 from PucklaMotzer09/insert_caret_at_carets
...
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-31 10:32:07 +01:00
Haoyu Qiu
3ded27c62d
Make Marker3D gizmo resizable
2022-10-31 15:19:48 +08:00
streq
de66acc624
clarify [member polygons] functionality in the Polygon2D class documentation
2022-10-30 20:32:36 -03:00
Hei
293ed314fd
Fix typo minimize button -> maximize button
...
Seems like a typo.
2022-10-30 16:28:44 +02:00
kleonc
221a89f2ef
Docs Clarify Array.fill
behavior when reference type is passed in
2022-10-30 13:42:24 +01:00
Anutrix
c9b467ac15
Added missing docs to built-in types float and int
2022-10-30 17:53:59 +05:30
Max Hilbrunner
ad3f2a2340
Merge pull request #67945 from Mickeon/doc-consistency-inspector
...
Doc consistency: tweak "inspector" Vs. "Inspector"
2022-10-30 12:09:47 +01:00
Max Hilbrunner
9fb481334a
Merge pull request #68039 from Anutrix/docs-fix-signal-syntax
...
Fixed signal connection examples to use new callable syntax in the docs
2022-10-30 12:03:37 +01:00
Anutrix
7984598e33
Fixed signal connection examples to use new callable syntax in the docs
2022-10-30 05:26:46 +05:30
Max Hilbrunner
6ac7afe7a7
Merge pull request #67836 from stevecotton/particles_demo_link
...
doc: link GPUParticles2D to a more appropriate demo
2022-10-30 00:10:56 +02:00
Max Hilbrunner
f3e2f78b21
Merge pull request #67923 from Calinou/doc-displayserver
...
Document the DisplayServer class
2022-10-30 00:08:50 +02:00
Max Hilbrunner
11d74d606a
Merge pull request #67980 from DeeJayLSP/webpcase
...
Change all WEBP strings and comments to WebP
2022-10-29 19:28:47 +02:00
Haoyu Qiu
3aed3edc06
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-29 09:58:42 +08:00
Fabio Alessandrelli
39f3d9d59e
[MP] Add MultiplayerPeer disconnect_peer, close.
...
Update ENet, WebRTC, and WebSocket to support peer disconnection and
unify the close function.
2022-10-28 21:18:01 +02:00
DeeJayLSP
dd64ceab47
Change all WEBP strings and comments to WebP
2022-10-28 15:17:49 -03:00
Clay John
ada2661a2c
Merge pull request #67956 from RedMser/safe-velocity-type
...
Fix type of `safe_velocity` parameter
2022-10-28 10:57:46 -07:00
Clay John
e3b66ff9e3
Merge pull request #67621 from groud/resource_saver_expose_recognize_path
...
Expose the logic to recognize a save path in ResourceSaver
2022-10-28 10:56:32 -07:00
Gilles Roudière
e23f82f3c1
Expose the logic to recognize a save path in ResourceSaver
2022-10-28 11:15:25 +02:00
Max Hilbrunner
9ff3a43a32
Merge pull request #67957 from zCubed3/fix_headless_crash
...
Fix `OS.get_video_adapter_driver_info` crash on headless godot
2022-10-28 03:32:59 +02:00
Clay John
0486810697
Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrence
...
Add Selection and Caret for Next Occurrence of Selection
2022-10-27 17:21:49 -07:00
zCubed3
e7091d07cd
Fix OS.get_video_adapter_driver_info crash
2022-10-27 15:45:21 -07:00
RedMser
b9c3a5534b
Fix type of safe_velocity parameter
2022-10-27 22:45:24 +02:00
Clay John
24e788e9be
Merge pull request #67874 from Calinou/doc-vector3-vector4i
...
Document the Vector3 and Vector4i classes
2022-10-27 12:48:34 -07:00
Clay John
8fd92ed867
Merge pull request #64710 from MinusKube/window-size-crash
...
Prevent windows from having a size greater than device limit
2022-10-27 10:02:44 -07:00
Clay John
e1caa8797b
Merge pull request #67043 from clayjohn/clip_children
...
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-27 09:59:27 -07:00
Clay John
5f575bf1fa
Merge pull request #67861 from IanGaither/textfile-alignment-documentation
...
TextLine - Added description for alignment member
2022-10-27 09:51:19 -07:00
Steve Cotton
6db9752f23
doc: link GPUParticles2D to the 2D Particles demo
...
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.
2022-10-27 18:46:56 +02:00