Commit Graph

10968 Commits

Author SHA1 Message Date
Mika Halttunen
1a2c574200
Fixed a documentation typo in Control._drop_data() C#-example. 2024-10-08 14:01:59 +03:00
manik2607
16fba6b0ff Add missing descriptions to PhysicalBone3D class 2024-10-08 00:17:54 +05:30
Juan
e05d5b8813 Provide a reliable way to see original resources in a directory
When exporting a project, resources are often moved, converted or
remapped (source import files are gone, text scenes are converted to binary,
etc).

This new function allows to list a directory and obtain the actual original
resource files.

Example

```GDScript
var resources = ResourceLoader.list_directory("res://images")
print(resources)
```
Result will be something like:
```
["image1.png","image2.png","image3.png"]
```
instead of
```
["image1.png.import","image2.png.import","image3.png.import"]
```
2024-10-07 09:47:22 +02:00
Thomas ten Cate
7df2804a30 Clarify that fog_aerial_perspective does not actually use sky color
See #97803.
2024-10-07 09:09:09 +02:00
Hugo Locurcio
f8cc67e175 Document non-resource file handling in FileAccess and ResourceLoader 2024-10-07 01:53:49 +02:00
Kenton M
c72cf350ac fix typo on PackedVector2Array docs 2024-10-04 19:08:23 -07:00
Rémi Verschelde
e5688f51cb
Merge pull request #97292 from KoBeWi/infinite_submenus_in_your_editor
Add submenu support to EditorContextMenuPlugin
2024-10-04 22:43:38 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
David Snopek
256699ee31 OpenXR: Add support for Wayland on Linux 2024-10-04 11:44:05 -05:00
Rémi Verschelde
428c4a6468
Merge pull request #97633 from ydeltastar/quickly-quick-open
Make the "Quick Open" dialog available via `EditorInterface`
2024-10-04 17:18:18 +02:00
yds
35b3999efc Make the "Quick Open" dialog available via EditorInterface 2024-10-04 11:36:17 -03:00
Mounir Tohami
f84f734696 Expose LineEdit edit and unedit methods. 2024-10-04 10:37:33 +00:00
Rémi Verschelde
5ac62a6863
Merge pull request #97743 from bruvzg/has_kbd
[DisplayServer] Implement `has_hardware_keyboard` method for Android and iOS.
2024-10-04 11:22:02 +02:00
Rémi Verschelde
84768aba8a
Merge pull request #97514 from bruvzg/font_contour_info
[Docs] Add notes about glyph contour decomposition format.
2024-10-04 11:21:42 +02:00
Rémi Verschelde
05b519fafb
Merge pull request #96230 from timothyqiu/per-domain-pseudolocalization
Move pseudolocalization into `TranslationDomain`
2024-10-04 11:21:18 +02:00
Rémi Verschelde
058f06c10d
Merge pull request #93270 from Gamemap/feature-itemlist-autowidth
Add `Auto width` behavior to ItemList
2024-10-04 11:21:14 +02:00
Rémi Verschelde
a70402b442
Merge pull request #88673 from vPumpking/FileDialog-Filter
Add filename filter field to FileDialog
2024-10-04 11:21:10 +02:00
Rémi Verschelde
e7d79f279d
Merge pull request #77213 from aaronfranke/sort-dict
Add a sort method to Dictionary and HashMap
2024-10-04 11:21:06 +02:00
vPumpking
62edb4eee8
Add filename filter field to FileDialog
Added possibility to filter files and folders through a text entry.
2024-10-04 11:12:33 +02:00
Gamemap
1e1dbd8e3a Add Auto width behavior to ItemList
Co-authored-by: Craig Hupin <althar93@hotmail.com>
2024-10-04 08:43:13 +02:00
Rémi Verschelde
5314793ac7
Merge pull request #97519 from timothyqiu/itemlist-at
Add auto translate mode for items in `ItemList`
2024-10-03 15:39:23 +02:00
Rémi Verschelde
98deb2a000
Merge pull request #90400 from DarioSamo/transfer_and_pipelines
Ubershaders and pipeline pre-compilation (and dedicated transfer queues).
2024-10-03 15:27:11 +02:00
Aaron Franke
a7f6ec0e4c
Add a sort method to Dictionary and HashMap 2024-10-02 14:26:33 -07:00
Dario
e2c6daf7ef Implement asynchronous transfer queues, thread guards on RenderingDevice. Add ubershaders and rework pipeline caches for Forward+ and Mobile.
- Implements asynchronous transfer queues from PR #87590.
- Adds ubershaders that can run with specialization constants specified as push constants.
- Pipelines with specialization constants can compile in the background.
- Added monitoring for pipeline compilations.
- Materials and shaders can now be created asynchronously on background threads.
- Meshes that are loaded on background threads can also compile pipelines as part of the loading process.
2024-10-02 15:11:58 -03:00
bruvzg
25f439c573
[DisplayServer] Implement has_hardware_keyboard method for Android and iOS. 2024-10-02 20:09:48 +03:00
Hugo Locurcio
83dac9cdb8
Document Object.has_signal() in the Signal class reference 2024-10-02 16:36:19 +02:00
Hugo Locurcio
4a70ac2948
Expose RenderingServer methods to get rendering driver and method name
This is useful for troubleshooting purposes and debug menus.
2024-10-02 16:07:45 +02:00
Rémi Verschelde
336d91551d
Merge pull request #97281 from reptofrog/deadzone-new-default
Input: Change the default deadzone value for new actions from 0.5 to 0.2
2024-10-02 15:01:02 +02:00
Stijn Hinlopen
06791e1acd New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
  - Added a grid view which has larger icons.
  - Added toggle to filter out files from addons.
  - Store history for each opened resource type.

New Editor settings for Quick Open:
  - Startup display mode (grid or list):
      - Determined by the requested resource type.
      - Whatever was last used.
  - Toggle to filter out files from addons (for persistence).

Notes
  - The dialog is now created once in EditorNode, and globally available for other components.
  - A fixed number of result scenes are instantiated, and reused based on query.
  - Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Rémi Verschelde
cbff25096b
Merge pull request #97638 from mhilbrunner/fix-duplicate-words
Docs: remove duplicate words
2024-10-01 17:31:28 +02:00
Rémi Verschelde
6c133054f7
Merge pull request #97602 from patowen/fix-region-filter-clip-enabled
Fix `region_filter_clip_enabled` to avoid sprite bleeding for interpolated sprite sheets
2024-10-01 17:31:17 +02:00
Rémi Verschelde
97fa7187e1
Merge pull request #97353 from timothyqiu/tree-at
Add auto translate mode for cells in `Tree`
2024-10-01 17:30:56 +02:00
Rémi Verschelde
7d4e06e3a1
Merge pull request #97333 from bits-by-brandon/consolidate-window-remember-editor-settings
Consolidate remembering window settings into single config
2024-10-01 17:30:53 +02:00
Rémi Verschelde
70ac89e776
Merge pull request #96980 from m4gr3d/enable_legacy_build_customization_by_plugin
Expose `get_export_option_visibility` to editor plugins
2024-10-01 17:30:49 +02:00
Rémi Verschelde
60708ccbfe
Merge pull request #96542 from Maran23/inspector-scrolls-away
Fix Inspector may scroll away when editing a property that adds or removes sub properties
2024-10-01 17:30:45 +02:00
Rémi Verschelde
8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +02:00
Brandon Chang
e0957c2fa3
Consolidate remembering window settings into single config 2024-10-01 16:35:36 +02:00
Haoyu Qiu
3c365a7fa5 Add auto translate mode for cells in Tree 2024-10-01 21:24:10 +08:00
Roman Morozov
d532eecc81 Changed the default deadzone value for new actions from 0.5 to 0.2 2024-10-01 16:47:44 +04:00
Allen Pestaluky
c6e994bf6d EditorExportPlugin docs: Workaround for #94045. Describes behaviour of customizing texture resources.
The list of types that should not be both customized and skipped was created through trial-and-error with the following import types:

- AnimationLibrary
- BitMap
- Translation
- CompressedCubemap
- CompressedCubemapArray
- FontFile
- FontFile
- FontFile
- RDShaderFile
- Image
- AudioStreamMP3
- AudioStreamWAV
- ArrayMesh
- PackedScene
- CompressedTexture2D
- CompressedTexture2DArray
- CompressedTexture3D
- AtlasTexture
- AudioStreamOggVorbis

The reason `skip()` should not be called is because the original resource will now point to the `.ctex` (or equivalent) file of the resource that replaced it. In this scenario, the `.ctex` file that was initially referenced by the original resource will no longer be included in the project.

Co-authored-by: Tomek <kobewi4e@gmail.com>
2024-09-30 09:20:56 -04:00
Max Hilbrunner
a6997d37cc Docs: remove duplicate words 2024-09-30 12:21:30 +02:00
Fredia Huya-Kouadio
7a909896f7 Expose get_export_option_visibility to editor plugins 2024-09-29 15:05:05 -07:00
Patrick Owen
d720eb80e1 Clamp UV-coordinates to centers of outermost texels when configured to do so
In addition, fix region_filter_clip_enabled documentation to be consistent with AtlasTexture.xml, since that is the option whose behavior was fixed
2024-09-29 05:57:19 -04:00
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
Rémi Verschelde
99aec99421
Merge pull request #97534 from j20001970/camerafeed-setter
Expose CameraFeed setters
2024-09-29 00:47:09 +02:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Rémi Verschelde
a11f970f91
Merge pull request #96290 from Macksaur/export-action-callable
Add `@export_tool_button` annotation for easily creating inspector buttons.
2024-09-29 00:46:55 +02:00
ywmaa
0a9ad8f9de
Implement vertex shading
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.

Co-authored-by: Clay John <claynjohn@gmail.com>
2024-09-29 00:36:09 +02:00
Danil Alexeev
85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
Jason Kuo
38d7ec1640 Expose CameraFeed setters 2024-09-27 20:07:36 +08:00
Rémi Verschelde
b537d2f15c
Merge pull request #97450 from megalon/alpha_curve-docs-fix
Update notes for Color Curve members in ParticleProcessMaterial
2024-09-27 13:53:26 +02:00
Rémi Verschelde
61fce325ca
Merge pull request #96548 from timothyqiu/item-list-signals
Improve documentation of some `ItemList` signals
2024-09-27 13:53:22 +02:00
Haoyu Qiu
76691afd94 Improve documentation of some ItemList signals 2024-09-27 16:19:40 +08:00
aryan-11825114
b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +05:30
Haoyu Qiu
0101317d46 Add auto translate mode for items in ItemList 2024-09-27 10:52:04 +08:00
bruvzg
e63c858722
[Docs] Adds notes about glyph contour decomposition format. 2024-09-27 01:01:10 +03:00
megalon
49212b81e5 Update alpha_curve and emission_curve notes in ParticleProcessMaterial
Update doc/classes/ParticleProcessMaterial.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Update doc/classes/ParticleProcessMaterial.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-26 17:41:49 -04:00
Aaron Franke
cc9f2b58a0
Bind Array get and set functions 2024-09-26 13:00:17 -07:00
Rémi Verschelde
3cde5a37f9
Merge pull request #97455 from Calinou/doc-lineedit-text-submitted
Clarify when LineEdit's `text_submitted` signal is emitted
2024-09-26 18:45:46 +02:00
Rémi Verschelde
01d567ba1b
Merge pull request #97406 from timothyqiu/tooltip-atm
Add auto translate mode for tooltips
2024-09-26 18:45:35 +02:00
Rémi Verschelde
9a8dcc1eeb
Merge pull request #97397 from timothyqiu/shortcut-in-tooltips
Make `_make_custom_tooltip` receive raw tooltip for buttons with shortcut enabled
2024-09-26 18:45:31 +02:00
Rémi Verschelde
8eab2b52ed
Merge pull request #96835 from Malcolmnixon/animation-optimize
Expose the optimize method of the Animation class to gdscript.
2024-09-26 18:45:15 +02:00
Fabio Alessandrelli
8ffb7699af [mbedTLS] Enable TLS 1.3 support
Move library initialization to module registration functions.

Only set library debug threshold when verbose output is enabled.

TLSv1.3 functions seems to be a bit more verbose then expected, and
generate a lot of noise. Yet, some level of debugging without
recompiling the engine would be nice. We should discuss this upstream.
2024-09-26 17:37:38 +02:00
Haoyu Qiu
78801f61da Add auto translate mode for tooltips 2024-09-26 22:31:22 +08:00
Rémi Verschelde
2912cb9975
Merge pull request #97118 from mihe/patch-exports
Add ability to export patch packs
2024-09-26 12:45:42 +02:00
Rémi Verschelde
052b122108
Merge pull request #96184 from biswas08433/patch-1
Clarify transform data ordering in `RenderingServer.multimesh_set_buffer`
2024-09-26 12:45:35 +02:00
Haoyu Qiu
6a7183119f Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabled 2024-09-26 08:05:10 +08:00
Hugo Locurcio
b3d413d4b4
Clarify when LineEdit's text_submitted signal is emitted 2024-09-25 22:48:35 +02:00
Mikael Hermansson
d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +02:00
Rémi Verschelde
70fede82c5
Merge pull request #93324 from tracefree/reinhard-fix
Fix incorrect Reinhard tonemap operator
2024-09-25 12:39:06 +02:00
Rie
5efa6ba489
Fix incorrect Reinhard tonemap operator 2024-09-25 12:34:23 +02:00
Paweł
b88585abfc Add linux camera support 2024-09-25 12:08:06 +02:00
Rémi Verschelde
9355845d29
Merge pull request #97367 from AdriaandeJongh/clarify-canvasitem-visibility-followup
Clarify CanvasItem's visibility signal descriptions (followup)
2024-09-24 12:57:16 +02:00
Rémi Verschelde
63d16a9bc3
Merge pull request #97357 from Manik2607/master
Refactor signal documentation to improve clarity.
2024-09-24 12:57:12 +02:00
Adriaan de Jongh
9b474e3a8e doc: clarify CanvasItem's visibility signal descriptions 2024-09-24 08:31:51 +02:00
manik2607
011954fea3 Refactor signal documentation to improve clarity 2024-09-23 22:58:06 +05:30
Ricardo Buring
7c4c4b9987 Move Godot Physics 2D into a module; add dummy 2D physics server
If the module is enabled (default), 2D physics works as it did before.

If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).

The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde
2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Rémi Verschelde
2c1b8dda74
Merge pull request #97284 from timothyqiu/optimized-translation-gen
Document that `OptimizedTranslation.generate()` only works in editor
2024-09-23 16:14:00 +02:00
Rémi Verschelde
f97defb375
Merge pull request #97223 from AdriaandeJongh/clarify-canvasitem-visility-changed
Docs: Clarify `CanvasItem` visibility properties and signals
2024-09-23 16:13:53 +02:00
Rémi Verschelde
8c273eb14c
Merge pull request #90955 from AThousandShips/print_to_stdout
[Core] Add `Engine.print_to_stdout` setting to control printing
2024-09-23 16:13:41 +02:00
Rémi Verschelde
d5aadc38b4
Merge pull request #97337 from Ivorforce/patch-1
In make_rst.py, include the parent class in 'Inherits:' even if it is not known.
2024-09-23 12:34:19 +02:00
Rémi Verschelde
9c9e704a2b
Merge pull request #97286 from Rynzier/master
Clarify PCK path argument in `PCKPacker.pck_start`
2024-09-23 12:28:14 +02:00
Rémi Verschelde
ec4bd1e062
Merge pull request #97274 from Giganzo/button-pressed-doc
Clarify docs for when toggling `button_pressed` emits `toggled`
2024-09-23 12:28:10 +02:00
Rémi Verschelde
dd71bc2d3b
Merge pull request #95252 from rburing/3d_physics_module
Move Godot Physics 3D into a module; add dummy 3D physics server
2024-09-23 12:27:55 +02:00
Rémi Verschelde
510bc3dc6a
Merge pull request #90969 from Naros/expose-resource-and-saver-methods
Expose several resource/resource-saver functions
2024-09-23 12:27:40 +02:00
Rémi Verschelde
720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
Adriaan de Jongh
330f91d32b clarify CanvasItem's visible property, and its visibility_changed and hidden signals 2024-09-23 12:11:38 +02:00
Rynzier
7b7164c80c
Clarify PCK path argument in PCKPacker.pck_start
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-09-23 09:42:13 +02:00
Giganzo
388869574c
Clarify docs for when toggling button_pressed emits toggled 2024-09-23 09:32:02 +02:00
biswas08433
1536f5ec79
Clarify transform data ordering in RenderingServer.multimesh_set_buffer 2024-09-23 09:29:20 +02:00
Chris Cranford
bc3dcf3d40 Expose several resource/resource-saver functions 2024-09-22 15:27:13 -04:00
Lukas Tenbrink
21fb753bbd
Fix a typo in make_rst.py (Packedfloat64Array -> PackedFloat64Array) 2024-09-22 21:09:08 +02:00
Lukas Tenbrink
50ad99bdc0
In make_rst.py, include the parent class in 'Inherits:' even if it is not known. 2024-09-22 20:56:20 +02:00
tetrapod00
eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
A Thousand Ships
d49ec39d63
[Core] Add Engine.print_to_stout setting to control printing
Also added notes to the related project settings pointing to the
`Engine` properties.
2024-09-22 12:09:01 +02:00
BlueCube3310
95fd45d9a5 Betsy: Implement BC4 compression 2024-09-22 10:16:37 +02:00
Ricardo Buring
0333648cea Move Godot Physics 3D into a module; add dummy 3D physics server
If the module is enabled (default), 3D physics works as it did before.

If the module is disabled and no other 3D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 3D physics functionality (and
a warning is printed).

The dummy 3D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-21 21:19:45 +02:00
kobewi
866c50a926 Add submenu support to EditorContextMenuPlugin 2024-09-21 20:16:45 +02:00
Haoyu Qiu
b7416bf693 Document OptimizedTranslation.generate() only works in editor 2024-09-21 23:20:05 +08:00
Haoyu Qiu
cca54ba4db Move pseudolocalization into TranslationDomain
Also adds command-line option `--editor-pseudolocalization`
2024-09-21 18:28:12 +08:00
Rémi Verschelde
d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde
b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
David Snopek
1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
A Thousand Ships
203d3be200
[Core] Add way to check if a signal has any connections
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Rémi Verschelde
2be730a05b
Merge pull request #97231 from timothyqiu/missing-period
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Add missing period for sentences in classref
2024-09-20 16:26:35 +02:00
Rémi Verschelde
77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde
2834342a78
Merge pull request #97203 from ev13bird/docs_inspector_plugin_typo
Fix minor typo in EditorPlugin `remove_inspector_plugin`
2024-09-20 16:06:52 +02:00
Rémi Verschelde
93150ffab8
Merge pull request #97202 from jirisvd/fix-typo
Fix typo in CompositorEffect documentation
2024-09-20 16:06:49 +02:00
Rémi Verschelde
7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00
Rémi Verschelde
c2564f42aa
Merge pull request #97142 from SheepYhangCN/master
Fallback to OpenGL 3 if other rendering drivers are not supported
2024-09-20 16:06:35 +02:00
Rémi Verschelde
330cb45c5a
Merge pull request #96981 from ItzCog/patch-1
Change "deconstructor" to "destructor"
2024-09-20 16:06:31 +02:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +02:00
Rémi Verschelde
6bf8a3e3f8
Merge pull request #95449 from SlashScreen/array_functions
Add callable support for `find` and `rfind` `Array` methods
2024-09-20 16:06:13 +02:00
Dungeon Master
d33f4820cd
Change "deconstructor" to "destructor" in NOTIFICATION_PREDELETE docs 2024-09-20 15:49:03 +02:00
Haoyu Qiu
9e1121a18c Add missing period for sentences in classref 2024-09-20 19:33:32 +08:00
SheepYhangCN
3b839347df Added fallback_to_opengl3 2024-09-20 06:10:05 +08:00
Lisandro Lorea
bdcee836ad Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
Document exposed methods

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03:00
Jiří Švejda
c4bea28e17 Fix typo in CompositorEffect documentation 2024-09-19 22:26:23 +02:00
ev13bird
e2b25cfc0d Fix minor typo in EditorPlugin remove_inspector_plugin 2024-09-20 06:17:15 +10:00
Rémi Verschelde
575c3212c5
Merge pull request #96954 from HolonProduction/highlighter-duplicate-docs
Docs: Add warning about sharing a syntax highlighter to `TextEdit`
2024-09-19 17:13:30 +02:00
Rémi Verschelde
b1b4c5da4b
Merge pull request #96928 from dsnopek/rename-and-expose-texture-create-external
Expose a function to create textures from a native handle in the compatibility renderer
2024-09-19 17:13:27 +02:00
HolonProduction
30ad025f8d
Docs: Add warning about sharing a syntax highlighter to TextEdit 2024-09-19 17:07:04 +02:00
David Snopek
7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 -05:00
MewPurPur
f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
Rémi Verschelde
694d3c2930
Merge pull request #97141 from timothyqiu/character-breaks
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix typo in `string_get_character_breaks()` sample code
2024-09-18 17:41:12 +02:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
57c868483a
Merge pull request #90703 from ZerxZ/core/classdb_get_api_type
Expose `ClassDB.class_get_api_type()` method
2024-09-18 17:40:39 +02:00
深淵の鴿子
949d24b388
Expose ClassDB::class_get_api_type method 2024-09-18 15:45:21 +01:00
Haoyu Qiu
354b58fae4 Fix typo in string_get_character_breaks() sample code 2024-09-18 19:14:32 +08:00
Rémi Verschelde
ac789750eb
Merge pull request #97106 from SkylerGoh-dev/Add-further-clarification-to-Shortcut-and-InputEvent.is_match()-method-documentation
Clarify behavior of `InputEvent.is_match` and `Shortcut.matches_event`
2024-09-17 21:02:20 +02:00
Rémi Verschelde
f3b2c4877b
Merge pull request #97092 from Calinou/doc-auto-switch-remote-scene-tree-warn
Warn for potential performance issues with Auto Switch to Remote Scene Tree editor setting
2024-09-17 21:02:08 +02:00
Rémi Verschelde
750ffa527c
Merge pull request #94862 from aaronfranke/unit-suspension-stiffness
Add units to VehicleWheel3D suspension stiffness and damping
2024-09-17 21:01:50 +02:00
Rémi Verschelde
cb86afdef9
Merge pull request #72680 from Koyper/split_container_improvements
Improvements to SplitContainer including a drag bar background StyleBox
2024-09-17 21:01:45 +02:00
Rémi Verschelde
48486eae30
i18n: Sync translations with Weblate
Adds Irish (ga) doc translations, and Bengali (bg) editor translations.

(cherry picked from commit 53cde2eb85)
2024-09-17 20:47:16 +02:00
Giganzo
a863c385f7 Fix FileDialog default size 2024-09-17 14:35:18 +02:00
skyler
4f4fd1a05c Clarify behavior of InputEvent.is_match and Shortcut.matches_event
- Shortcut: Clarifies how matches_event() method compares events
- InputEvent: Clarifies is_match() method does not consider event states
2024-09-17 04:12:34 -07:00
Aaron Franke
e3895e0ca2
Add units to VehicleWheel3D suspension stiffness and damping 2024-09-17 03:22:50 -07:00
Rémi Verschelde
36496c5c6d
Merge pull request #96919 from lpenguin/get-character-bounds-docs
Clarify the coordinate space for the bounding rectangle returned by `Label.get_character_bounds`
2024-09-17 09:17:50 +02:00
Rémi Verschelde
5fc786911f
Merge pull request #96286 from adamscott/add-js_buffer_to_packed_byte_array
Add `JavaScriptBridge` buffer methods
2024-09-17 09:17:42 +02:00
Rémi Verschelde
e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
Haoyu Qiu
818acb4290 Make editor use translation domains
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.

Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00
Haoyu Qiu
c5d147b9b5 Allow configuring which translation domain Object.tr uses 2024-09-17 13:09:44 +08:00
Haoyu Qiu
68d494e24e Add translation domain 2024-09-17 13:09:44 +08:00
Hugo Locurcio
540ac86b60
Warn for potential performance issues with Auto Switch to Remote Scene Tree editor setting 2024-09-16 23:42:25 +02:00
Nikita Prianichnikov
c54e49cd9a Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds 2024-09-16 20:45:42 +02:00
Adam Scott
a9b934b657
Add JavaScriptBridge buffer methods 2024-09-16 12:13:34 -04:00
demolke
0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Rémi Verschelde
a75bacebef
Merge pull request #97072 from iscke/string-doc-not
Remove outdated note about `not` operator with String and StringName
2024-09-16 15:25:51 +02:00
Rémi Verschelde
6311dd2e4c
Merge pull request #94684 from Musicgun47/soft-body-overhaul-ui
Fix `SoftBody3D` pinned points interaction
2024-09-16 15:25:37 +02:00
elle
90aad071f5 Remove outdated note about not operator with String and StringName 2024-09-16 21:51:18 +09:30
Joel Fortier
a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +09:30
Rémi Verschelde
c86fcccf68
Merge pull request #97033 from Daylily-Zeleen/daylily-zeleen/fix_sort_custom_description
Fix description of `Array.sort_custom()`.
2024-09-16 13:35:54 +02:00
Rémi Verschelde
903f15d0fb
Merge pull request #96975 from Kiisu-Master/fix-docs-typo-render-time-function
Fix typo in RenderingServer docs
2024-09-16 13:35:39 +02:00
Rémi Verschelde
89cf031c94
Merge pull request #96866 from Mickeon/documentation-XRPose-name
Improve wording on XRPose's `name` description
2024-09-16 13:35:09 +02:00
Rémi Verschelde
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Rémi Verschelde
67c9708eb8
Merge pull request #95915 from BlueCube3310/betsy-bc1
Betsy: Add caching and BC1 compression support
2024-09-16 13:34:26 +02:00
Rémi Verschelde
91553f5811
Merge pull request #94246 from theashtronaut/fix-astar-partial-path
Fix AStar2D, AStar3D, AStarGrid2D from not returning a path when the destination is disabled/solid even with `allow_partial_path` option
2024-09-16 13:34:22 +02:00
Daylily-Zeleen
c6f7c89149 Fix description of Array.sort_custom() 2024-09-15 15:52:50 +08:00
Koyper
f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 -05:00
Markus Sauermann
60aaa017ff Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.

In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.

Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
Haoyu Qiu
504e0656bb Add TextEdit option to prevent copying without a selection 2024-09-14 09:39:36 +08:00
Kiisu_Master
3a1160bff1
Fix typo in RenderingServer docs 2024-09-13 21:57:51 +03:00
Rémi Verschelde
b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Slashscreen
89491f4403 Add callable support for find and rfind Array methods 2024-09-13 00:01:53 -07:00
allison
c46b5af06b fix astar partial path destination can be solid/disabled
* AStar2D, AStar3D and AStarGrid2D will now return a path when allow_partial_path is true even if the destination is a solid/disabled point.

# Conflicts:
#	core/math/a_star_grid_2d.cpp
#	core/math/a_star_grid_2d.h
2024-09-12 20:09:41 -07:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
kobewi
b36bebc6da Add SCROLL_MODE_RESERVE to ScrollContainer 2024-09-12 14:02:01 +02:00
bruvzg
b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +03:00
Rémi Verschelde
cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
Rémi Verschelde
f1742991dc
Merge pull request #96870 from IntangibleMatter/patch-1
Remove "default font" from `ResourceImporterDynamicFont` Documentation
2024-09-12 09:25:50 +02:00
Rémi Verschelde
55f1ae0d41
Merge pull request #96868 from dsnopek/android-editor-launching-xr-app-fix
Fix launching XR apps from the Android editor
2024-09-12 09:25:46 +02:00
Rémi Verschelde
612d4ea8f4
Merge pull request #95773 from tetrapod00/document-normal-texture-compositor
Add documentation for need for normal roughness texture conversion for CompositorEffects
2024-09-12 09:25:15 +02:00
Rémi Verschelde
f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +02:00
tetrapod00
461283887f Docs: Add cross-links to antialiasing project settings 2024-09-11 20:17:55 -07:00
BlueCube3310
606eedb0c9 Betsy: Add caching and BC1 compression support 2024-09-11 23:48:29 +02:00
David Snopek
30a63396e5 Fix launching XR apps from the Android editor 2024-09-11 14:31:54 -05:00
Stuart Carnie
a657ea42f1
2D: Add batching to RendererCanvasRenderRD 2024-09-12 05:26:06 +10:00
Lyric Moysey-Rubin
0089915c65
Remove "default font" from ResourceImporterDynamicFont Documentation
The Docs for ResourceImporterDynamicFont's `multichannel_signed_distance_field` option appears to have been copy pasted from the version in ProjectSettings, including mentioning it's the "default font", instead of just "font" as it should in this class.
2024-09-11 11:05:27 -07:00
Micky
02ab0627d6 Improve wording on XRPose's name description 2024-09-11 18:10:08 +02:00
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
Rémi Verschelde
b0328993e6
Merge pull request #87674 from WhalesState/line-edit
Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.
2024-09-11 12:34:31 +02:00
Malcolm Nixon
3e93970ef5 Expose the optimize method of the Animation class to gdscript. 2024-09-11 01:18:30 -04:00
Mounir Tohami
c36f466a4c Prevent LineEdit from losing focus when text is submitted or rejected. 2024-09-10 13:43:31 +00:00
Rémi Verschelde
97ef3c8372
Merge pull request #96780 from bruvzg/no_type_ed_settings
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
[Resource Loader] Do not check property type for non registered properties.
2024-09-10 10:37:11 +02:00
bruvzg
3009073b39 [Resource Loader] Do not check property type for non registered properties. 2024-09-10 11:27:16 +03:00
smix8
287fdb16d5 Add navigation region point and segment queries
Adds point and segment queries for regions, e.g. closet point, point normal, or segment intersection.
2024-09-10 01:38:46 +02:00
Rémi Verschelde
dcc15aa4e2
Merge pull request #96757 from Giganzo/doc-default-font-size
Fix description of invalid values for `Theme.default_font_size`
2024-09-09 17:52:00 +02:00
Giganzo
575a0b4dfb Fix below what value is invalid in default_font_size doc 2024-09-09 14:09:02 +02:00
Aaron Franke
b0f99099b4
Add "Use Node Type Suffixes" scene import option 2024-09-09 01:12:14 -07:00
Rémi Verschelde
81f99eac00
Merge pull request #96599 from jsjtxietian/compute-hint
Mention user should remove compute shader hint when use `set_stage_source`
2024-09-08 23:22:01 +02:00
Rémi Verschelde
e3be605387
Merge pull request #96583 from Calinou/doc-node2d-skew
Improve documentation on Node2D transform properties such as Skew
2024-09-08 23:21:57 +02:00
Apples
2c78284422 Updated TreeItem documentation 2024-09-06 19:38:53 -05:00
Rémi Verschelde
a6db33ef89
Merge pull request #96614 from graydoubt/feat/cancel_drag
Expose `Viewport.gui_cancel_drag()` to GDScript as a counterpart to `Control.force_drag()`
2024-09-06 22:38:37 +02:00
Rémi Verschelde
6815c47869
Merge pull request #96507 from bruvzg/menu_index
[MenuBar] Make menu start index more consistent.
2024-09-06 22:38:33 +02:00
Rémi Verschelde
8aae31b879
Merge pull request #94434 from bruvzg/nonblock_pipes
Add support for non-blocking IO mode to `OS.execute_with_pipe`.
2024-09-06 22:38:21 +02:00
Rémi Verschelde
0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
Hugo Locurcio
c8313764bb
Improve documentation on Node2D transform properties such as Skew
- Mention the units used for Skew in the inspector and code.
2024-09-06 22:37:48 +02:00
bruvzg
da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +03:00
bruvzg
10f3c1f587
Add support for non-blocking IO mode to OS.execute_with_pipe. 2024-09-06 14:16:39 +03:00