Rémi Verschelde
0a10f09ce4
Web: Clarify that OS.get_unique_id
is not supported
...
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.
Fixes #82439 .
2023-09-27 15:17:45 +02:00
Rémi Verschelde
048abcb2bb
Merge pull request #82384 from YeldhamDev/corner_cases_man_i_swear
...
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-27 14:03:43 +02:00
Rémi Verschelde
19057c07bc
Merge pull request #67080 from Mickeon/resource-virtual-local-to-scene-setup
...
Reimplement Resource.`_setup_local_to_scene` & deprecate signal
2023-09-27 14:03:28 +02:00
kobewi
cfb6d25d30
Document, cleanup and fix some theme properties
2023-09-27 00:06:15 +02:00
Rémi Verschelde
f14ed3067d
Merge pull request #81573 from YuriSizov/docs-use-theme-binds-in-help
...
Use bound theme properties for documentation
2023-09-26 22:46:10 +02:00
Aaron Franke
b0c1c24c38
Allow adding a custom side menu to EditorFileDialog
2023-09-26 14:03:18 -05:00
Michael Alexsander
decae848a8
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-26 15:08:47 -03:00
Yuri Sizov
596dd726a1
Use bound theme properties for documentation
2023-09-26 18:48:51 +02:00
Yuri Sizov
378ab38b1f
Rename close requests to delete requests in GraphEdit
2023-09-26 16:41:39 +02:00
Rémi Verschelde
9b0b441cf3
Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning
...
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-26 16:36:39 +02:00
Rémi Verschelde
eefe161549
Merge pull request #81610 from Ughuuu/add-angle-limits-and-motor-to-pin-joint-2d
...
Update PinJoint2D API with angle limits and motor speed
2023-09-26 13:45:07 +02:00
Rémi Verschelde
93cf990cdb
Merge pull request #81564 from aaronfranke/doc-string-byte-array
...
Doc: Reference String <-> PackedByteArray conversions from each other
2023-09-26 13:45:02 +02:00
Rémi Verschelde
ca8b229e1c
Merge pull request #80410 from bruvzg/rtl_img_features
...
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 13:44:46 +02:00
Rémi Verschelde
3ec673085b
Merge pull request #79523 from aaronfranke/is-conformal
...
Add `is_conformal` method to Basis and Transform2D
2023-09-26 13:44:41 +02:00
Rémi Verschelde
21cdedb79c
Merge pull request #77819 from 0xafbf/char-fx-tests
...
Make it possible to change character transform in RichTextEffect
2023-09-26 13:44:28 +02:00
Dragos Daian
0fcfb07246
Update PinJoint2D API with angle limits and motor speed
...
add enabled methods for motor and angular limits
use correct name to get joint
update copyright
2023-09-26 10:29:23 +02:00
bruvzg
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 09:39:51 +03:00
Rémi Verschelde
4443b8f474
Merge pull request #82230 from zaevi/dark-mode-android-ios
...
Support dark mode on Android and iOS.
2023-09-26 08:30:36 +02:00
Rémi Verschelde
b9c36c930b
Merge pull request #81270 from Sauermann/fix-canvas-layer-index-doc
...
Improve canvas layer index documentation
2023-09-26 08:18:49 +02:00
Rémi Verschelde
7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
...
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
Rémi Verschelde
55dfbd7761
Merge pull request #80284 from dsnopek/gdextension-hot-reload
...
Implement reloading of GDExtensions
2023-09-26 08:17:28 +02:00
Rémi Verschelde
79805262f1
Merge pull request #77829 from AThousandShips/mp_fix
...
Disallow nested custom multiplayers in `SceneTree`
2023-09-26 08:17:02 +02:00
David Snopek
2733a6f762
Implement reloading of GDExtensions
2023-09-25 22:10:17 -05:00
Zae
428eb1309a
Support dark mode on Android and iOS.
2023-09-26 11:00:04 +08:00
PucklaMotzer09
d2e651f403
Add Duplicate Lines shortcut to CodeTextEditor
...
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
Rémi Verschelde
023b6b30c1
Merge pull request #73813 from groud/improve_y_sort_performances
...
Greatly improve Y-sort performance on TileMaps
2023-09-25 22:47:22 +02:00
Dario
1b2b726502
Replace OIDN denoiser with a JNLM denoiser compute shader implementation.
2023-09-25 14:53:45 -03:00
smix8
0ee7e3102b
Add 2D navigation mesh baking
...
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
Gilles Roudière
30b94bb8ab
Improve TileMap Y-sorting performance
2023-09-25 18:49:04 +02:00
Rémi Verschelde
e4cfd4e26a
Merge pull request #82195 from AThousandShips/radian_fix
...
Replace `radians` range hint with `radians_as_degrees`
2023-09-25 17:18:38 +02:00
Rémi Verschelde
cd39da2df7
Merge pull request #81197 from DarioSamo/fsr2-rd
...
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
2023-09-25 17:18:12 +02:00
Rémi Verschelde
d759f91f8d
Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support
...
C#: Add abstract class support
2023-09-25 17:18:05 +02:00
Rémi Verschelde
9fdf24fa67
Merge pull request #80881 from BastiaanOlij/openxr_foveation_ext
...
Implement OpenXR Foveated rendering support
2023-09-25 17:18:00 +02:00
Rémi Verschelde
91420573c0
Merge pull request #79965 from KoBeWi/popup_menu_sidequest
...
Free submenu children when clearing PopupMenu
2023-09-25 17:17:55 +02:00
Rémi Verschelde
c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
...
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde
1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
...
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
Rémi Verschelde
3408aab7c6
Merge pull request #76027 from AThousandShips/focus_direction
...
Expose finding valid focus neighbors of a `Control` by side
2023-09-25 17:17:33 +02:00
kobewi
df24882f9a
Free submenu children when clearing PopupMenu
2023-09-25 16:45:41 +02:00
Dario
057367bf4f
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
...
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
A Thousand Ships
a5fe392b78
Disallow nested custom multiplayers in SceneTree
...
Enables clearing the custom multiplayer
2023-09-25 14:59:05 +02:00
Bastiaan Olij
d7d334158a
Implement OpenXR Foveated rendering support
2023-09-25 17:12:20 +10:00
A Thousand Ships
e45927b2f2
Replace radians
range hint with radians_as_degrees
2023-09-25 08:50:19 +02:00
Rémi Verschelde
64cde8ae8b
Merge pull request #82168 from Supreeeme/ext-fix
...
Expose `texture_create_from_extension` to GDExtension
2023-09-24 23:34:06 +02:00
Rémi Verschelde
317b925d97
Merge pull request #82050 from chokomancarr/patch-1
...
docs: Fix incorrect GL format code for 16 bit float formats
2023-09-24 23:33:18 +02:00
Rémi Verschelde
684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
...
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde
42fb795eb8
Merge pull request #80227 from raulsntos/get_tab_bar
...
Expose the `TabBar` of a `TabContainer`
2023-09-24 23:30:56 +02:00
Rémi Verschelde
98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
...
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Aaron Franke
ff23d27427
Update Importing 3D scenes link to match splitting PR
...
See https://github.com/godotengine/godot-docs/pull/7830
2023-09-23 16:53:18 -05:00
Shawn Wallace
b12ed82c04
Expose texture_create_from_extension to GDExtension
2023-09-23 16:57:12 -04:00
Wilson E. Alvarez
c844988e40
Expose EditorInspector::get_edited_object to GDScript
2023-09-23 09:47:07 -04:00
Danil Alexeev
4ce27301d3
GDScript: Add INFERRED_DECLARATION
warning
2023-09-22 23:13:52 +03:00
Rémi Verschelde
bafcd32f15
Merge pull request #81716 from akien-mga/web-disable-raycast-embree
...
Web: Disable raycast module by default (no occlusion culling)
2023-09-22 22:03:55 +02:00
Raul Santos
408a08f2c1
Expose the TabBar
of a TabContainer
...
Add `TabContainer::get_tab_bar` method to retrieve the `TabBar` of a `TabContainer`.
2023-09-22 20:08:28 +02:00
chokomancarr
4a2de1e17a
fix incorrect GL format code for 16 bit float formats
...
For FORMAT_XXXH half-precision format constants, the description uses GL_XXX32F, which is incorrect.
This fixes it to GL_XXX16F to align with the intended precision.
2023-09-21 21:49:01 +08:00
Rémi Verschelde
1094239f56
Merge pull request #81249 from beyarkay/patch-1
...
[docs] Update AABB `get_support` description
2023-09-21 14:24:59 +02:00
bruvzg
1887a9df19
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching.
...
Co-authored-by: Riteo <riteo@posteo.net>
2023-09-21 14:21:00 +03:00
Rémi Verschelde
0c71c7cc6f
Merge pull request #81967 from Jordyfel/physics-doc
...
Fix example in gravity project settings doc
2023-09-20 18:55:21 +02:00
beyarkay
73fb7f0fc0
[docs] update AABB get_support
description
...
This is a simple documentation edit. It updates the description of the
get_support method in AABB to explain what a support point is.
2023-09-20 16:38:43 +02:00
Rémi Verschelde
52104ded69
Merge pull request #81298 from mihe/soft-body-rendering-handler
...
Fix bindings of `PhysicsServer3DRenderingServerHandler`
2023-09-20 15:18:24 +02:00
Mikael Hermansson
ee9f41a12d
Fix bindings of PhysicsServer3DRenderingServerHandler
2023-09-20 12:24:32 +02:00
Jordyfel
197d57af79
Fix gravity project settings doc.
2023-09-20 10:38:00 +03:00
bitsawer
16c3a19d91
Expose and document Image.get_mipmap_count()
2023-09-19 14:34:59 +03:00
Markus Sauermann
fffbb42a24
Improve canvas layer index documentation
...
Document special case of identical canvas layer index.
2023-09-18 21:33:31 +02:00
Rémi Verschelde
e3e2528ba7
Merge pull request #81834 from MewPurPur/canvas-texture-icon
...
Add CanvasTexture icon
2023-09-18 10:38:32 +02:00
MewPurPur
c7094d5172
Add CanvasTexture icon
2023-09-18 11:05:03 +03:00
Arkadiusz Marcin Kołek
18811ac814
Allow to focus individual tabs in TabBar/TabContainer
2023-09-17 18:49:48 +02:00
Rémi Verschelde
7bb80b1525
Merge pull request #81741 from KoBeWi/vectoring_to_the_MAXXX
...
Add `Vector2/3/4i.MAX` and `MIN`
2023-09-17 14:47:52 +02:00
Rémi Verschelde
04d2aa61a3
Merge pull request #81641 from MewPurPur/bus-go-brrrr-2
...
Add a `bus_renamed` AudioServer signal
2023-09-17 14:47:29 +02:00
Rémi Verschelde
f4d85d58f7
Merge pull request #80736 from Ughuuu/add-get-rid-to-joints
...
Expose the `get_rid` method of Joint2D and Joint3D
2023-09-17 14:47:04 +02:00
Rémi Verschelde
4a48fd4b9f
Merge pull request #63634 from Spartan322/itemlist-predraw-size
...
Expose and rename ItemList's `_check_shape_changed` to `force_update_list_size`
2023-09-17 14:45:19 +02:00
kobewi
adc930baee
Add Vector2/3/4i.MAX and MIN
2023-09-16 21:52:13 +02:00
Rémi Verschelde
33b95f06e2
Merge pull request #80972 from KoBeWi/settings_from_nowhere
...
Cleanup some `GLOBAL_DEF`s
2023-09-16 21:22:04 +02:00
Rémi Verschelde
4c01c62233
Merge pull request #79182 from MewPurPur/polyline-close
...
Add closed property to Line2D
2023-09-16 21:20:47 +02:00
Rémi Verschelde
8c40edf8c0
Web: Disable raycast module by default (no occlusion culling)
...
This means no CPU occlusion culling (and not compiling Embree), unless
you compile custom export templates with `module_raycast_enabled=yes`.
This reduces the memory footprint significantly, and binary size.
Fixes #70621 .
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-09-16 21:00:04 +02:00
398utubzyt
2df37a237a
C#: Abstract script class support
2023-09-15 20:35:25 -07:00
kobewi
cd0aaab48c
Cleanup some GLOBAL_DEFs
2023-09-15 21:32:23 +02:00
Yuri Sizov
51a196ef5b
Merge pull request #81672 from KoBeWi/PNG_is_love_PNG_is_life
...
Add note about format to splash image description
2023-09-15 19:48:41 +02:00
Yuri Sizov
b797fa18c8
Merge pull request #81621 from PrecisionRender/fix-popup-menu-accelerators
...
Expose `PopupMenu` `activate_item_by_event` method
2023-09-15 19:48:27 +02:00
Yuri Sizov
df6cd37a69
Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
...
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
vPumpking
bd575c5fe5
Add 'get_tree_string()' and 'get_tree_string_pretty()' to Node class to complement printing methods
2023-09-15 19:18:53 +02:00
George L. Albany
421e8c5455
Expose force_update_list_size
...
Rename ItemList::_check_shape_changed to force_update_list_size
`force_update_list_size` is especially useful for updating the auto_height_value early
2023-09-15 13:18:02 -04:00
PrecisionRender
76fad10978
Expose PopupMenu
activate_item_by_event
method
2023-09-15 10:27:49 -05:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
MewPurPur
f29b6e73c2
Add a bus_renamed AudioServer signal
2023-09-15 13:02:03 +03:00
kobewi
f1ecb97161
Add note about format to splash image description
2023-09-15 02:07:09 +02:00
Yuri Sizov
b467afe65d
Merge pull request #81634 from lyuma/generate_lod_deprecate
...
Add missing is_deprecated flag on the SurfaceTool.generate_lod function.
2023-09-14 15:22:03 +02:00
Yuri Sizov
495b89ece9
Merge pull request #81561 from BastiaanOlij/fix_openxr_blend_modes
...
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-14 15:21:49 +02:00
Yuri Sizov
223fc3cdd3
Merge pull request #81440 from ryanabx/features/warn-strict-supertype-only
...
Remove `REDUNDANT_FOR_VARIABLE_TYPE` warning
2023-09-14 15:21:33 +02:00
Yuri Sizov
30178b2b8d
Merge pull request #42100 from groud/document_unhandled_key_input
...
Document when to use `_unhandled_key_input` over `_unhandled_input`
2023-09-14 15:21:10 +02:00
Lyuma
8153739df9
Add missing is_deprecated flag on the SurfaceTool.generate_lod function.
2023-09-13 22:23:05 -07:00
Aaron Franke
56806ffeed
Add is_conformal
method to Basis and Transform2D
2023-09-13 17:20:30 -05:00
Bastiaan Olij
3806d964e3
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-13 14:07:23 +10:00
ryanabx
ceda960131
Remove REDUNDANT_FOR_VARIABLE_TYPE
...
Remove REDUNDANT_FOR_VARIABLE_TYPE
2023-09-12 20:04:32 -05:00
Gilles Roudière
bc33add262
Document why use either _unhandled_key_input, _shortcut_input or _unhandled_input
2023-09-12 13:18:07 +02:00
Rémi Verschelde
98b50eb308
Merge pull request #81565 from timothyqiu/typos
...
Fix typos in EditorDebuggerPlugin and RDShaderSPIRV classref
2023-09-12 12:02:50 +02:00
Rémi Verschelde
38ca83e16f
Merge pull request #81464 from AcatXIo/fix-sign-nan
...
Fix `SIGN(NAN)` returning 1
2023-09-12 12:01:39 +02:00
Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
...
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
Danil Alexeev
26ce861910
Editor: Remove unused Class Name field from Create Script dialog
2023-09-12 12:49:56 +03:00
Aaron Franke
7e3e13fc66
Doc: Reference String <-> PackedByteArray conversions from each other
2023-09-12 03:43:01 -05:00
Haoyu Qiu
2c59c59270
Fix typos in EditorDebuggerPlugin and RDShaderSPIRV classref
2023-09-12 16:16:32 +08:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
...
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Rémi Verschelde
0545ed5c71
Merge pull request #81355 from ryanabx/features/enforce-static-typing
...
Add an optional `untyped_declaration` warning
2023-09-12 08:49:57 +02:00
Jean-Michel Bernard
67dce301aa
Add code region folding to CodeEdit
2023-09-11 18:36:40 +02:00
ryanabx
14edf044af
Add "untyped_declaration" warning
2023-09-11 09:39:10 -05:00
Rémi Verschelde
218a27a859
Merge pull request #81517 from Calinou/doc-scrollcontainer-signal-touch-only
...
Document ScrollContainer signals being emitted for touch events only
2023-09-11 15:40:28 +02:00
Rémi Verschelde
b84061ba2a
Merge pull request #70080 from aaronfranke/type-convert
...
Add a type conversion method to Variant Utility and expose to scripting
2023-09-11 15:34:59 +02:00
Dario
7dfb854556
Propagate error correctly when max texture size for lightmaps is too small.
...
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453 .
2023-09-11 09:14:39 -03:00
MewPurPur
e39875a20d
Add closed property to Line2D
2023-09-11 11:28:25 +03:00
Hugo Locurcio
d01184fbb7
Document ScrollContainer signals being emitted for touch events only
2023-09-10 18:26:13 +02:00
Micky
79ce0c6e80
Reimplement Resource._local_to_scene_setup
& remove workaround
...
Reimplements the virtual method _setup_local_to_scene, lost in #51970
Also deprecates the redundant `setup_local_to_scene_requested` signal.
2023-09-09 13:51:12 +02:00
AcatXIo
7d69a5ba50
Fix sign(NAN) returning 1.
...
Fixes #79036 . sign(NAN) now returns 0.
This should not impact performance much in any way.
Adds a test for the NAN case. Updates the documentation to clarify the new behavior.
2023-09-09 11:30:11 +02:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Rémi Verschelde
5fef875cd8
Merge pull request #81070 from groud/improve_tilemap_performances
...
Improve TileMap performances by using quadrants only for rendering
2023-09-08 23:13:56 +02:00
Aaron Franke
6f7eccc758
Add a type conversion method to Variant Utility and expose to scripting
2023-09-08 10:12:48 -05:00
Gilles Roudière
8c1e28237b
Improve TileMap performances by using quadrants only for rendering
2023-09-08 15:33:43 +02:00
Rémi Verschelde
8c1817f755
i18n: Sync translations with Weblate
...
(cherry picked from commit f2c8eea60e
)
2023-09-08 12:12:18 +02:00
Rémi Verschelde
b4cf5c51ca
Merge pull request #81445 from timothyqiu/default-layout
...
Fix description of dock slot usage in the documentation
2023-09-08 11:54:25 +02:00
Haoyu Qiu
6cdf5eff21
Fix description of dock slot usage in the documentation
2023-09-08 17:52:15 +08:00
Rémi Verschelde
b39303abae
Merge pull request #81430 from aaronfranke/export-platform-os-name
...
Expose `EditorExportPlatform::get_os_name()`
2023-09-08 11:50:46 +02:00
Rémi Verschelde
6c4266271d
Merge pull request #67082 from Mickeon/resource-screw-you-setup-local-to-scene
...
Deprecate Resource.`setup_local_to_scene`
2023-09-08 11:50:37 +02:00
Aaron Franke
c1c0ee3faf
Expose EditorExportPlatform::get_os_name()
2023-09-07 12:28:09 -05:00
Hendrik Brucker
5afe78bd9c
Clean up/refactor GraphNode and make it more flexible
...
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
...
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.
So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Micky
0af2467029
Unexpose Resource.setup_local_to_scene
...
Good riddance.
Also modifies a note in ViewportTexture
2023-09-06 23:38:42 +02:00
Yuri Sizov
16957fd35b
Merge pull request #81286 from lemilonkh/unshaded-materials-ignore-fog
...
Implement render mode `fog_disabled` and BaseMaterial3D setting Disable Fog
2023-09-06 14:49:16 +02:00
Milan Gruner
45a33cc749
Implement render mode fog_disabled and BaseMaterial3D setting Disable Fog
2023-09-05 18:15:02 +02:00
Haoyu Qiu
4675e047bb
Fix unmatched brackets in the documentation
2023-09-05 15:57:39 +08:00
Rémi Verschelde
f05c7f6d68
Merge pull request #81239 from Malcolmnixon/xr-tracking-signals
...
Add XR tracking state-change signals
2023-09-04 09:08:59 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
...
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
Malcolm Nixon
22de1b31b5
Added XR tracking-state change signals
...
Add "pose_lost_tracking" signal to XRPositionalTracker.
Add "tracking_changed" signal to XRNode3D.
2023-09-03 12:17:16 -04:00
Rémi Verschelde
7dc14db283
Merge pull request #81232 from wlsnmrk/lineedit-reference-typos
...
Fix typos in LineEdit documentation
2023-09-02 14:32:10 +02:00
Rémi Verschelde
b842c73acc
Merge pull request #81228 from raulsntos/docs/code_to_constants
...
Use `[constant]` instead of `[code]` when possible
2023-09-02 14:31:46 +02:00
Rémi Verschelde
865879faf9
Merge pull request #81227 from raulsntos/docs/int
...
Fix int's C# documentation
2023-09-02 14:31:23 +02:00
Rémi Verschelde
f383249f6f
Merge pull request #81212 from mateuseap/fix/meshDataToolClassReference
...
Fix misleading description of `MeshDataTool.get_vertex()` method
2023-09-02 14:31:00 +02:00
Mark Wilson
5f9d5a0cea
Docs: Fix typos for LineEdit reference
2023-09-01 12:22:10 -04:00
Raul Santos
0897a795c3
Fix int's C# documentation
...
- There's no implicit conversion from `double` to `int`, a cast was missing.
- The example about literals in GDScript also applies to C# (with the same syntax even).
2023-09-01 17:00:09 +02:00
Raul Santos
03add1f6d8
Use [constant]
instead of [code]
when possible
2023-09-01 16:57:53 +02:00
Rémi Verschelde
e3522e0d85
Merge pull request #81190 from timothyqiu/nav-agent-3d-doc
...
Fix typos in NavigationAgent3D documentation
2023-09-01 16:02:59 +02:00
Rémi Verschelde
fa3072f625
Merge pull request #81087 from mateuseap/docs/tweenClassReference
...
Add a note about `SceneTree.create_tween()` method
2023-09-01 16:01:47 +02:00
Mateus Elias
fe45774f59
Fix misleading description of MeshDataTool.get_vertex() method
2023-08-31 21:13:34 -03:00
Jcrespo
528a76486c
Add inverse hyperbolic functions asinh()
, acosh()
& atanh()
...
GDScript has the following built-in trigonometry functions:
- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`
However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:
- `asinh()`
- `acosh()`
- `atanh()`
Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.
References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
Mateus Elias
5030549c7b
Add a note about create_tween() method of SceneTree class
...
Add note regarding SceneTree.create_tween() method behavior.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-31 17:50:15 -03:00
Haoyu Qiu
2fcfe99059
Fix typos in NavigationAgent3D documentation
2023-08-31 17:30:19 +08:00
Jordyfel
868a26d0ac
Document integer scaling functionality and limitation.
2023-08-30 21:19:25 +03:00
Yuri Rubinsky
35802374ac
Add coloring for completion of vector components
2023-08-30 21:13:25 +03:00
Rémi Verschelde
d4465dbef4
Merge pull request #81084 from MewPurPur/improve-line2d-docs
...
Improve Line2D documentation
2023-08-30 08:46:15 +02:00
Rémi Verschelde
cfe9cd5cae
Merge pull request #81126 from clayjohn/revert-dds-runtime
...
Revert "Implement loading DDS textures at run-time"
2023-08-29 18:42:56 +02:00
AcatXIo
45aa5bfe3c
Grammatical improvements for the RayCast 2D and 3D class references.
2023-08-29 16:33:45 +02:00
Rémi Verschelde
922689c801
Merge pull request #81127 from KoBeWi/errors_begone
...
Prevent errors if Tween callback's object is freed
2023-08-29 15:07:35 +02:00
Rémi Verschelde
76bc5a6554
Merge pull request #80859 from KoBeWi/prepare_for_action_and_make_it_double
...
Fix action state when multiple events are assigned
2023-08-29 15:06:02 +02:00
kobewi
598d9972c8
Prevent errors if Tween callback's object is freed
2023-08-29 14:50:53 +02:00
clayjohn
0045dc204c
Revert "Implement loading DDS textures at run-time"
...
This reverts commit 34ab1c8a36
.
2023-08-29 14:25:16 +02:00
MewPurPur
39f50da2ca
Improve Line2D documentation
2023-08-29 15:02:26 +03:00
Rémi Verschelde
247c3548d8
Merge pull request #81097 from AcatXIo/grammar-enhancements
...
Some grammar and punctuation enhancements in the class reference.
2023-08-29 12:48:42 +02:00
Rémi Verschelde
8dfd9d39a6
Merge pull request #81093 from mateuseap/docs/objectClassReference
...
Improve `Object.get_property_list()` method description
2023-08-29 12:48:19 +02:00
Rémi Verschelde
c52c830c9f
Merge pull request #81088 from mateuseap/docs/meshDataToolClassReference
...
Improve `MeshDataTool.get_face_vertex()` method description
2023-08-29 12:47:31 +02:00
Rémi Verschelde
f061200405
Merge pull request #80997 from MewPurPur/improve-xml-parser-docs
...
Improve XMLParser's documentation
2023-08-29 12:45:09 +02:00
Rémi Verschelde
bec94a6210
Merge pull request #80716 from ARez2/add-rd-method-descriptions
...
Add missing RenderingDevice method descriptions
2023-08-29 12:44:21 +02:00
Rémi Verschelde
4b69e8be85
Merge pull request #80688 from DarioSamo/gpu-particles-motion-vectors
...
Add motion vector support for GPU 3D Particles
2023-08-29 12:43:58 +02:00
Rémi Verschelde
76d318dbd1
Merge pull request #75778 from KoBeWi/_vp
...
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
...
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
ARez
bd4d43023d
Add missing RenderingDevice method descriptions
2023-08-29 12:32:29 +02:00
Mateus Elias
6020e34757
Improve Object.get_property_list() method description
2023-08-29 07:11:11 -03:00
Mateus Elias
adb0d0ea58
Improve MeshDataTool.get_face_vertex() method description
...
Improve MeshDataTool.get_face_vertex() method description and also add an example code.
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-29 05:27:04 -03:00
AcatXIo
637f10a3cd
Some grammar and punctuation enhancements in the class reference.
2023-08-28 21:32:37 +02:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
...
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Dario
293302ccd8
Add motion vector support for GPU 3D Particles.
...
Add the capability of resizing the transforms buffer for particles to be double its size and alternate where the current output is written to. Only works for particles that use index as their draw order.
2023-08-28 10:56:02 -03:00
MewPurPur
829ad86433
Improve XMLParser's documentation
2023-08-28 16:39:26 +03:00
kobewi
67db4693eb
Expose _validate_property() for scripting
2023-08-28 15:18:48 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
Juan Linietsky
407b16ab00
Debug CanvasItem redraw
...
I wanted to add this tool for years and always forget. This command line option:
```
$ godot.exe -e --debug-canvas-item-redraw
```
Allows to see when a canvas item is redrawn. This helps find out if something
in the UI is refreshing in a way it should not. Examples as such:
* Signals causing more of the UI to redraw.
* Container resizing causes more UI elements to redraw.
* Something using a timer is redrawing all time time, which can go unnoticed.
To my surprise, the editor UI is redrawing very efficiently. There is some
weird stuff with the scene tabs, redrawing when the inspector changes but most
things for the most part are fine.
2023-08-28 12:53:56 +02:00
Rémi Verschelde
cd5c007628
Merge pull request #81054 from AttackButton/core-os-keyboard_cpp
...
Add missing YEN, SECTION and OPENURL names to keycode mappings
2023-08-28 12:11:35 +02:00
Rémi Verschelde
75bc6866a4
Merge pull request #81037 from AThousandShips/openxr_register
...
Ensure OpenXR classes are declared properly
2023-08-28 12:09:47 +02:00
A Thousand Ships
c23bd8b143
Ensure OpenXR classes are declared properly
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-08-28 09:37:04 +02:00
AttackButton
8908ac4e6e
Add missing YEN, SECTION and OPENURL names to keycode mappings
2023-08-28 03:37:22 -03:00
Dragos Daian
f9435b6d72
Expose the get_rid method of Joint2D and Joint3D
...
update occurance of get_joint
Update documentation as per feedback.
update
update
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-27 00:34:47 +03:00
Jordyfel
9819ffb166
Implement window center function.
2023-08-26 21:34:21 +03:00
kobewi
ad1abca668
Fix action state when multiple events are assigned
2023-08-25 23:10:27 +02:00
Yuri Sizov
e538843930
Merge pull request #80936 from curious-broccoli/fix-array-doc
...
Clarify Array class methods that return error
2023-08-25 14:59:00 +02:00
Yuri Sizov
4b208fec74
Merge pull request #80884 from timothyqiu/typo-fixes
...
Fix various typos in classref
2023-08-25 14:58:47 +02:00
Yuri Sizov
53af94ab33
Merge pull request #80475 from KoBeWi/that's_not_how_you_do_set
...
Fix example for `Object._set` documentation
2023-08-25 14:58:37 +02:00
Yuri Sizov
e21ded8f8f
Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
...
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
Danil Alexeev
07d23489f4
GUI: Fix text overlapping icon in Tree
2023-08-24 22:09:02 +03:00
curious-broccoli
653a455b58
Clarify ConfigFile class methods that return error
...
related to #80936
2023-08-24 18:16:46 +00:00
A Thousand Ships
e70b83c7a0
Expose finding valid focus neighbors of a Control
by side
...
Exposes the functionality used for ui navigation
2023-08-24 18:25:35 +02:00
curious-broccoli
d8e7ce58ee
Clarify Array class methods that return error
...
related to #47406
2023-08-24 14:11:56 +00:00
Yuri Sizov
2c77f07aaa
Add a script method to get its class icon
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
Andrés Botero
eee95aff04
Add transform support to CharFXTransform
...
Use absolute transforms for CharFX
fix formatting
2023-08-23 00:18:37 -05:00
Haoyu Qiu
d026b37abd
Fix various typos in classref
2023-08-22 18:05:50 +08:00
Rémi Verschelde
6758a7f8c0
Merge pull request #80875 from Sauermann/fix-picking-doc
...
Document mouse-picking limit of 64 objects
2023-08-22 09:09:35 +02:00
Rémi Verschelde
0024d2e541
Merge pull request #80851 from vitormaduro/master
...
Updated C# example of AddPropertyInfo
2023-08-22 09:09:24 +02:00
Markus Sauermann
765da0a365
Document mouse-picking limit of 64 objects
2023-08-22 08:45:55 +02:00
Rémi Verschelde
8e0346bade
Merge pull request #80848 from bruvzg/rtl_lang
...
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 19:32:29 +02:00
Rémi Verschelde
cc01b28886
Merge pull request #80779 from Chaosus/cpuparticles_converter
...
Implement conversion from `CPUParticles` to `GPUParticles` (3D/2D)
2023-08-21 19:26:48 +02:00
Rémi Verschelde
7d3bee73e4
Merge pull request #80247 from dalexeev/gds-for-loop-var-static-typing
...
GDScript: Add static typing for `for` loop variable
2023-08-21 19:26:32 +02:00
vitormaduro
694f280acd
Updated C# example for method AddPropertyInfo
2023-08-21 13:27:50 -03:00
bruvzg
299808cc26
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 14:56:43 +03:00
Rémi Verschelde
56dd0edf58
Merge pull request #80694 from novalis/pick-random-null
...
Document `pick_random` for empty arrays
2023-08-21 08:22:05 +02:00
Hugo Locurcio
469c462b76
Add missing tutorials to documentation classes
2023-08-19 20:29:24 +02:00
Rémi Verschelde
5444afae63
Merge pull request #76572 from acazuc/ktx_format_support
...
Add support for KTX image format so that we can use Basis Universal for GLTF
2023-08-19 13:00:35 +02:00
Yuri Roubinski
7fcb91f077
Implement conversion from CPUParticles
to GPUParticles
(3D/2D)
2023-08-19 11:58:57 +03:00
acazuc
a00cf02241
Add support for KTX & KTX2 image format
...
Add support glTF KHR_texture_basisu extension
2023-08-19 10:27:29 +02:00
David Turner
30d4d1c6d1
Document pick_random for empty arrays
2023-08-18 17:01:23 -04:00
Rémi Verschelde
b51ee8b029
Merge pull request #80650 from bruvzg/comp_char_fix
...
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-18 17:24:54 +02:00
Rémi Verschelde
a2a1ed1aac
Merge pull request #80576 from KurtBliss/master
...
Fixed editor filesystem/import properties not being caught by the doctool.
2023-08-18 15:43:58 +02:00
Rémi Verschelde
d81767495a
Merge pull request #80512 from mihe/global-basis
...
Add `global_basis` property to `Node3D`
2023-08-18 09:31:41 +02:00
Danil Alexeev
6c59ed9485
GDScript: Add static typing for for
loop variable
2023-08-17 20:54:34 +03:00
Hugo Locurcio
6f1152bdbe
Add a --audio-output-latency
command-line argument
...
This allows optimizing the audio output latency on higher-end CPUs,
especially in projects that do not expose a way to override this setting.
2023-08-17 14:45:17 +02:00
Rémi Verschelde
281b7b9fdf
i18n: Sync translations with Weblate
...
(cherry picked from commit 7a86ffc034
)
2023-08-17 13:24:10 +02:00
Rémi Verschelde
d603040d4d
Merge pull request #78012 from Calinou/cli-add-max-fps-argument
...
Add a `--max-fps` command-line argument to set a FPS limit
2023-08-17 12:27:27 +02:00
Rémi Verschelde
c28cc5d5eb
Merge pull request #80698 from 0xafbf/0xafbf-patch-1
...
Fix empty XML tag doc in XMLParser.xml
2023-08-17 11:27:51 +02:00
Rémi Verschelde
391c51aa56
Merge pull request #80567 from Alex2782/keyboard_shortcut_guidelines
...
Change documentation spelling of macOS key 'Command' to match guidelines
2023-08-17 11:26:16 +02:00
Rémi Verschelde
0fff0b1054
Merge pull request #80203 from WhalesState/Dev2
...
Add shortcut handling to `OptionButton`
2023-08-17 11:24:14 +02:00
Rémi Verschelde
12a9ed0fbf
Merge pull request #80171 from RedMser/audio-randomizer-defaults
...
Simpler default values for AudioStreamRandomizer
2023-08-17 11:23:49 +02:00
Rémi Verschelde
c72b851dfb
Merge pull request #80104 from bruvzg/freedesktop_native_file_dialog
...
[Linux/Freedesktop] Implement native file selection dialog support.
2023-08-17 11:23:00 +02:00
Rémi Verschelde
37d213b24e
Merge pull request #79972 from smix8/navgenerator_multithreading_4.x
...
Add multi-threaded NavMesh baking to NavigationServer
2023-08-17 11:22:11 +02:00
Rémi Verschelde
4b11bc2b34
Merge pull request #36493 from KoBeWi/echo_menus
...
Add option to allow echo events in menu shortcuts
2023-08-17 11:18:50 +02:00
bruvzg
6cc314e0fa
[Linux/Freedesktop] Implement native file selection dialog support.
2023-08-17 10:56:16 +03:00
Andrés Botero
3fdca75365
Fix empty XML tag doc in XMLParser.xml
...
Fix doc to show how an empty XML tag is appropiately closed.
2023-08-16 15:00:45 -05:00
Tomasz Chabora
3dd881b4e4
Add option to allow echo events in menu shortcuts
2023-08-16 16:59:17 +02:00
Rémi Verschelde
a278c1b98a
Merge pull request #80677 from KoBeWi/nodes_together_strong
...
Clarify existence of groups
2023-08-16 16:56:55 +02:00
Rémi Verschelde
77fd8f3416
Merge pull request #80673 from YeldhamDev/give_me_my_windows!
...
Allow to get a list of visible embedded `Window`s
2023-08-16 16:56:31 +02:00
Rémi Verschelde
acc965c09c
Merge pull request #80445 from Calinou/doc-video-adapter-web-fixed-model
...
Document `RenderingServer.get_video_adapter_name()` may report a fixed name
2023-08-16 16:55:43 +02:00
Rémi Verschelde
e31cb25d50
Merge pull request #79165 from Koyper/enable_missing_tree_title_font_settings
...
Enabled missing Tree title button font and font size theme settings
2023-08-16 16:54:55 +02:00
Rémi Verschelde
6203f56875
Merge pull request #78865 from MewPurPur/improve-docs-top-sections-VFX
...
Improve the top docs sections of VFX classes
2023-08-16 16:54:32 +02:00
Rémi Verschelde
20e24bd2bb
Merge pull request #78529 from Chaosus/string_reverse
...
Add `String.reverse` method
2023-08-16 16:53:40 +02:00
Michael Alexsander
de27df5da3
Allow to get a list of visible embedded Window
s
2023-08-16 10:42:08 -03:00
Koyper
e84588987a
Enabled missing Tree title button font and font size theme settings.
2023-08-16 08:10:31 -05:00
kobewi
0ce0c11b9e
Clarify existence of groups
2023-08-16 11:03:18 +02:00
Rémi Verschelde
a7dc4c22a9
Merge pull request #80334 from Sauermann/fix-window-out-of-viewport-events
...
Fix nodes receiving mouse events in black bars of `Window`
2023-08-16 09:12:42 +02:00
Rémi Verschelde
20127ab693
Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points
...
Expose `compute_convex_mesh_points` function to GDScript
2023-08-16 09:11:53 +02:00
bruvzg
5d3fcc5766
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-15 11:42:40 +03:00
jitspoe
541b021ab6
Expose compute_convex_mesh_points function to GDScript.
2023-08-14 22:37:21 -04:00
Rémi Verschelde
bbefba0264
Merge pull request #80608 from emmanuel-ferdman/wip
...
docs: Fix link to two's complement wiki page
2023-08-14 15:30:55 +02:00
Rémi Verschelde
30d564b14c
Merge pull request #80511 from Calinou/doc-projectsettings-version
...
Document behavior of the `application/config/version` project setting
2023-08-14 15:29:21 +02:00
KurtBliss
300ecfab89
Fixed editor filesystem/import properties not being caught by the doctool
...
Defined glft editor properties in editor_settings
Added documentation descriptions and entries
2023-08-14 06:06:28 -04:00
Emmanuel Ferdman
f000be3237
docs: fix link to two's complement wiki page
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2023-08-14 12:44:11 +03:00
Rémi Verschelde
e1bb9b523d
Merge pull request #80506 from sepTN/fix-lambda-get_method
...
Fix `get_method` from named lambda
2023-08-14 09:36:35 +02:00
Alexander Hartmann
6e2b311c33
Replaced Command with Cmd in documentation
2023-08-13 23:53:24 +02:00
kobewi
90160eff80
Fix _set example
2023-08-12 12:46:46 +02:00
MewPurPur
57d05ffc66
Improve the top docs sections of VFX classes
2023-08-11 21:17:04 +03:00
Septian
793cc080cb
Fix get_method
from named lambda
2023-08-11 20:31:08 +07:00
Mikael Hermansson
8be20c495c
Add global_basis
property to Node3D
2023-08-11 11:41:49 +02:00
Hugo Locurcio
cb0814f051
Document behavior of the application/config/version
project setting
...
The alternative is to default to `1.0.0`, but this means that it
won't be saved to `project.godot` if the version number is equal to `1.0.0`.
2023-08-11 11:38:08 +02:00
Rémi Verschelde
33198d0df0
Merge pull request #75784 from Riteo/int-scale
...
Add content scale stretch modes, implement integer scaling
2023-08-11 10:32:11 +02:00
Riteo
87cfc415a3
Add content scale stretch modes, implement integer scaling
...
Integer scaling is achieved (after aspect expansion) by "lying" to the
stretching code about the window's size, telling it that it's always an
integer multiple of the viewport so that it only gets stretched to an
integer factor.
This approach works with all stretch and aspect modes and doesn't
require handling for each, only requiring to "loosen up" some
self-excluding conditions (in other words, replacing some `else if`s
with just `if`s) regarding viewport offset and margin calculation (black
bars).
Includes a tiny usability change that adds a range hint for the content
scale factor between 0.5 to 8.0.
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-08-10 19:45:47 +02:00
kobewi
fca3ab5564
Deprecate project_settings_changed signal
2023-08-10 15:07:25 +02:00
Rémi Verschelde
5ba34564b9
Merge pull request #80474 from Sai-Suraj-27/spelling_error_fix
...
Fixed tiny spelling error in `doc\classes\NavigationAgent2D.xml`
2023-08-10 14:55:33 +02:00