Commit Graph

10691 Commits (fe84b84b51df1ff6db658f521d1040aa563cedd0)

Author SHA1 Message Date
Thaddeus Crews fe1c044c73 Merge pull request #99394 from TokageItLab/root-local
Add `root_motion_local` option to AnimationMixer to pre-multiply root motion rotation accumulator before blending
2024-11-22 14:54:24 +07:00
Thaddeus Crews 336eeda6f8 Merge pull request #99521 from mechalynx/update-packedarray-class-descriptions
Correct PackedInt64Array comparison in description
2024-11-22 14:54:23 +07:00
Thaddeus Crews c35e4c41d2 Merge pull request #97716 from pafuent/add_half_precision_floating_point_to_stream_peer
Add half precision floating point support to `StreamPeer` and `FileAccess`
2024-11-22 14:54:19 +07:00
Thaddeus Crews 47f3e95308 Merge pull request #99352 from Mickeon/documentation-aabb-coords-are-complicated
Fix incorrect Z direction for AABB's position
2024-11-22 14:54:12 +07:00
Thaddeus Crews 0430b977b6 Merge pull request #99348 from TokageItLab/explicit_elapse
Add `explicit_elapse` option to AnimationNodeTimeSeek to handle some processes
2024-11-22 14:54:11 +07:00
Micky e0b13004a0 Fix incorrect Z direction for AABB's position 2024-11-22 20:25:50 +07:00
vPumpking 0542bccee0 Improve space management for EditorFileDialog
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
2024-11-22 18:59:03 +07:00
André Guedes e1fa489f77 Fix wording in LookAtModifier3D docs 2024-11-22 13:15:55 +07:00
Danil Alexeev 03b05cf9ac
Core: Fix built-in enum constant bindings 2024-11-22 14:03:21 +07:00
mechalynx acf351fa6a
Update PackedVector4Array description to include explanation shared by PackedArray classes 2024-11-22 07:12:56 +07:00
mechalynx 133cf62d26
Correct PackedInt64Array comparison in description
All Packed classes that have the same paragraph will compare the currently viewed Packed array type with the equivalent typed Array but here the comparison was with the Int32 version instead of the Int64 version
2024-11-22 06:23:06 +07:00
Thaddeus Crews f952bfe998
Merge pull request #98972 from dbnicholson/standardize-add-defaults
Expose `TranslationServer::standardize_locale` `add_default` param publicly
2024-11-21 17:57:01 +07:00
Thaddeus Crews 0d8352bd96
Merge pull request #99511 from Mickeon/documentation-audio-stream-typo
Fix typo in AudioStream's documentation
2024-11-21 17:57:00 +07:00
Thaddeus Crews d967befc42
Merge pull request #99465 from aaronfranke/arch-bit-has-feature
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-21 17:56:49 +07:00
Thaddeus Crews 0eca686191
Merge pull request #99270 from Sauermann/fix-svc-drop-config
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 +07:00
Thaddeus Crews 1117d91704
Merge pull request #99200 from KingTheFifth/master
Document `AudioStreamPlayer.get_playback_position()` intentionally aways returning `0.0` when using `AudioStreamInteractive`
2024-11-21 17:56:43 +07:00
Dan Nicholson 6f4fadf65d Expose standardize_locale add_default param publicly
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 +07:00
Micky 429ea1c8e3 Fix typo in AudioStream's documentation 2024-11-21 21:33:55 +07:00
Aaron Franke f4c1f89add
Suggest using OS.has_feature instead of the engine architecture name for bitness 2024-11-20 06:33:28 +07:00
Silc Lizard (Tokage) Renew 9ab94df772 Add explicit_elapse option to NodeSeek to handle some processes 2024-11-20 22:51:27 +07:00
Hugo Locurcio 0cf99cf95d
Add a Viewport method to get automatically computed 2D stretch transform
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.

There are many situations where knowing this factor is useful:

- Divide Camera2D zoom to keep the size of the 2D game world identical
  regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
  (e.g. for the crosshair in a FPS). This is done by dividing the Control
  node's scale by the scale factor.
2024-11-19 23:11:13 +07:00
Markus Sauermann 117158d271 Introduce a `SubViewportContainer` config for drag-and-drop targets
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.

This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +07:00
Johannes Kung 3ab88c2e6a Document `AudioStreamPlayer.get_playback_position()` intentionally always returning `0.0` when using `AudioStreamInteractive` 2024-11-19 22:21:30 +07:00
Thaddeus Crews e4dbba94d9
Merge pull request #99324 from TokageItLab/fix-fpe-spinner
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 +07:00
ntlblpm 086d1ea2ac
Update FileAccess.xml 2024-11-19 03:45:03 +07:00
Silc Lizard (Tokage) Renew 755bcf4737 Add root_motion_local option to AnimationMixer 2024-11-19 08:25:31 +07:00
Thaddeus Crews fd4c29a189
Merge pull request #98683 from clayjohn/wireframe
Ensure shadow material and mesh are not used with wireframe mode
2024-11-18 09:23:54 +07:00
Thaddeus Crews cf541f0997
Merge pull request #97656 from kitbdev/doc-textedit-improve
Improve TextEdit and CodeEdit documentation
2024-11-18 09:23:53 +07:00
Thaddeus Crews 0a50cef751
Merge pull request #98788 from Bonkahe/master
Add `multimesh_get_buffer_rd_rid` method to `RenderingServer`.
2024-11-18 09:23:46 +07:00
Thaddeus Crews 8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 +07:00
Thaddeus Crews d72112ba0a
Merge pull request #98816 from arkology/to-infinity-and-beyond
Improve `TextureProgressBar.set_radial_initial_angle()` by removing loops
2024-11-18 09:23:28 +07:00
Silc Lizard (Tokage) Renew f5b49af99f Add RetargetModifier3D for realtime retarget to keep original rest 2024-11-18 22:44:55 +07:00
kobewi ce512d3eea Clarify Button's text clipping 2024-11-17 23:04:52 +07:00
clayjohn 90b4b48b5a Ensure shadow material and mesh are not used with wireframe mode
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 +07:00
Silc Lizard (Tokage) Renew e283fdfb59 Fix spinner in AnimationTrackEdit in FPS mode 2024-11-17 01:54:06 +07:00
matricola787 790efbb783 Implement closed path for Curve3d 2024-11-16 12:59:08 +07:00
Thaddeus Crews e9ce3932b3
Merge pull request #98099 from dalexeev/pot-gen-add-comment-support
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments
2024-11-15 10:42:45 +07:00
Thaddeus Crews 1d5c589e71
Merge pull request #99212 from CW-Jesse/patch-1
Describe edge cases for `DisplayServer.get_screen_from_rect()`
2024-11-15 10:42:40 +07:00
Hugo Locurcio d683ea4772 Update Z Index property location in Node2D class reference
The Z Index property is in CanvasItem since Godot 4.0, so it's shared among
Node2D and Control.
2024-11-15 15:02:10 +07:00
Jesse 121097db0a
[DisplayServer] [docs] Improve readability of `get_screen_from_rect()`
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-14 16:28:51 +07:00
kit d467b3acb5 Improve TextEdit and CodeEdit documentation 2024-11-14 17:09:00 +07:00
David House 6e9d31f602 Implemented multimesh_get_buffer_rd_rid function into RenderingServer.
Fixed style error.

Updated dummy mesh_storage to move from cpp to h the return of a blank Rid on _multimesh_get_buffer_rd_rid.
2024-11-14 15:52:08 +07:00
Thaddeus Crews 673f396677
Merge pull request #99132 from BrianBHuynh/master
Add notes on `DirAccess` documentation
2024-11-14 14:52:04 +07:00
Thaddeus Crews 36fac3df7a
Merge pull request #75164 from Calinou/visualinstance3d-lightmap-scale-float
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
2024-11-14 14:52:00 +07:00
Thaddeus Crews 0b2a75b995
Merge pull request #99185 from Mickeon/documentation-damn-it
Fix `format` description being different between String and StringName
2024-11-14 14:51:55 +07:00
RedMser 30a573e110 Fix TODO comments in class reference 2024-11-14 20:42:13 +07:00
arkology d692b7bdde Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +07:00
Hugo Locurcio 1e5f0a86ca Allow more flexible adjustments of VisualInstance3D Lightmap Scale
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +07:00
bruvzg b329b4ab06 [Label] Handle text as multiple independent paragraphs. 2024-11-14 11:29:46 +07:00
Jesse 4ba533d0b5
[DisplayServer] [docs] Describe edge cases for `get_screen_from_rect()`
Describes output when multiple screens intersect with rectangle or rectangle has no area.
2024-11-13 22:02:42 +07:00
Hugo Locurcio af76a896ef Improve documentation on `@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE` 2024-11-14 00:05:06 +07:00
Micky 2d855f2955 Fix `format` description being different between String and StringName 2024-11-13 18:26:16 +07:00
Thaddeus Crews 1627912d11
Merge pull request #98918 from bruvzg/pck_enc_iv
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:34:31 +07:00
Thaddeus Crews 5d152713bb
Merge pull request #99146 from noidexe/patch-3
Clarify effect of setting "page" parameter in ScrollBar nodes
2024-11-13 08:34:19 +07:00
Thaddeus Crews 606f0eb02c
Merge pull request #98621 from tetrapod00/improve-project-settings-links
Docs: Add links to project settings
2024-11-13 08:34:05 +07:00
Thaddeus Crews 07d7d9bca5
Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 +07:00
Thaddeus Crews 64ce03f261
Merge pull request #93440 from Calinou/import-size-limit-downsample-if-necessary
Downsample textures on import if necessary for technical reasons
2024-11-13 08:33:40 +07:00
bruvzg 45593d45b3 Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors. 2024-11-13 08:16:12 +07:00
Lisandro Lorea 21673336e6
Update doc/classes/Range.xml
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 20:29:04 +07:00
Lisandro Lorea 0175074bc7
Clarify effect of setting "page" parameter
Setting `page` affect the ScrollBar's _grabber_ length, not the ScrollBar node itself.
2024-11-12 18:22:03 +07:00
David Snopek d6a4fe6c05 XR: Allow locking the camera to the `XROrigin3D` for benchmarking or automated testing 2024-11-12 15:06:27 +07:00
Brian Huynh 06bed7a8f2 Added notes on DirAccess
Some notes are ported from FileAccess (for example file_exist)
Other notes were added when needed (for example when included on the non static version but not on the static version)
Other entirely new notes were added as well when required for example when getting a list of directories or if a directory exist or not

Clarified note at the top and made it more in line with the one found in file access

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 14:29:01 +07:00
tetrapod00 5c15d346b2 Docs: Add links to project settings 2024-11-12 10:25:38 +07:00
Thaddeus Crews 646cef2ca2
Merge pull request #98680 from jaydensipe/expose-toast-notification-methods
Expose `get_editor_toaster` method to `EditorInterface`
2024-11-12 12:13:22 +07:00
Thaddeus Crews aa6aa45675
Merge pull request #97373 from kitbdev/fix-splitcontainer-collapsed-doc
Fix SplitContainer collapsed documentation
2024-11-12 12:13:15 +07:00
Thaddeus Crews 179321a0a3
Merge pull request #91201 from bruvzg/con_type
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 +07:00
Thaddeus Crews f1d31304b2
Merge pull request #99002 from Mickeon/documentation-more-miscellaneous-oddities
Fix more miscellaneous oddities around the class reference
2024-11-12 12:13:10 +07:00
Thaddeus Crews 9309b37228
Merge pull request #97955 from RobProductions/fix-godot-nav-preset
Restore the original `Godot` preset zoom modifier
2024-11-12 12:13:05 +07:00
Thaddeus Crews cc6ee3e956
Merge pull request #98713 from dalexeev/core-fix-callable-get-bound-arguments
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data
2024-11-12 12:13:04 +07:00
Thaddeus Crews a5c5504dc2
Merge pull request #98689 from Meorge/tween-docs
Improve `Tween.set_ease` and `Tween.set_trans` documentation
2024-11-12 12:12:59 +07:00
Micky eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +07:00
Thaddeus Crews ab5a539549
Merge pull request #98423 from Calinou/doc-textedit-is-caret-visible
Clarify `TextEdit.is_caret_visible()` behavior in the class reference
2024-11-12 09:28:14 +07:00
Thaddeus Crews 686b1c4d98
Merge pull request #94326 from davidrautert/blit-rect-alpha-notes
Add note about alpha channels blending to `Image.blit_rect`
2024-11-12 09:28:12 +07:00
Thaddeus Crews 0f95061092
Merge pull request #98787 from Meorge/tween-docs-stop
Update docs for `Tween.stop` to clarify behavior
2024-11-12 09:28:06 +07:00
Thaddeus Crews 3128bd06ac
Merge pull request #98264 from DevPoodle/rd-texture-format-docs
Add descriptions to RDTextureFormat's methods
2024-11-12 09:28:04 +07:00
Thaddeus Crews 2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 +07:00
Thaddeus Crews 0439686bea
Merge pull request #99015 from CabalCrow/PacketPeerUDP-docs-example
Add examples to PacketPeerUDP class documentation
2024-11-12 09:27:59 +07:00
Thaddeus Crews cb286da1dd
Merge pull request #99112 from bruvzg/get_model_name
Implement `get_model_name` on macOS and Windows.
2024-11-12 09:27:52 +07:00
Thaddeus Crews e66d9988a6
Merge pull request #95774 from Mickeon/documentation-miscellaneous-oddities
Fix miscellaneous oddities around the class reference
2024-11-12 09:27:47 +07:00
Thaddeus Crews 47e7fb4406
Merge pull request #98587 from skyace65/SurroundingCells
Improve `TileMapLayer` get surrounding cells description
2024-11-12 09:27:46 +07:00
Thaddeus Crews 04f33894f5
Merge pull request #97041 from aXu-AP/script-highlight-scene
Highlight scripts used by current scene
2024-11-12 09:27:39 +07:00
Thaddeus Crews 6d08005ddb
Merge pull request #95758 from Mickeon/documentation-no-differences-String
Fix differences between String and StringName's documentation
2024-11-12 09:27:36 +07:00
Thaddeus Crews 9995c3eedd
Merge pull request #98446 from TokageItLab/look-at-modifier
Implement LookAtModifier3D
2024-11-12 09:27:35 +07:00
Thaddeus Crews 3e7d68da46
Merge pull request #98948 from Meorge/docs-clip-children
Add note to `CanvasItem.clip_children` about nesting
2024-11-12 09:27:31 +07:00
Thaddeus Crews 930079740f
Merge pull request #99075 from PhairZ/fix-transform3d-docs
Update `Transform3D.rotated_local()` description
2024-11-12 09:27:30 +07:00
Pablo Andres Fuente eb86670f94 Add half precision floating point support to `StreamPeer`
Closes godotengine/godot-proposals#5983

Adds put/get methods to `StreamPeer` that handles half precision
floating point values.
Adds endode/decode half precision floating point to `marshalls`.
Adds `get_half` and `store_half` to `FileAccess`

Co-Authored-By: "Alfonso J. Ramos" <theraot@gmail.com>
2024-11-12 08:46:52 +07:00
Pāvels Nadtočajevs a6dfd1cf6e Implement `get_model_name` on macOS and Windows. 2024-11-12 10:34:24 +07:00
Jayden Sipe 722d932466 Expose toast notification methods 2024-11-11 19:39:33 +07:00
Malcolm Anderson 0304f8fd57 Update docs for `Tween.stop` to clarify behavior
Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Updated wording in comments to be more concise
2024-11-11 16:34:45 +07:00
Micky f789025d42 Add documentation note on Object's boolean context 2024-11-11 22:21:59 +07:00
David Rautert ea2ea58a28
Add note about alpha channels blending to `Image.blit_rect` 2024-11-11 21:24:14 +07:00
Micky 0c2296fb1b Fix C# boolean "Prints" comments in documentation 2024-11-11 21:19:34 +07:00
Thaddeus Crews a07fea1e93
Merge pull request #97906 from Calinou/doc-fileaccess-non-resource-export
Document non-resource file handling in FileAccess and ResourceLoader
2024-11-11 14:18:39 +07:00
Thaddeus Crews 87cf530bcf
Merge pull request #98282 from cadence-s/doc-fix-remote-debug-host
Fix documentation tip for `network/debug/remote_host` editor setting
2024-11-11 14:18:37 +07:00
Thaddeus Crews e964811682
Merge pull request #99038 from Mickeon/documentation-truth-and-bold
Fix `true` being surrounded by `[b]` tags in documentation
2024-11-11 14:18:35 +07:00
Thaddeus Crews a5873ff1e8
Merge pull request #99031 from Mickeon/white-space-jumpscare
Trim a few no-break and zero-width spaces from codebase
2024-11-11 14:18:31 +07:00
Thaddeus Crews c8ff788052
Merge pull request #96590 from reduz/list-directory
Provide a reliable way to see original resources in a directory
2024-11-11 14:18:28 +07:00
Thaddeus Crews d76fbb7a40
Merge pull request #97356 from reduz/pck-file-removal
Add ability for PCK patches to remove files
2024-11-11 14:18:27 +07:00
Thaddeus Crews 3ee0c0a76e
Merge pull request #97609 from Manik2607/master
Add missing descriptions to `PhysicalBone3D` class.
2024-11-11 14:18:26 +07:00
Thaddeus Crews 2430b7f9b4
Merge pull request #97352 from reduz/uids-everywhere
Universalize UID support in all resource types
2024-11-11 14:18:25 +07:00
Thaddeus Crews 85c5a4f058
Merge pull request #98499 from tetrapod00/docs-dotnet-constructor-differences
Docs: Add notes about C# differences in Variant constructors
2024-11-11 14:18:22 +07:00
Thaddeus Crews 80345758ff
Merge pull request #96188 from Khusheete/tilemaplayer-cell-update
Add a way to know when a TileMapLayer's cell is modified
2024-11-11 14:18:17 +07:00
Thaddeus Crews 4b447ec4e5
Merge pull request #85430 from Calinou/os-expose-rendering-driver-method
Expose RenderingServer methods to get rendering driver and method name
2024-11-11 14:18:10 +07:00
Thaddeus Crews 4e7cf69e6e
Merge pull request #98738 from clayjohn/DOC-default-texture-filter
Clarify in default texture repeat and filter docs that they only impact the built in texture
2024-11-11 14:18:09 +07:00
Thaddeus Crews 360f42c281
Merge pull request #98859 from ydeltastar/method-selector
Make the method selector dialog available via `EditorInterface`
2024-11-11 14:18:08 +07:00
Thaddeus Crews 3945635142
Merge pull request #95396 from Calinou/doc-cubemap-import-templates
Add template images to the Cubemap class documentation
2024-11-11 14:18:06 +07:00
Thaddeus Crews 30d87229ed
Merge pull request #82845 from Hysterelius/master
Color: Expose OKHSL properties
2024-11-11 14:18:04 +07:00
Thaddeus Crews 869e059f07
Merge pull request #98074 from YeldhamDev/stop_moving_will_ya
Add a pin toggle to prevent involuntary bottom editor switching
2024-11-11 14:18:02 +07:00
Thaddeus Crews 0d47b84f63
Merge pull request #98585 from skyace65/CharFX
Remove link to outdated CharFX example project
2024-11-11 14:18:01 +07:00
Thaddeus Crews 2cf5461b7d
Merge pull request #94092 from allenwp/editor-export-plugin-docs-94045
`EditorExportPlugin` docs: Workaround for customized texture behavior
2024-11-11 14:17:58 +07:00
Thaddeus Crews ed3de25a9a
Merge pull request #97415 from YeldhamDev/i_love_all_my_properties_equally
Make possible to favorite properties in the inspector
2024-11-11 14:17:57 +07:00
Silc Lizard (Tokage) Renew 6fc061b4fe Implement LookAtModifier3D 2024-11-12 05:03:35 +07:00
Malcolm Anderson 47be06b6ea Update `Tween.set_ease` and `Tween.set_trans` to reflect that they only apply to later `Tweener`s
Update doc/classes/Tween.xml

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

Update doc/classes/Tween.xml

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

Fix whitespace issue

Remove an unnecessary linebreak

Update doc/classes/Tween.xml

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

Fixed `set_trans` wording to match `set_ease` and removed static typing from examples
2024-11-11 11:43:45 +07:00
Hysterelius 2126df2dfd
Color: Expose OKHSL properties 2024-11-11 20:41:57 +07:00
Silc Lizard (Tokage) Renew 0c1f970adb Add advance_on_start option to NodeAnimation 2024-11-12 04:40:15 +07:00
FlooferLand! 22caab0248
Add note about LightmapGI only baking nodes under its parent
`LightmapGI`'s documentation currently doesn't mention the fact it only bakes nodes under its parent.
This can make the user think there is something wrong with their scene setup or 3D models, as it refuses to bake when the user's models / world isn't under the same parent as the `LightmapGI`.
2024-11-11 18:36:58 +07:00
Juan 2ac562cdf8 Add ability for PCK patches to remove files
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2024-11-11 16:34:37 +07:00
Michael Alexsander bb07b2d619
Add a lock toggle to prevent involuntary bottom editor switching 2024-11-11 12:09:57 +07:00
PhairZ 9bf97b9582 Update [code]Transform3D.rotated_local()[/code] description
fixes #97799
2024-11-11 17:02:30 +07:00
Juan d57846087b
Universalize UID support in all resource types
Ensures all resource types support UIDs in a project.

This is required to fix:
* Scripts and many other resource types can't be referenced by UID and when refactored the references are lost.
* Path export properties can't use UID for unsupported types.
* Refactoring problems when files are moved outside the editor (this PR effectively fixes it).
* Editor properly refreshing paths if they changed externally while opened (as example, git update).
  This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites.

Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
2024-11-11 15:59:56 +07:00
Souchet Ferdinand d92f5e5799
Add `TileMapLayer._update_cells` virtual callback called when the TileMapLayer's cells are updated
Made `_update_cells` a hook into the `TileMapLayer`'s internal update
2024-11-11 13:29:38 +07:00
yds 9db8b0e333 Make the method selector dialog available via EditorInterface 2024-11-11 08:36:02 +07:00
Micky 932b1c434c Clean up more `[b]Example:[/b]` lines from the class reference 2024-11-11 12:05:34 +07:00
tetrapod00 c6cfed44e4 Docs: Update AStar3D examples 2024-11-10 14:19:14 +07:00
Micky 05745aaa4b Fix `true` being surrounded by `[b]` tags in documentation 2024-11-10 22:11:48 +07:00
Thaddeus Crews e7867a7c8e
Merge pull request #97917 from TheYellowArchitect/patch-1
Remove note about missing per-vertex-shading
2024-11-10 12:13:08 +07:00
Thaddeus Crews 6bbc1cb6a9
Merge pull request #98036 from bruvzg/para_btn_spacing
[TextParagraph/Button] Add support for line spacing.
2024-11-10 12:13:03 +07:00
Thaddeus Crews 63838c936c
Merge pull request #98278 from a-johnston/fuzzy-search-rebase
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 +07:00
Thaddeus Crews b0a8540775
Merge pull request #98782 from tetrapod00/docs-tilemap-deprecation
Docs: Update TileSet to reference TileMapLayer instead of TileMap
2024-11-10 12:12:52 +07:00
Thaddeus Crews 4f416378a5
Merge pull request #98773 from KeyboardDanni/tileset_collision_priority
Add collision priority property to TileSet physics layers
2024-11-10 12:12:49 +07:00
Thaddeus Crews f07f7e6e35
Merge pull request #98769 from arkology/timer_tool_autostart
Document Timer autostart in tool scripts
2024-11-10 12:12:48 +07:00
Thaddeus Crews 33ad26dad5
Merge pull request #98748 from tetrapod00/fix-aabb-docs
Docs: Fix AABB is_finite() and is_equal_approx()
2024-11-10 12:12:41 +07:00
Thaddeus Crews da01ffc312
Merge pull request #98742 from yahkr/fix-docs
[Editor] Fix EditorSettings.xml docs for "ask_before_revoking_unique_name"
2024-11-10 12:12:38 +07:00
Thaddeus Crews e2a7d510f0
Merge pull request #98966 from Dr-helicopter/master
Fix `engine_type_colors`'s description
2024-11-10 12:12:28 +07:00
Micky 1ffe8bb191 Trim a few no-break and zero-width spaces from codebase 2024-11-10 19:04:32 +07:00
Malcolm Anderson ae9f2bd9df Add note to `CanvasItem.clip_children` about nesting
Add CanvasGroup information to clipping note
2024-11-10 09:51:57 +07:00
Emanuil Chizhov 5516088c51
Add examples to PacketPeerUDP class documentation.
Add examples for sending packets and listening for packets.

Fix documentation indentation.

Change tabs to spaced for codeblocks.

Fix typos

Remove typing in documentation code

Add a blank line to comply with style guidelines

Fix blank line to contain tabs

Remove tabs from empty code lines

Commit suggested changes by Mickeon

Use correct syntax for >
2024-11-10 18:34:29 +07:00
Silc Lizard (Tokage) Renew 761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +07:00
Micky 5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +07:00
Dr_helicopter b04369e4e3 Fix engine_type_colors's description
in editor>editor settings>Text Editor>Theme, if you hover hover over "Engine Type Color", it has "Vector2", "Vector3"and "Color" as example but these are not Engine types. and their color is controlled by the "Base Type Color" setting. I discovered this while trying to customize my editor a bit more.
2024-11-09 12:40:18 +07:00
Thaddeus Crews 9b23b202ae
Merge pull request #98873 from girdenis-p/shadowed-variable-warning
Fix analyzer pushing `SHADOWED_VARIABLE` warning for members shadowed in subclass
2024-11-07 12:36:33 +07:00
Thaddeus Crews 8d03a463b3
Merge pull request #98899 from Calinou/doc-resourceloader-load-threaded-get-status
Clarify `ResourceLoader.load_threaded_get_status()` completion ratio description
2024-11-07 12:36:30 +07:00
Thaddeus Crews 671d6e3230
Merge pull request #98150 from hunterloftis/fix-default-import-threaded
Fix freeze on non-thread-safe custom importers
2024-11-07 12:36:20 +07:00
Hugo Locurcio 44b2c4e00d
Clarify `ResourceLoader.load_threaded_get_status()` completion ratio description 2024-11-06 16:53:18 +07:00
girdenis-p 413490c270 Fix analyzer pushing SHADOWED_VARIABLE warning for members shadowed in subclasses
This fixes a bug in the analyzer where it did not push the SHADOWED_VARIABLE_BASE_CLASS
warning for members shadowed by variable in subclass. It does this by comparing the class
which contains the shadowed member with the class containing the variable, and pushing
SHADOWED_VARIABLE only if the classes are the same. Additionally, SHADOWED_VARIABLE_BASE_CLASS
can take an extra symbol which helps to specify the line for non native base class.
2024-11-06 15:04:14 +07:00
bruvzg 76164c2aa9
[OS] Add functions to determine standard I/O device type. 2024-11-06 13:33:38 +07:00
Thaddeus Crews 0976c6a1a6
Merge pull request #98828 from tetrapod00/docs-springarm-link
Docs: Add link to SpringArm3D tutorial
2024-11-05 18:36:11 +07:00
clayjohn fa4f701e0e Clarify in default texture repeat and filter docs that they only impact the built in texture 2024-11-05 12:14:09 +07:00
aXu-AP f168d0c80f Highlight scripts used by current scene 2024-11-05 17:10:02 +07:00
Thaddeus Crews 7d950c1567
Merge pull request #98712 from syntaxerror247/android_accent_color
[Android] Implement support for accent color retrieval
2024-11-04 21:52:04 +07:00
Thaddeus Crews 11b90086b7
Merge pull request #96705 from elmajime/camera_from_external_feed
Add support for external camera feed from external plugin on Android
2024-11-04 21:51:50 +07:00
Danil Alexeev e379cc76e5
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data 2024-11-04 22:41:56 +07:00
tetrapod00 742fdf9a92 Docs: Add link to SpringArm tutorial 2024-11-04 11:19:25 +07:00
tetrapod00 e3999c00ff Docs: Update TileSet to reference TileMapLayer instead of TileMap 2024-11-04 09:14:35 +07:00
arkology d000d3b101 Document Timer autostart in tool scripts 2024-11-03 11:08:19 +07:00
Danni 3d132076b2 Add collision priority property to TileSet physics layers 2024-11-02 15:37:49 +07:00
ocean (they/them) 6c65213487 Extend `Curve` to allow for arbitrary domains 2024-11-02 08:25:40 +07:00
tetrapod00 ba30a8707a Docs: Fix AABB is_finite() and is_equal_approx() 2024-11-01 18:04:16 +07:00
yahkr 4d41b455ba [Editor] Fix EditorSettings.xml docs for "ask_before_revoking_unique_name" 2024-11-01 19:31:07 +07:00
Anish Mishra 7b866f302f [Android] Implement support for accent color retrieval 2024-11-01 16:19:09 +07:00
bruvzg e81a2afbc4
[TextServer] Reset subpixel shift on blank glyphs and import option to enable/disable it. 2024-11-01 10:18:57 +07:00
Thaddeus Crews c6c464cf9a
Merge pull request #98679 from Bromeon/qol/rename-static-call
Rename `ClassDB::class_call_static_method` -> `class_call_static`
2024-10-31 20:14:44 +07:00
Thaddeus Crews be70c2f873
Merge pull request #98350 from syntaxerror247/android-native-filepicker
[Android] Implement native file picker support
2024-10-31 20:14:41 +07:00
Thaddeus Crews 194ddfd0c4
Merge pull request #97257 from YeldhamDev/guess_godot_is_unity_after_all
Add "Game" editor for better runtime debugging
2024-10-31 20:14:34 +07:00
Clay John 7187c251da
Merge pull request #98620 from zeux/lodgen-cleanup
LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
2024-10-30 17:13:57 +07:00
Jan Haller a025ceddc0 Rename ClassDB::class_call_static_method -> class_call_static 2024-10-30 19:07:28 +07:00
maxime.chambefort 6f846eb5c5 Added external camera feed from external plugin on Android 2024-10-30 18:30:28 +07:00
Michael Alexsander 16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 +07:00
Anish Mishra b2130efb31 [Android] Implement native file picker support 2024-10-30 14:53:02 +07:00
Anish Mishra 0dfd18c84b [DisplayServer] Add feature flag for native file dialog access to `user/res` and `options` 2024-10-30 14:13:43 +07:00
Thaddeus Crews 598cfbdfd6
Merge pull request #97020 from GuilhermeGSousa/fix-non-const-anim-node-process
Fix non const animation node `_process` virtual function
2024-10-29 19:26:00 +07:00
Thaddeus Crews 6d09a20c82
Merge pull request #97247 from thimenesup/draw_indirect_rd
Add draw indirect to Rendering Device
2024-10-29 19:25:57 +07:00
Thaddeus Crews a8931f1aa9
Merge pull request #98652 from stuartcarnie/2d_texture_state_fixes
2D: Fix various issues and minor performance optimisations
2024-10-29 19:25:54 +07:00
Thaddeus Crews 3de789ec80
Merge pull request #98523 from MichaelMacha/patch-2
Fix typo in `OccluderInstance3D` documentation
2024-10-29 19:25:53 +07:00
Thaddeus Crews 7c7de0e889
Merge pull request #98265 from syntaxerror247/patch-2
Improve `_begin_customize_scenes` description
2024-10-29 19:25:52 +07:00
Thaddeus Crews 73830b3c12
Merge pull request #88628 from bruvzg/i_have_no_idea_what_im_doing
[macOS/iOS] Use hardware sampling rates for audio I/O.
2024-10-29 19:25:47 +07:00
Thaddeus Crews b8f626a0e1
Merge pull request #65962 from 4d49/format-object
Add `Object` support for `String.format`
2024-10-29 19:25:45 +07:00
Thaddeus Crews 4fb1700d03
Merge pull request #98081 from ArjhanToteck/patch-1
Fix grammar mistake in Shortcut documentation
2024-10-29 19:25:43 +07:00
Thaddeus Crews 08d8909a65
Merge pull request #98574 from syntaxerror247/android_input_dialog
[Android] Implement native input dialog support
2024-10-29 19:25:37 +07:00
yds e6eeaf28df Add editor setting to stop the bottom panel from switching to the stack trace 2024-10-29 19:50:13 +07:00
Stuart Carnie 0d1d945727
2D: Fix various issues and minor performance optimisations 2024-10-30 08:36:45 +07:00
Mansur Isaev 98c89f17c4 Add `Object` support for `String.format` 2024-10-29 22:27:33 +07:00
Clay John 748f4079e3
Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebased
Add Swappy & Pre-Transformed Swapchain
2024-10-29 12:34:40 +07:00
thimenesup d36a872432 Add draw indirect to Rendering Device 2024-10-29 17:40:28 +07:00
Anish Mishra be5d7f757d [Android] Implement native input dialog support 2024-10-29 20:02:08 +07:00
Michael Alexsander d678b095f9
Make possible to favorite properties in the inspector 2024-10-28 21:18:21 +07:00
Matias N. Goldberg aaa0e2fddf Add Swappy & Pre-Transformed Swapchain
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)

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

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

Changes from original PR:

- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 +07:00
Adam Johnston 3ac043c508 Add fuzzy string matching to quick open search
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 +07:00
Arseny Kapoulkine 494fe2fe21 LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
"Raycast Normals" was introduced in 4.4 dev and defaulted to "false".
The limited testing results at the time suggested that raycasting
generally reduces normal quality compared to native simplifier results,
at the same time increasing vertex memory and import time.

To play it safe, we introduced a setting that defaulted to false, with
the goal of removing it later in 4.4 development cycle if no regressions
are noticed. Since we already had three dev snapshots and no reports,
this change removes the setting and associated code.

"Normal Split Angle" was only used when raycast normals were enabled;
this change removes it from the settings, but keeps it in the script
binding for compatibility.

Existing meshes import exactly the same after this change (unless they
chose to override raycasting which would be surprising).

split_normals helper was only used in this code path and is also removed
for simplicity; it is unlikely that this code will be useful as is, as
it can only regenerate normals without fixing tangents or updating
positions.
2024-10-28 10:14:04 +07:00
Clay John a3080477ac
Merge pull request #98281 from timothyqiu/custom-tooltip-atm
Don't override auto translate mode of custom tooltip
2024-10-27 19:25:37 +07:00
ArjhanToteck eb761d83cb
Fix grammar mistake in Shortcut documentation 2024-10-27 14:39:57 +07:00
tetrapod00 c51cdaf006 Docs: Add note about C# differences in Variant constructors 2024-10-27 13:24:26 +07:00
skyace65 b16888286b Improve get surrounding cells description 2024-10-27 14:28:42 +07:00
skyace65 fdfd37f1a4 Remove link to outdated CharFX example project 2024-10-27 14:03:33 +07:00
kobewi db70cf2585 Mention native file dialogs editor setting in EditorFileDialog description 2024-10-26 22:20:11 +07:00
Guilherme Sousa ec62978dd0 Fix non const animation node process function 2024-10-26 17:56:51 +07:00
Thaddeus Crews 15bec19e11
Merge pull request #98421 from Calinou/doc-backbuffercopy-screen-reading-shaders-tutorial
Link to Screen-reading shaders tutorial in BackBufferCopy documentation
2024-10-25 13:04:11 +07:00
Thaddeus Crews 07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 +07:00
Thaddeus Crews 02088ab44c
Merge pull request #74714 from dalexeev/expose-bresenham-line
Expose `Geometry2D.bresenham_line()` method
2024-10-25 13:04:05 +07:00
Thaddeus Crews a2e3473532
Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 +07:00
Thaddeus Crews 422535ee86
Merge pull request #97966 from mh114/mh114-fix-control-doc-typo
Fix a documentation typo in `Control._drop_data()` C#-example.
2024-10-25 13:03:56 +07:00
Thaddeus Crews eb18b0dee2
Merge pull request #98332 from syntaxerror247/Improve-HttpRequest-Docs
Add missing `HTTPRequest` Result descriptions.
2024-10-25 13:03:51 +07:00
Thaddeus Crews de6814daae
Merge pull request #94108 from Calinou/obj-import-add-generate-lods-shadow-mesh-lightmap-uv2
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
2024-10-25 13:03:50 +07:00
Thaddeus Crews 1f346a5dcd
Merge pull request #98435 from Calinou/audio-add-get-driver-name
Add `AudioServer.get_driver_name()` to get the actual audio driver name
2024-10-25 13:03:41 +07:00
bruvzg c8609f4c0f
[macOS/iOS] Use hardware sampling rates for audio I/O. 2024-10-25 19:26:24 +07:00
Michael Macha 9e51379cbb
Update OccluderInstance3D.xml
Corrected a typo; "Debug Advanced" should be "Display Advanced".
2024-10-25 09:08:38 +07:00
Haoyu Qiu 6424b201e2 Don't override auto translate mode of custom tooltip 2024-10-25 16:13:45 +07:00
Danil Alexeev 9f0ae21095
Expose `Geometry2D.bresenham_line()` method
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-10-25 10:27:55 +07:00
Clay John 67dbb46606
Merge pull request #98480 from tetrapod00/link-project-settings-tutorial
Docs: Link to Project Settings tutorial from ProjectSettings class
2024-10-24 18:40:42 +07:00
Hugo Locurcio b8ee61f45d
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
This puts OBJ mesh import on parity with 3D scene import. It's now
possible to have the same level of optimization as imported 3D scenes
while using the OBJ mesh workflow.

`optimize_indices_for_cache()` is now always called on import as well,
similar to what the 3D scene import already does.
2024-10-25 02:48:42 +07:00
Thaddeus Crews c278d57233
Merge pull request #98427 from syntaxerror247/document-immersive-mode
Add documentation for Android immersive mode
2024-10-24 13:23:05 +07:00
Thaddeus Crews cfc05c5e0f
Merge pull request #85338 from EMBYRDEV/shadow-caster-mask
Add `shadow_caster_mask` to Light3D.
2024-10-24 13:22:59 +07:00
Thaddeus Crews f25c082c40
Merge pull request #98490 from KoBeWi/pointer_to_canvas
Improve `make_canvas_position_local()` description
2024-10-24 13:22:52 +07:00
Thaddeus Crews 28f56eb1c7
Merge pull request #98473 from tetrapod00/str-docs
Docs: Link to GlobalScope string methods from String class ref
2024-10-24 13:22:47 +07:00
Thaddeus Crews e2bd0a8298
Merge pull request #98458 from KoBeWi/don't_repeat_the_same_mistakes
Clarify tiling of AtlasTexture
2024-10-24 13:22:46 +07:00
Thaddeus Crews ff5e2d7db1
Merge pull request #98455 from betalars/audio-doc-enhancements
AudioEffects documentation enhancements
2024-10-24 13:22:41 +07:00
Thaddeus Crews 8c52533aed
Merge pull request #86539 from stechyo/gdext/expose-audio-playback-methods
Expose some AudioStreamPlayback methods (namely `mix_audio()`).
2024-10-24 13:22:35 +07:00
Thaddeus Crews ab4de57904
Merge pull request #98438 from BrianBHuynh/master
Document the differences between GDScript and GlobalScope
2024-10-24 13:22:33 +07:00
Thaddeus Crews 444ee64062
Merge pull request #98304 from timothyqiu/menu-only-shortcut-keys
Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items
2024-10-24 13:22:32 +07:00
betalars 1be2f8c535 AudioEffectFilter and StereoEnhance: Documentation improvements 2024-10-24 15:15:52 +07:00
kobewi e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +07:00
tetrapod00 8f7e8c59ff Docs: Link to Project Settings tutorial from ProjectSettings class 2024-10-23 20:51:20 +07:00
tetrapod00 a0134ad375 Docs: link to GlobalScope string methods from String docs 2024-10-23 14:07:27 +07:00
kobewi 3ebac9006b Clarify tiling of AtlasTexture 2024-10-23 23:03:19 +07:00
Brian Huynh 360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

In general there are small changes to the wording which makes it more clear and concise.
Wording change

Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"

Changed language from "not specific to" to "which work in any language"

After consulting multiple people the new wording seems easier to parse, even for non coders

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 +07:00
tetrapod00 9cf6cb010e Fix incorrect Transform2D docs
The y vector of a transform 2d was incorrectly described as pointing up.
2024-10-22 17:16:39 +07:00
Hugo Locurcio 77c31b9cc8
Add `AudioServer.get_driver_name()` to get the actual audio driver name
The project setting does not reflect CLI argument overrides
(including `--headless` which sets the audio driver to `Dummy`),
so it can't be reliably used to detect which audio driver is
actually being used at run-time.
2024-10-22 23:14:59 +07:00
Anish Mishra 827961e4e5 Update documentation for Android immersive mode 2024-10-22 22:55:43 +07:00
Hugo Locurcio 2cd007fa4a Clarify `TextEdit.is_caret_visible()` behavior in the class reference 2024-10-22 16:48:58 +07:00
Hugo Locurcio 34f5d018f1 Link to Screen-reading shaders tutorial in BackBufferCopy documentation 2024-10-22 16:38:24 +07:00
Thaddeus Crews 22822f71ac
Merge pull request #97905 from 0x53A/patch-1
Update Node.xml: specify that normal processing happens in tree order
2024-10-21 16:39:27 +07:00
Thaddeus Crews 7dbea98c49
Merge pull request #97005 from Repiteo/core/window-corner-style
Core: Add `DisplayServer` flag for sharp corners
2024-10-21 16:39:25 +07:00
Thaddeus Crews 8b5c20e2b0
Merge pull request #98283 from tetrapod00/canvasmodulate-link
Docs: Add link to 2D lights and shadows from CanvasModulate
2024-10-21 16:39:24 +07:00
Thaddeus Crews 77da16ce69
Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 +07:00
Thaddeus Crews 7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 +07:00
Thaddeus Crews 4ce5235fbd
Merge pull request #98203 from timothyqiu/layout-dir-created-equal
Add System Locale layout direction for `Control` and `Window`
2024-10-21 16:39:07 +07:00
Danil Alexeev be41e6f84e
Clarify `EngineDebugger` and `EditorDebugger*` documentation 2024-10-21 11:36:59 +07:00
Lukas Rieger 5c65f80199 Update Node.xml: specify that normal processing happens in tree order 2024-10-20 18:41:54 +07:00
tetrapod00 2191df0cea VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node 2024-10-19 12:18:34 +07:00
Anish Mishra 8baaa2dd5a Add missing HTTPRequest Result descriptions. 2024-10-19 14:22:56 +07:00
Haoyu Qiu fc7dd35d78 Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items 2024-10-19 00:49:07 +07:00
Thaddeus Crews f8c4a683d7
Core: Add `DisplayServer` flag for sharp corners 2024-10-18 11:20:21 +07:00
tetrapod00 4b37fb3f88 Docs: Add link to 2D lights and shadows from CanvasModulate 2024-10-17 19:53:41 +07:00
Cadence 06dafc9a1a Fix documentation tip for network/debug/remote_host editor setting 2024-10-17 22:29:06 +07:00
Clay John cdf45f73ab
Merge pull request #96893 from tetrapod00/docs-crosslink-antialiasing
Docs: Add cross-links to antialiasing project settings
2024-10-17 16:54:19 +07:00
TheYellowArchitect e994c49a40 Remove note about missing per-vertex-shading 2024-10-18 00:00:20 +07:00
Anish Mishra 9d25cf76f2 Improve `_begin_customize_scenes` description 2024-10-17 20:36:32 +07:00
DevPoodle a0829dcc3a Add descriptions to RDTextureFormat's methods 2024-10-17 07:46:40 +07:00
Haoyu Qiu 009446a277 Add System Locale layout direction for Control and Window 2024-10-17 07:52:07 +07:00
David Giardi ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +07:00
Thaddeus Crews 04692d83cb
Merge pull request #98238 from timothyqiu/not-append
Fix wording in description of `store_line` and `store_string`
2024-10-16 14:16:05 +07:00
Haoyu Qiu e7e0e65159 Fix wording in description of `store_line` and `store_string` 2024-10-16 23:41:50 +07:00
Anish Mishra 7ee72d2f81 Update use_native_dialog description in FileDialog 2024-10-16 15:33:47 +07:00
Hunter Loftis bbb8c1703b Fix freeze on non-thread-safe custom importers 2024-10-15 11:46:14 +07:00
Thaddeus Crews a1e768c508
Merge pull request #97295 from BlueCube3310/betsy-bc4
Betsy: Implement BC4 compression
2024-10-14 14:09:56 +07:00
Thaddeus Crews 5c00d0a54e
Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 +07:00
bruvzg 0d7027ea4c
Add support for 24-bit color escape sequences, simplify `print_rich` BBCode parsing. 2024-10-13 22:31:57 +07:00
Danil Alexeev cab80cb97d
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments 2024-10-13 11:40:11 +07:00
Thaddeus Crews cc3542e675
Merge pull request #97835 from krm01/typo-docs-packedvector2array
Fix small typo on PackedVector2Array docs
2024-10-10 18:13:19 +07:00
bruvzg 309712551c
[TextParagraph/Button] Add support for line spacing. 2024-10-10 12:49:24 +07:00
tetrapod00 12d2c05936 Add "Inspect Native Shader Code" to shader resource and shader editor 2024-10-08 11:02:45 +07:00
Matt Enad 22b220b6a4 Restore `Godot` preset zoom modifier 2024-10-08 14:01:54 +07:00
Mika Halttunen 1a2c574200
Fixed a documentation typo in Control._drop_data() C#-example. 2024-10-08 14:01:59 +07:00
bruvzg 7ed90a4f07
[RTL] Add support for vertical alignment. 2024-10-08 09:58:54 +07:00
manik2607 16fba6b0ff Add missing descriptions to PhysicalBone3D class 2024-10-08 00:17:54 +07:00
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 +07:00
Thomas ten Cate 7df2804a30 Clarify that fog_aerial_perspective does not actually use sky color
See #97803.
2024-10-07 09:09:09 +07:00
Hugo Locurcio f8cc67e175 Document non-resource file handling in FileAccess and ResourceLoader 2024-10-07 01:53:49 +07: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 +07:00
kobewi a4d724b37c Unify particle editors 2024-10-04 22:36:12 +07:00
David Snopek 256699ee31 OpenXR: Add support for Wayland on Linux 2024-10-04 11:44:05 +07: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 +07:00
yds 35b3999efc Make the "Quick Open" dialog available via EditorInterface 2024-10-04 11:36:17 +07:00
Mounir Tohami f84f734696 Expose `LineEdit` `edit` and `unedit` methods. 2024-10-04 10:37:33 +07: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 +07: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 +07:00
Rémi Verschelde 05b519fafb
Merge pull request #96230 from timothyqiu/per-domain-pseudolocalization
Move pseudolocalization into `TranslationDomain`
2024-10-04 11:21:18 +07: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 +07: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 +07: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 +07: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 +07:00
Gamemap 1e1dbd8e3a Add `Auto width` behavior to ItemList
Co-authored-by: Craig Hupin <althar93@hotmail.com>
2024-10-04 08:43:13 +07: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 +07: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 +07: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 +07:00
bruvzg 25f439c573
[DisplayServer] Implement has_hardware_keyboard method for Android and iOS. 2024-10-02 20:09:48 +07:00
Hugo Locurcio 83dac9cdb8
Document `Object.has_signal()` in the Signal class reference 2024-10-02 16:36:19 +07: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 +07: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 +07: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 +07:00
Rémi Verschelde cbff25096b
Merge pull request #97638 from mhilbrunner/fix-duplicate-words
Docs: remove duplicate words
2024-10-01 17:31:28 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Rémi Verschelde 8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +07:00
Brandon Chang e0957c2fa3
Consolidate remembering window settings into single config 2024-10-01 16:35:36 +07:00
Haoyu Qiu 3c365a7fa5 Add auto translate mode for cells in Tree 2024-10-01 21:24:10 +07:00
Roman Morozov d532eecc81 Changed the default deadzone value for new actions from 0.5 to 0.2 2024-10-01 16:47:44 +07: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 +07:00
Max Hilbrunner a6997d37cc Docs: remove duplicate words 2024-09-30 12:21:30 +07: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 +07:00
chocola-mint ed13a840fa Add markers to animation 2024-09-29 17:27:36 +07:00
Rémi Verschelde 99aec99421
Merge pull request #97534 from j20001970/camerafeed-setter
Expose CameraFeed setters
2024-09-29 00:47:09 +07: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 +07: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 +07: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 +07: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 +07:00
Jason Kuo 38d7ec1640 Expose CameraFeed setters 2024-09-27 20:07:36 +07: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 +07: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 +07:00
Haoyu Qiu 76691afd94 Improve documentation of some ItemList signals 2024-09-27 16:19:40 +07:00
aryan-11825114 b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +07:00
Haoyu Qiu 0101317d46 Add auto translate mode for items in `ItemList` 2024-09-27 10:52:04 +07:00
bruvzg e63c858722
[Docs] Adds notes about glyph contour decomposition format. 2024-09-27 01:01:10 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Haoyu Qiu 78801f61da Add auto translate mode for tooltips 2024-09-26 22:31:22 +07: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 +07: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 +07:00
Haoyu Qiu 6a7183119f Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabled 2024-09-26 08:05:10 +07:00
Hugo Locurcio b3d413d4b4
Clarify when LineEdit's `text_submitted` signal is emitted 2024-09-25 22:48:35 +07:00
Mikael Hermansson d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +07:00
Rémi Verschelde 70fede82c5
Merge pull request #93324 from tracefree/reinhard-fix
Fix incorrect Reinhard tonemap operator
2024-09-25 12:39:06 +07:00
Rie 5efa6ba489
Fix incorrect Reinhard tonemap operator 2024-09-25 12:34:23 +07:00
Paweł b88585abfc Add linux camera support 2024-09-25 12:08:06 +07: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 +07:00
Rémi Verschelde 63d16a9bc3
Merge pull request #97357 from Manik2607/master
Refactor signal documentation to improve clarity.
2024-09-24 12:57:12 +07:00
Adriaan de Jongh 9b474e3a8e doc: clarify CanvasItem's visibility signal descriptions 2024-09-24 08:31:51 +07:00
kit efe5cd29d9 Fix SplitContainer collapsed documentation 2024-09-23 13:33:00 +07:00
manik2607 011954fea3 Refactor signal documentation to improve clarity 2024-09-23 22:58:06 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07:00
DevPoodle bd69df1379 Add descriptions to RDVertexAttribute's properties 2024-09-23 05:40:08 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Adriaan de Jongh 330f91d32b clarify CanvasItem's visible property, and its visibility_changed and hidden signals 2024-09-23 12:11:38 +07: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 +07:00
Giganzo 388869574c
Clarify docs for when toggling `button_pressed` emits `toggled` 2024-09-23 09:32:02 +07:00
biswas08433 1536f5ec79
Clarify transform data ordering in RenderingServer.multimesh_set_buffer 2024-09-23 09:29:20 +07:00
Chris Cranford bc3dcf3d40 Expose several resource/resource-saver functions 2024-09-22 15:27:13 +07: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 +07:00
BlueCube3310 95fd45d9a5 Betsy: Implement BC4 compression 2024-09-22 10:16:37 +07: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 +07:00
kobewi 866c50a926 Add submenu support to EditorContextMenuPlugin 2024-09-21 20:16:45 +07:00
Haoyu Qiu b7416bf693 Document `OptimizedTranslation.generate()` only works in editor 2024-09-21 23:20:05 +07:00
Haoyu Qiu cca54ba4db Move pseudolocalization into TranslationDomain
Also adds command-line option `--editor-pseudolocalization`
2024-09-21 18:28:12 +07:00
Rémi Verschelde d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +07: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 +07: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 +07: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 +07:00
Rémi Verschelde 2be730a05b
Merge pull request #97231 from timothyqiu/missing-period
Add missing period for sentences in classref
2024-09-20 16:26:35 +07: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 +07: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 +07:00
Rémi Verschelde 93150ffab8
Merge pull request #97202 from jirisvd/fix-typo
Fix typo in CompositorEffect documentation
2024-09-20 16:06:49 +07: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 +07: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 +07:00
Rémi Verschelde 330cb45c5a
Merge pull request #96981 from ItzCog/patch-1
Change "deconstructor" to "destructor"
2024-09-20 16:06:31 +07:00
Rémi Verschelde 7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +07: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 +07:00
Dungeon Master d33f4820cd
Change "deconstructor" to "destructor" in `NOTIFICATION_PREDELETE` docs 2024-09-20 15:49:03 +07:00
Haoyu Qiu 9e1121a18c Add missing period for sentences in classref 2024-09-20 19:33:32 +07:00
SheepYhangCN 3b839347df Added fallback_to_opengl3 2024-09-20 06:10:05 +07: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 +07:00
Jiří Švejda c4bea28e17 Fix typo in CompositorEffect documentation 2024-09-19 22:26:23 +07:00
ev13bird e2b25cfc0d Fix minor typo in EditorPlugin remove_inspector_plugin 2024-09-20 06:17:15 +07: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 +07: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 +07:00
HolonProduction 30ad025f8d
Docs: Add warning about sharing a syntax highlighter to `TextEdit` 2024-09-19 17:07:04 +07:00
David Snopek 7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 +07:00
MewPurPur f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +07:00
Rémi Verschelde 694d3c2930
Merge pull request #97141 from timothyqiu/character-breaks
Fix typo in `string_get_character_breaks()` sample code
2024-09-18 17:41:12 +07:00
Rémi Verschelde a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +07: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 +07:00
深淵の鴿子 949d24b388
Expose ClassDB::class_get_api_type method 2024-09-18 15:45:21 +07:00
Haoyu Qiu 354b58fae4 Fix typo in `string_get_character_breaks()` sample code 2024-09-18 19:14:32 +07: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 +07: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 +07: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 +07: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 +07:00
Giganzo a863c385f7 Fix FileDialog default size 2024-09-17 14:35:18 +07: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 +07: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 +07:00
Rémi Verschelde e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +07: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 +07:00
Haoyu Qiu c5d147b9b5 Allow configuring which translation domain Object.tr uses 2024-09-17 13:09:44 +07:00
Haoyu Qiu 68d494e24e Add translation domain 2024-09-17 13:09:44 +07:00
Hugo Locurcio 540ac86b60
Warn for potential performance issues with Auto Switch to Remote Scene Tree editor setting 2024-09-16 23:42:25 +07:00
Nikita Prianichnikov c54e49cd9a Clarify the coordinate space for the bounding rectangle returned by Label.get_character_bounds 2024-09-16 20:45:42 +07:00
Adam Scott a9b934b657
Add `JavaScriptBridge` buffer methods 2024-09-16 12:13:34 +07: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 +07: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 +07: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 +07:00
elle 90aad071f5 Remove outdated note about `not` operator with String and StringName 2024-09-16 21:51:18 +07:00
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 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Daylily-Zeleen c6f7c89149 Fix description of `Array.sort_custom()` 2024-09-15 15:52:50 +07:00
Koyper f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 +07: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 +07:00
Haoyu Qiu 504e0656bb Add TextEdit option to prevent copying without a selection 2024-09-14 09:39:36 +07:00
Kiisu_Master 3a1160bff1
Fix typo in RenderingServer docs 2024-09-13 21:57:51 +07: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 +07: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 +07:00
kobewi b36bebc6da Add SCROLL_MODE_RESERVE to ScrollContainer 2024-09-12 14:02:01 +07:00
bruvzg b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
David Snopek 30a63396e5 Fix launching XR apps from the Android editor 2024-09-11 14:31:54 +07:00
Stuart Carnie a657ea42f1
2D: Add batching to RendererCanvasRenderRD 2024-09-12 05:26:06 +07: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 +07: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 +07: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 +07:00
Malcolm Nixon 3e93970ef5 Expose the optimize method of the Animation class to gdscript. 2024-09-11 01:18:30 +07:00
Mounir Tohami c36f466a4c Prevent `LineEdit` from losing focus when text is submitted or rejected. 2024-09-10 13:43:31 +07:00
Rémi Verschelde 97ef3c8372
Merge pull request #96780 from bruvzg/no_type_ed_settings
[Resource Loader] Do not check property type for non registered properties.
2024-09-10 10:37:11 +07:00
bruvzg 3009073b39 [Resource Loader] Do not check property type for non registered properties. 2024-09-10 11:27:16 +07: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 +07: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 +07:00
Giganzo 575a0b4dfb Fix below what value is invalid in default_font_size doc 2024-09-09 14:09:02 +07: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 +07: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 +07:00
Apples 2c78284422 Updated TreeItem documentation 2024-09-06 19:38:53 +07: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 +07: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 +07: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 +07:00
Rémi Verschelde 0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +07: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 +07:00
bruvzg da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +07:00
bruvzg 10f3c1f587
Add support for non-blocking IO mode to `OS.execute_with_pipe`. 2024-09-06 14:16:39 +07:00
bruvzg 3da43ebec4
[MenuBar] Make menu start index more consistent. 2024-09-06 13:21:01 +07:00
graydoubt e589c5baf3 Expose Viewport.gui_cancel_drag() to GDScript as a counterpart to Control.force_drag() 2024-09-06 06:20:22 +07: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 +07: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 +07: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 +07: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 +07:00
bruvzg 22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +07:00
kobewi bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +07:00
jsjtxietian 332b129221 Mention user should remove compute shader hint when use `set_stage_source` 2024-09-05 17:16:58 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Thaddeus Crews 9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 +07: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 +07:00
Danil Alexeev 78abc3f57a
Document use of pre-calculated triangulation when drawing polygons 2024-09-04 11:31:22 +07: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 +07: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 +07:00
kobewi ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +07: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 +07:00
andrei-g99 61ddf05eef
Add descriptions to `PolygonPathFinder` `setup` and `is_point_inside` methods 2024-09-03 16:38:38 +07: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 +07: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 +07:00
aXu-AP 7218dd6a3a Add support for Transform2D/3D in lerp()
Implements godotengine/godot-proposals#10579
2024-09-03 16:59:15 +07:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +07:00
citizenl 6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +07: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 +07: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 +07: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 +07:00
Rémi Verschelde 5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +07: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 +07:00
Chris Cranford 9122be6474 Pass current value to `EditorInterface` node/property popups 2024-09-03 00:54:55 +07: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 +07: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 +07:00
David Snopek 78883a52c6 Fix `JavaClassWrapper` so it actually works 2024-09-02 08:54:23 +07:00
Kasper Arnklit Frandsen 40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +07: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 +07: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 +07:00