Commit Graph

11071 Commits

Author SHA1 Message Date
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
kit
efe5cd29d9 Fix SplitContainer collapsed documentation 2024-09-23 13:33:00 -04: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
bruvzg
3da43ebec4
[MenuBar] Make menu start index more consistent. 2024-09-06 13:21:01 +03:00
graydoubt
e589c5baf3 Expose Viewport.gui_cancel_drag() to GDScript as a counterpart to Control.force_drag() 2024-09-06 06:20:22 -04:00
Rémi Verschelde
58b3481eaf
Merge pull request #89649 from dalexeev/core-bind-and-doc-iter-virtual-methods
Core: Bind and document iterator API virtual methods
2024-09-06 11:10:58 +02:00
Rémi Verschelde
05709b35fa
Merge pull request #96603 from bruvzg/fs_ext_list
[FileSystem Dock] Add option to show some unsupported files in the dock.
2024-09-06 10:09:36 +02:00
Rémi Verschelde
1476578a5c
Merge pull request #96276 from KoBeWi/deprecated_on_arrival
Deprecate `set_min_buttons_width_from_icons`
2024-09-06 10:09:24 +02:00
Rémi Verschelde
4629f7d040
Merge pull request #96496 from aXu-AP/lerp-transform
Add support for Transform2D/3D in `lerp()`
2024-09-05 17:44:11 +02:00
bruvzg
22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +03:00
kobewi
bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +02:00
jsjtxietian
332b129221 Mention user should remove compute shader hint when use set_stage_source 2024-09-05 17:16:58 +08:00
Ryan
8835f326b1 Expose get_rpc_config and get_node_rpc_config
add documentation

Update doc/classes/Node.xml

change name of get_node_rpc_config to get_rpc_config

Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com>
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-09-04 15:45:22 -04:00
Rémi Verschelde
cb21a207b3
Merge pull request #96555 from dalexeev/doc-theme-items-deprecated-experimental
Docs: Add missing deprecated/experimental tag support for theme items
2024-09-04 18:55:49 +02:00
Rémi Verschelde
4ab358481b
Merge pull request #96340 from m4gr3d/update_pip_mode_options
[Android Editor] Update the options for launching the Play window in PiP mode
2024-09-04 18:55:35 +02:00
Rémi Verschelde
a1012058dd
Merge pull request #94886 from gturri/dev
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
2024-09-04 18:55:24 +02:00
Rémi Verschelde
db6af2ecc6
Merge pull request #85018 from smix8/skinnedmeshbake
Add option to bake a mesh from animated skeleton pose
2024-09-04 18:55:16 +02:00
Guillaume Turri
ea9dff87ae
Add error checks for bad configuration in PathFollow2D/3D set_progress_ratio
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
Thaddeus Crews
9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 -05:00
Rémi Verschelde
9364aace9b
Merge pull request #96556 from dalexeev/doc-polygon-triangulation
Document use of pre-calculated triangulation when drawing polygons
2024-09-04 17:12:16 +02:00
Danil Alexeev
2dd043d1f6
Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +03:00
Danil Alexeev
78abc3f57a
Document use of pre-calculated triangulation when drawing polygons 2024-09-04 11:31:22 +03:00
Daniel Kinsman
5e04f0760a Add target fps editor setting to visual profiler
Use same max fps as project setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-04 09:47:26 +10:00
Marius Hanl
27b7b433e0 Fix Inspector may scrolls away when editing a property that adds or removes sub properties 2024-09-04 01:20:11 +02:00
kobewi
ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +02:00
smix8
a99a1699aa Add option to bake a mesh from animated skeleton pose
Adds option to bake a mesh from animated skeleton  pose.
2024-09-03 22:16:05 +02:00
andrei-g99
61ddf05eef
Add descriptions to PolygonPathFinder setup and is_point_inside methods 2024-09-03 16:38:38 +02:00
Rémi Verschelde
a985d59603
Merge pull request #96473 from LunaTheFoxgirl/patch-1
Fix ambiguity in `angle_difference` function documentation
2024-09-03 16:14:05 +02:00
Rémi Verschelde
79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
aXu-AP
7218dd6a3a Add support for Transform2D/3D in lerp()
Implements godotengine/godot-proposals#10579
2024-09-03 16:59:15 +03:00
Gilles Roudière
d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
citizenl
6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
Rémi Verschelde
657dc363ef
Merge pull request #96182 from dsnopek/java-class-wrapper
Fix `JavaClassWrapper` so it actually works
2024-09-03 11:43:35 +02:00
Rémi Verschelde
1914ca61ba
Merge pull request #96096 from Wierdox/doc_clarify_hdr_2d_description
[Doc] Clarify ProjectSettings `hdr_2d` description
2024-09-03 11:43:24 +02:00
Rémi Verschelde
c282e17373
Merge pull request #94323 from Naros/GH-94322
Pass current value to `EditorInterface` node/property popups
2024-09-03 11:43:04 +02:00
Rémi Verschelde
5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +02:00
Luna
fffed28f9a
Fix ambiguity in angle_difference function documentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-09-03 11:03:30 +02:00
Chris Cranford
9122be6474 Pass current value to EditorInterface node/property popups 2024-09-03 00:54:55 -04:00
Rémi Verschelde
36f95ef3db
Merge pull request #95815 from DeeJayLSP/qoa-def
ResourceImporterWAV: Enable QOA compression by default
2024-09-02 18:08:03 +02:00
Rémi Verschelde
160e3b3cf4
Merge pull request #91973 from Arnklit/particle-cylinder-cone-emission-shape
Add cone angle control to particle emission ring shape
2024-09-02 18:07:55 +02:00
David Snopek
78883a52c6 Fix JavaClassWrapper so it actually works 2024-09-02 08:54:23 -05:00
Kasper Arnklit Frandsen
40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
Rémi Verschelde
d06579f47a
Merge pull request #96260 from basicer/preview-keep-looking
Keep looking when a preview plugin returns an empty image.
2024-09-02 12:13:16 +02:00
Rémi Verschelde
28b2ed50b7
Merge pull request #96056 from Lielay9/expose_canvas_item_attach_skeleton
Expose `RenderingServer.canvas_item_attach_skeleton`
2024-09-02 12:13:08 +02:00
Rémi Verschelde
0a7dfa1ef0
Merge pull request #95722 from TokageItLab/docs-for-interpolatable-type
Add documentation to clarify un-interpolatable type on animation blending
2024-09-02 12:12:56 +02:00
Rob Blanckaert
28e7069ee0 Keep looking when a preview plugin returns an empty image.
EditorResourcePreviewGenerator::_generate says that
"Returning an empty texture is an OK way to fail and
let another generator take care."

This patch enables that behavior.
2024-09-01 15:17:49 -07:00
Ainsley Su
57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +02:00
DeeJayLSP
d3b51c4efb ResourceImporterWAV: Enable QOA compression by default 2024-08-31 00:42:56 -03:00
Rémi Verschelde
77bc419071
Merge pull request #96174 from DeeJayLSP/wav-docs
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 23:37:50 +02:00
DeeJayLSP
5a50b3a6c5 WAV stream/importer: Improve compression/loop names and descriptions 2024-08-30 16:31:57 -03:00
Fredia Huya-Kouadio
11d4df4bc3 Update the options for launching the Play window in PiP mode 2024-08-30 10:31:33 -07:00
Raul Santos
7fd261c8c1
Expose AudioStreamPlayer{2D,3D}::set_playing and remove AudioStreamPlayer::{2D,3D}::_is_active
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
    - The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +02:00
Rémi Verschelde
1e57671718
Merge pull request #90130 from KoBeWi/erased_from_history
Expose EditorUndoRedoManager's `clear_history()`
2024-08-30 11:42:58 +02:00
Rémi Verschelde
7d9ab705c9
Merge pull request #96216 from BlackShift/master
Fix Tweeners to emit `finished()` when underlying object is deleted
2024-08-30 09:59:35 +02:00
Rémi Verschelde
f0ee0bdd37
Merge pull request #93972 from Hilderin/fix-editor-needs-restart-after-adding-gdextensions
Fix editor needs restart after adding GDExtensions
2024-08-30 09:59:05 +02:00
Rémi Verschelde
4c6bac15a3
Merge pull request #92656 from fire/vsk-json-to-native-4.3
Ability to convert native engine types to JSON and back.
2024-08-30 09:58:57 +02:00
Rémi Verschelde
66dd06837c
Merge pull request #90782 from bruvzg/export_platform_extension
Allow adding custom export platforms using scripts / GDExtension.
2024-08-30 09:58:52 +02:00
BlackShift
1abd67caac Fix Tweeners to emit finished() when underlying object is deleted 2024-08-29 14:53:45 -04:00
K. S. Ernest (iFire) Lee
71bdbcdfb1 Ability to convert native engine types to JSON and back.
Implements support for all engine types in JSON encoding/decoding

Co-Authored-By: Juan <reduzio@gmail.com>
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2024-08-29 10:57:15 -07:00
kobewi
ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +02:00
Hilderin
ef6f873938 Fix editor needs restart after adding GDExtensions 2024-08-29 06:15:32 -04:00
Rémi Verschelde
9725c03228
Merge pull request #93900 from TestSubject06/10106/raycast_info_on_wheels
Expose contact point and contact normal on VehicleWheel3D to scripting.
2024-08-29 10:36:30 +02:00
TestSubject06
b56a0370c4 Expose contact point and contact normal on VehicleWheel3D
Appease doctool by switching the order of the documentation page entries.

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Thanks, didn't see the typo in the suggested change. Brain auto corrected it.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-28 10:28:56 -04:00
Rémi Verschelde
8c5d1b42ab
Merge pull request #92530 from Naros/expose-resource-cache-get-ref
Expose `get_cached_ref` from `ResourceCache`
2024-08-28 15:46:35 +02:00
Rémi Verschelde
60765bebe4
Merge pull request #95700 from m4gr3d/add_pip_support_to_game_window
[Android Editor] Add support for launching the Play window in PiP mode
2024-08-28 13:14:23 +02:00
Rémi Verschelde
4e051ff6f7
Merge pull request #78178 from dalexeev/gds-add-non-tool-extends-tool-error
GDScript: Add warning if non-`@tool` class extends `@tool` class
2024-08-28 13:14:13 +02:00
Fredia Huya-Kouadio
961394a988 Add support for launching the Play window in PiP mode 2024-08-28 03:18:51 -07:00
bruvzg
07e986f728
Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +03:00
bruvzg
94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed. 2024-08-28 08:43:30 +03:00
Rémi Verschelde
78935cad95
Merge pull request #94954 from raulsntos/mark-internal-properties
Mark underscored properties as internal
2024-08-28 00:12:42 +02:00
Rémi Verschelde
e98aaf1caa
Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +02:00
Rémi Verschelde
6cb21a56fd
Merge pull request #93970 from MarblesFr/feature/collision-occlusion-options-layer-map
Add occlusion enabled option to TileMapLayer
2024-08-28 00:11:40 +02:00
Rémi Verschelde
e3695423b2
Merge pull request #93363 from kitbdev/pass-propagate
Clarify Mouse Filter Pass in the Inspector
2024-08-28 00:11:06 +02:00
Rémi Verschelde
1e6b6eaf49
Merge pull request #92123 from timothyqiu/estimate-end
Change param name of AStar's `_estimate_cost` method
2024-08-28 00:10:47 +02:00
Rémi Verschelde
9c7cf5440c
Merge pull request #91868 from Chaosus/astargrid_get_point_positions_in_region
Add a method to retrieve all points within a region to `AStarGrid2D`
2024-08-28 00:10:42 +02:00
Rémi Verschelde
109203d472
Merge pull request #85331 from RobProductions/customize-navigation-controls
Add full customization of 3D navigation controls
2024-08-28 00:10:19 +02:00
Rémi Verschelde
b4eacfe0ce
Merge pull request #95285 from Calinou/codeedit-completion-color-background-translucent
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
2024-08-27 22:27:49 +02:00
Rémi Verschelde
012ccbc301
Merge pull request #95048 from KoBeWi/keep_the_party_going
Add `keep_screen_on` editor setting
2024-08-27 22:27:35 +02:00
Rémi Verschelde
8ae2c3a000
Merge pull request #93605 from RadiantUwU/thread-barriers
Add optional count argument to `Semaphore::post`
2024-08-27 22:27:21 +02:00
Rémi Verschelde
62e98edf0f
Merge pull request #83070 from aaronfranke/textedit-fit-width
Implement fit content width in TextEdit
2024-08-27 22:27:09 +02:00
Danil Alexeev
be5068d44b
Core: Bind and document iterator API virtual methods 2024-08-27 21:57:22 +03:00
Radiant
6311ee5bd5 Add optional count argument to Sempahore::post
Co-authored-by: RandomShaper <RandomShaper@users.noreply.github.com>
Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mickeon <Mickeon@users.noreply.github.com>
2024-08-27 18:18:01 +03:00
Rémi Verschelde
9dfc41568a
Merge pull request #95984 from timothyqiu/what-identifier
Add `String.is_valid_unicode_identifier()`
2024-08-27 16:55:06 +02:00
Rémi Verschelde
3db976bdb7
Merge pull request #95906 from larspet/change-2d-zoom
Add a zoom speed setting to the 2D editor
2024-08-27 16:55:02 +02:00
Rémi Verschelde
c2daec1769
Merge pull request #95156 from BastiaanOlij/add_openxr_debug_utils
Add support for the debug utils extension in OpenXR
2024-08-27 16:54:54 +02:00
Rémi Verschelde
21bcff00e9
Merge pull request #95126 from Chaosus/shader_cubemap_fix
Allow setting a cubemap as default parameter to shader
2024-08-27 16:54:50 +02:00
Rémi Verschelde
5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
Chaosus
db251a3f99 Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
Haoyu Qiu
8bf4ecc026 Add String.is_valid_unicode_identifier()
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
Bastiaan Olij
08ffa5d89e Add support for the debug utils extension in OpenXR 2024-08-27 12:07:01 +10:00
Rémi Verschelde
db76de5de8
Merge pull request #95927 from vinni-richburgh/master
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
Document that `Node.duplicate` also duplicates its children.
2024-08-26 23:29:14 +02:00
Rémi Verschelde
4a798ad85d
Merge pull request #95749 from Mickeon/documentation-example-pruning
Remove empty `[b]Example:[/b]` lines from the class reference
2024-08-26 23:29:00 +02:00
Rémi Verschelde
c5eacb8698
Merge pull request #95381 from tetrapod00/time-rollover-description
Document shader time rollover project setting
2024-08-26 23:28:50 +02:00
Rémi Verschelde
a041772ecf
Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00
Rémi Verschelde
2e825c7d9c
Merge pull request #93141 from RadiantUwU/add_static_classdb_calls
Implement `ClassDB::class_call_static_method`
2024-08-26 23:28:36 +02:00
Rémi Verschelde
ac5a528620
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
Fix some legacy code
2024-08-26 23:28:14 +02:00
Rémi Verschelde
b34aa7b44d
Merge pull request #76085 from spanzeri/better_remember_editor_window
Remember editor window mode, screen, size and position on restart
2024-08-26 23:27:55 +02:00
Rémi Verschelde
b5603ed8e2
Merge pull request #96118 from aaronp64/sort_custom_example
Fix `Array.sort_custom` example code
2024-08-26 22:46:10 +02:00
Rémi Verschelde
a8516b8c3b
Merge pull request #96066 from AThousandShips/is_null_doc
[Doc] Clarify `is_null` methods of `Callable` and `Signal`
2024-08-26 22:45:50 +02:00
Rémi Verschelde
4a947f0811
Merge pull request #96021 from jwodicka/jwodicka-docfix
Fix C# code example for `Object._get_property_list`
2024-08-26 22:45:45 +02:00
Rémi Verschelde
dd4ba9cce5
Merge pull request #95886 from jadoc/mouse-motion-caveat
Add movement caveats to InputEventMouseMotion docs
2024-08-26 22:45:33 +02:00
Jason Wodicka
97cf2c147e Fix C# code example for Object._get_property_list
There were two small errors in this code example that kept it from working when copied to a new node locally. These are the fixes I used locally to test the example.
2024-08-26 12:36:01 -07:00
stechyo
c32f72f7fa Post-code review changes. 2024-08-26 19:42:42 +01:00
aaronp64
39ca8b4e23 Fix Array.sort_custom example code
Array.sort_custom descending sort example was comparing index 0, but had expected result based on comparing index 1.  Updated to use index 1 consistently.
2024-08-26 10:38:23 -04:00
Programneer
bce67b7473 Remove the 2D renderer notice from ProjectSettings documentation 2024-08-26 12:47:28 +02:00
Wierdox
68799be79c [Doc] Clarify ProjectSettings hdr_2d description 2024-08-26 03:35:54 -07:00
Rémi Verschelde
28a72fa434
Merge pull request #95934 from bruvzg/win_ang_fb
Enable fallback from ANGLE to native and improve ANGLE error messages.
2024-08-25 22:51:38 +02:00
bruvzg
f8a6c0e8ab
Enable fallback from ANGLE to native and improve ANGLE error messages. 2024-08-25 21:19:54 +03:00
Rémi Verschelde
bb437722ea
Merge pull request #96033 from Tallivm/patch-1
Fix typo in `Array` code example
2024-08-25 20:18:42 +02:00
Rémi Verschelde
844ac90bad
Merge pull request #95956 from ItzCog/master
Fix some C# variable types In `AStar2D/3D` Class Reference
2024-08-25 20:18:25 +02:00
A Thousand Ships
5b91040ba6
[Doc] Clarify is_null methods of Callable and Signal 2024-08-25 14:33:07 +02:00
Hei
94e434b34e Expose the function 'RenderingServer.canvas_item_attach_skeleton' 2024-08-25 04:13:04 +03:00
Matias N. Goldberg
59d0422dcd Disable extra memory tracking by default
PR #90993 added several debugging utilities.

Among them, advanced memory tracking through the use of custom
allocators and VK_EXT_device_memory_report.

However as issue #95967 reveals, it is dangerous to leave it on by
default because drivers (or even the Vulkan loader) can too easily
accidentally break custom allocators by allocating memory through std
malloc but then request us to deallocate it (or viceversa).

This PR fixes the following problems:
 - Adds --extra-gpu-memory-tracking cmd line argument
 - Adds missing enum entries to
RenderingContextDriverVulkan::VkTrackedObjectType
 - Adds RenderingDevice::get_driver_and_device_memory_report
    - GDScript users can easily check via print(
RenderingServer.get_rendering_device().get_driver_and_device_memory_report()
)
- Uses get_driver_and_device_memory_report on device lost for appending
further info.

Fixes #95967
2024-08-24 20:52:39 -03:00
Tallivm
b516742358 Fix typo in Array code example 2024-08-24 20:44:01 +03:00
David Giardi
e371587147 Improve SpinBox interaction, split arrows, add theme attributes 2024-08-23 18:21:20 +02:00
Alex Docauer
08dcbce6b5
Add movement caveats to InputEventMouseMotion docs
InputEventMouseMotion may fire when the mouse hasn't moved.
Also, it generally won't fire when the mouse stops moving.
This makes reliably detecting when the mouse isn't moving tricky.

Update the docs for InputEventMouseMotion to capture these caveats
and give guidance for the best way to detect lack of mouse movement.
2024-08-23 07:54:18 -07:00
Lars Pettersson
dfdf7ebcda
Add a zoom speed setting to the 2D editor 2024-08-23 07:13:16 +02:00
Radiant
02fc4bbc2a Implement ClassDB::class_call_static_method 2024-08-23 02:56:29 +03:00
Dungeon Master
1928a84f6e Fix some C# variable types In AStar2D/3D Class Reference 2024-08-23 02:25:56 +08:00
Vinni Richburgh
3e86f7b50e In Node.xml mentioned that Node::duplicate also copies children.
The list now uses the Oxford comma.
2024-08-22 18:57:05 +02:00
Rémi Verschelde
568589c9d8
Merge pull request #90993 from darksylinc/matias-TheForge
Add debug utilities for Vulkan
2024-08-22 00:38:22 +02:00
Rémi Verschelde
2a98d8d78a
Merge pull request #95883 from jsjtxietian/curve2d-doc
Fix Curve2D incorrect sample range description
2024-08-22 00:10:46 +02:00
Rémi Verschelde
39b77ea04e
Merge pull request #95790 from aaronfranke/rect-aabb-support
Simplify Rect2/AABB `get_support` function
2024-08-22 00:10:39 +02:00
Matias N. Goldberg
364f916f3f
Add debug utilities for Vulkan
Features:
- Debug-only tracking of objects by type. See
get_driver_allocs_by_object_type et al.
 - Debug-only Breadcrumb info for debugging GPU crashes and device lost
 - Performance report per frame from get_perf_report
- Some VMA calls had to be modified in order to insert the necessary
memory callbacks

Functionality marked as "debug-only" is only available in debug or dev
builds.

Misc fixes:
 - Early break optimization in RenderingDevice::uniform_set_create

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-21 23:48:08 +02:00
jsjtxietian
5183588499 Fix curve2d incorrect sample range description 2024-08-21 16:00:25 +08:00
Rémi Verschelde
4b8946102b
Merge pull request #91535 from BlueCube3310/betsy-bc6h
Add Betsy to speed up BC6 compression
2024-08-21 06:38:03 +02:00
Stuart Carnie
2d0165574d
Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
Rémi Verschelde
5ebfc8a6ba
Merge pull request #95643 from Flynsarmy/get_bone_attach_skele
Add `BoneAttachment3D::get_skeleton()` method
2024-08-20 11:04:04 +02:00
Rémi Verschelde
0b1bf3cb42
Merge pull request #95760 from jolexxa/docs/joy-info
docs: Highlight lack of joystick info on majority of platforms
2024-08-20 10:02:28 +02:00
Rémi Verschelde
a700b2a4a2
Merge pull request #95153 from BastiaanOlij/improve_hand_tracking_settings
Change hand tracking project settings and finetune `show_when_tracked`
2024-08-20 10:02:01 +02:00
Rémi Verschelde
7999b4bb8a
Merge pull request #94324 from SomeRanDev/shader_hint_enum
GDShader: Add `hint_enum` for `uniform int`
2024-08-20 10:01:57 +02:00
Rémi Verschelde
6a9ecdcf0c
Merge pull request #91818 from rburing/fti_multimesh
Physics interpolation: `MultiMesh`
2024-08-20 10:01:46 +02:00
Rémi Verschelde
8acd82f70e
Merge pull request #89919 from BlueCube3310/bicubic-lightmap
Implement bicubic sampling for lightmaps
2024-08-20 10:01:41 +02:00
Aaron Franke
7db24a9ad5
Simplify and fix Rect2/AABB get_support function 2024-08-19 23:55:31 -07:00
tetrapod00
abe8d2c719 Document conversion function needed for normal texture in CompositorEffect 2024-08-19 21:49:31 -07:00
Bastiaan Olij
a8c5117777 Change hand tracking project settings and finetune show_when_tracked 2024-08-20 11:12:52 +10:00
Rémi Verschelde
da57bab169
Merge pull request #92560 from smix8/navmesh2d_bake_partition
Add triangulation partition option to 2D navigation mesh baking
2024-08-19 16:04:49 +02:00
Rémi Verschelde
01fdac08d9
Merge pull request #95779 from Mickeon/documentation-no-differences-ShapeCast
Fix some differences between ShapeCast2D and ShapeCast3D documentation
2024-08-19 14:34:26 +02:00
Rémi Verschelde
8b39d7f326
Merge pull request #95666 from kleonc/parallax2d_repeat_offsets_relative_to_source
Fix `Parallax2D` repeats being not relative to its transform
2024-08-19 14:34:21 +02:00
Rémi Verschelde
8b98d9aa4d
Merge pull request #95137 from smix8/source_geo_bounds
Add `get_bounds()` function to NavigationMeshSourceGeometryData
2024-08-19 14:34:13 +02:00
Rémi Verschelde
ab2b06b8b1
Merge pull request #95730 from voidedWarranties/fix_reload_scripts_bind
Fix virtual binding for `ScriptLanguageExtension::_reload_scripts`
2024-08-19 12:09:39 +02:00
Rémi Verschelde
43c46b9b1b
Merge pull request #95013 from smix8/navmesh_geo_parse
Change NavigationMesh to also parse collision shapes by default
2024-08-19 12:08:55 +02:00
Rémi Verschelde
f4037d6f6c
Merge pull request #92496 from clayjohn/HDR-2D-sRGB
Ensure MovieWriter output is in gamma space when using HDR 2D
2024-08-19 12:08:40 +02:00
kleonc
1bd8372813 Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
BlueCube3310
ef9bb1a207 Implement support for bicubic lightmap filtering
Co-authored-by: Calinou <hugo.locurcio@hugo.pro>
2024-08-19 09:52:09 +02:00
Micky
4ce5856384 Remove empty [b]Example:[/b] lines from the class reference 2024-08-19 01:00:52 +02:00
Micky
be1dc574e0 Fix some differences between ShapeCast2D and ShapeCast3D documentation 2024-08-19 00:32:14 +02:00
smix8
2e1f6b50fb Add bounds function to NavigationMeshSourceGeometryData
Adds get_bounds() function to NavigationMeshSourceGeometryData2D/3D to get a bounding box that covers all the geometry.
2024-08-19 00:12:37 +02:00
Micky
b8f78b14be Fix miscellaneous oddities around the class reference 2024-08-18 23:18:44 +02:00
Joanna May
bebf2e87f2 docs: highlight lack of joystick info on majority of platforms 2024-08-18 14:47:32 -05:00
Micky
519351f677 Fix differences between String and StringName's documentation 2024-08-18 18:26:29 +02:00
Ricardo Buring
1728f80e7c Fixed Timestep Interpolation: MultiMesh
Adds fixed timestep interpolation to multimeshes.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-08-18 17:14:59 +02:00
BlueCube3310
394ea653aa Add Betsy to speed up BC6 compression 2024-08-18 11:14:05 +02:00
voidedWarranties
d65ea6fb9c Fix virtual binding for ScriptLanguageExtension::_reload_scripts 2024-08-17 21:09:32 -07:00
Silc Lizard (Tokage) Renew
3e124298fe Add document to clarify un-interpolatable type on animation blending 2024-08-18 09:31:49 +09:00
Flyn San
0df7ee31d2 Add BoneAttachment3D::get_skeleton() method 2024-08-17 09:35:24 +10:00
Rémi Verschelde
8d65fd2b32
Merge pull request #95655 from aaronp64/blend_space_2d_docs
Minor AnimationNodeBlendSpace2D documentation fixes
2024-08-17 00:47:10 +02:00
Rémi Verschelde
2e400bc475
Merge pull request #95299 from bruvzg/kern_img
[ImageFont] Fix escape sequence parsing, add note to the docs.
2024-08-16 23:45:44 +02:00
Rémi Verschelde
82adfebcf8
Merge pull request #94799 from m4gr3d/memory_allocation_cleanup_and_optimizations
Android memory cleanup and optimizations
2024-08-16 23:45:39 +02:00
Rémi Verschelde
dbf4be308c
Merge pull request #93583 from smix8/obstacle_monitor
Add navigation obstacles to performance monitor stats
2024-08-16 23:45:10 +02:00
aaronp64
05bcfda784 Minor AnimationNodeBlendSpace2D documentation fixes
Updated a couple parts that seemed to be copied over from AnimationNodeBlendSpace1D
2024-08-16 15:13:36 -04:00
Micky
edb3d99942 Add RichTextLabel is_finished(), deprecate is_ready() 2024-08-16 20:08:38 +02:00
Fredia Huya-Kouadio
a57a99f5bc Memory cleanup and optimizations
- Returns an empty list when there's not registered plugins, thus preventing the creation of spurious iterator objects

- Inline `Godot#getRotatedValues(...)` given it only had a single caller. This allows to remove the allocation of a float array on each call and replace it with float variables

- Disable sensor events by default. Sensor events can fired at 10-100s Hz taking cpu and memory resources. Now the use of sensor data is behind a project setting allowing projects that have use of it to enable it, while other projects don't pay the cost for a feature they don't use

- Create a pool of specialized input `Runnable` objects to prevent spurious, unbounded `Runnable` allocations

- Disable showing the boot logo for Android XR projects

- Delete locale references of jni strings
2024-08-16 09:27:41 -07:00
bruvzg
4cc065c2db
[ImageFont] Fix escape sequence parsing, add note to the docs. 2024-08-16 15:48:56 +03:00
Rémi Verschelde
1a5602c404
Merge pull request #95539 from tetrapod00/compositor-tutorial-link
Add tutorial link in Compositor and CompositorEffect docs
2024-08-16 14:35:45 +02:00
Rémi Verschelde
1d4303c1fe
Merge pull request #95502 from bruvzg/net_ext_detect
[.NET] Move search in files extension list definition to be after Scene level module init.
2024-08-16 14:35:12 +02:00
Rémi Verschelde
63397b5b17
Merge pull request #95485 from sepTN/clarify-timer-docs
Clarify `Timer.start()` documentation to match the current behavior.
2024-08-16 14:35:01 +02:00
Rémi Verschelde
a917a2b2f9
Merge pull request #95456 from smix8/navlink_mapchange
Add NavigationLink function to change navigation map
2024-08-16 14:34:49 +02:00
Rémi Verschelde
504f81ec08
Merge pull request #95376 from raulsntos/gdextension/expose-property-accessors/Polygon2D
Make `Polygon2D::bones` property internal
2024-08-16 14:33:49 +02:00
Rémi Verschelde
252ba2e0e3
Merge pull request #95230 from bruvzg/msdf_custom
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it.
2024-08-16 14:33:12 +02:00
Rémi Verschelde
69db19f058
Merge pull request #94826 from Naros/classdb-expose-property-getter-setter
Expose ClassDB methods `get_property_setter` / `get_property_getter`
2024-08-16 14:32:32 +02:00
Rémi Verschelde
7865266f24
Merge pull request #94609 from bruvzg/pixel_font_detect
[Font Import] Detect pixel fonts and disable subpixel positioning.
2024-08-16 14:32:14 +02:00
Rémi Verschelde
f02e89bd04
Merge pull request #93869 from MajorMcDoom/ortho-grids
Make viewport grid visible on all three planes in ortho camera view
2024-08-16 14:32:06 +02:00
Rémi Verschelde
7ac1f547bc
Merge pull request #92001 from GrahameGW/line_intersect_docs
Clarify documentation for `Geometry2D.line_intersects_line`
2024-08-16 14:31:59 +02:00
Rémi Verschelde
d45f9d26ff
Merge pull request #81973 from /detective_TileMap_uncovers_the_truth_about_tile_rotation 2024-08-16 14:31:32 +02:00
Rémi Verschelde
987635b508
Merge pull request #95374 from raulsntos/gdextension/expose-property-accessors/ShapeCast
Expose `ShapeCast{2D,3D}::get_collision_result`
2024-08-16 10:35:38 +02:00
Rémi Verschelde
e52cf86661
Merge pull request #94100 from Calinou/obj-import-remove-unused-optimize-mesh
Remove unused Optimize Mesh import option from OBJ mesh import
2024-08-16 10:34:16 +02:00
Rémi Verschelde
27f3dd8d01
Merge pull request #93149 from Malcolmnixon/smoothstep-degenerate-case
Handle the smoothstep degenerate case of empty range
2024-08-16 10:33:58 +02:00
Rémi Verschelde
46c6865979
Merge pull request #92391 from rburing/fti_3d
Physics interpolation (3D)
2024-08-16 10:33:37 +02:00
Malcolm Nixon
23fc704cbc This PR handles the smoothstep degenerate case where the range is empty.
It also updates the documentation to describe positive and negative ranges.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-08-15 19:08:05 -04:00
smix8
e6ff4e56e3 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.
2024-08-15 22:37:02 +02:00
Raul Santos
e47ff98451
Expose ShapeCast{2D,3D}::get_collision_result 2024-08-15 16:20:13 +02:00
stechyo
e479c238a2 Expose some AudioStreamPlayback methods.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-15 14:10:18 +01:00
tetrapod00
d6ef881418 Add tutorial link in Compositor and CompositorEffect docs 2024-08-14 22:04:12 -07:00
Rémi Verschelde
8e666adeed
i18n: Sync translations with Weblate
Adds Irish (ga) translations.
2024-08-14 16:14:54 +02:00
bruvzg
69d52ed081
[.NET] Move search in files extension list definition to be after Scene level module init. 2024-08-14 00:16:09 +03:00
Septian Ganendra S. K.
336b9a27b7 Clarify Timer.start() documentation to match the current behavior. 2024-08-13 21:05:14 +07:00
Rémi Verschelde
a7a124a57d
i18n: Sync translations with Weblate 2024-08-12 23:51:35 +02:00
Rémi Verschelde
b8e8b339c4
Merge pull request #95347 from calsbrook/update-compositor-effect-docs
Clarify usage of CompositorEffect as an abstract base class
2024-08-12 22:41:52 +02:00
Silc Lizard (Tokage) Renew
db3a831141 Add Animation tutorial links to class reference by 4.3 2024-08-13 01:57:28 +09:00
Rémi Verschelde
86c95d26fc
Merge pull request #95409 from AlexAlappsis/master
Incorrect reference to VisibleOnScreenEnabler3D/2D in VisibleOnScreenNotifier3D/2D documentation.
2024-08-12 14:10:41 +02:00
Rémi Verschelde
ece2e6d23b
Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +02:00
Rémi Verschelde
f16c3d13b4
Merge pull request #95341 from esainane/valid-example
Fix check in `Object._ValidateProperty` example
2024-08-12 14:10:32 +02:00
Rémi Verschelde
10ae73cc69
Merge pull request #95336 from esainane/typo-eh
Fix typo in EditorImportPlugin docs
2024-08-12 14:10:21 +02:00
Alex Mitchell
3c2259f59a
Fix incorrect reference to VisibleOnScreenEnabler2D/3D in *Notifier2D/3D docs 2024-08-12 13:19:49 +02:00
kobewi
dba1a39fe1 Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
Hannah Crawford
a54b71bbdf Add shadow_caster_mask to Light3D. 2024-08-12 00:17:11 +01:00
tetrapod00
25ae74b625 Document time rollover setting in ProjectSettings.xml 2024-08-11 15:19:33 -07:00
Hugo Locurcio
0d314c12a4
Add template images to the Cubemap class documentation
This also adds an example sky shader for using a cubemap as a skybox.
This solution should be preferred to converting the cubemap texture
to a panorama sky, as that method implies a loss in quality compared
to the source cubemap.
2024-08-11 18:15:31 +02:00
Raul Santos
415331f474
Make Animation::capture_included read-only
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.

To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +02:00
Raul Santos
60e93415ed
Make Polygon2D::bones property internal 2024-08-10 17:55:29 +02:00
calsbrook
3217bc283c Clarify usage of CompositorEffect as an abstract base class in the documentation 2024-08-09 21:28:31 -07:00
Sai Nane
15f6984675 Fix check in Object._ValidateProperty example
The GDScript version above makes the `number` property read only whenever
`is_number_editable` is false.

```gdscript
func _validate_property(property: Dictionary):
	if property.name == "number" and not is_number_editable:
		property.usage |= PROPERTY_USAGE_READ_ONLY
```

The C# version is similar, but omits the negation, so the Number property is
made read only whenever `is_number_editable` is true.

This adds the negation to the C# example, making it match the GDScript
example.
2024-08-09 19:08:27 +00:00