1
0
Fork 0
Commit Graph

11247 Commits

Author SHA1 Message Date
2750558108 c2eba05312 Add speed scale feature for VideoStreamPlayer node 2025-05-28 08:58:32 +08:00
Thaddeus Crews f619ca2519
Merge pull request #60143 from Rindbee/better-connection-dialog
Add a flag to make the connection automatically emit the source object.
2025-05-27 09:39:34 -05:00
Thaddeus Crews 91b3a26438
Merge pull request #106848 from Faless/mp/rpc_config_revert
Expose `get_rpc_config` and `get_node_rpc_config`
2025-05-27 09:39:32 -05:00
Thaddeus Crews 05ceab6b7b
Merge pull request #106321 from elzewyr/shrink-factor
SoftBody3D: Add a property for scaling rest lengths of edge constraints
2025-05-27 09:39:29 -05:00
Thaddeus Crews 63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Thaddeus Crews bdf03ac2b3
Merge pull request #106811 from OzelotVanilla/fix-editor-plugin-filesystem-create
Fix missing popup item defined in `EditorContextMenuPlugin` with slot `CONTEXT_SLOT_FILESYSTEM_CREATE`
2025-05-27 09:39:24 -05:00
Thaddeus Crews 15b4b6b3d2
Merge pull request #106807 from Calinou/doc-editorproperty-not-ready
Document EditorProperty behavior when the node isn't fully ready yet
2025-05-27 09:39:23 -05:00
Thaddeus Crews d4793d016f
Merge pull request #106157 from Calinou/doc-acceptdialog-close-on-escape
Clarify the input action that affects `AcceptDialog.dialog_close_on_escape`
2025-05-27 09:39:22 -05:00
Thaddeus Crews 482dacc300
Merge pull request #103583 from beicause/color-picker-add-intensity
ColorPicker: Add an intensity slider to all modes for HDR
2025-05-27 09:39:21 -05:00
Rindbee 5e2396e001
Add a flag to make the connection automatically emit the source object.
Mainly used to improve the connection dialog.

Not implemented in `emit_signalp()`, append the source object when a PackScene is instantiated.
2025-05-27 20:19:03 +08:00
Lorenzo Zimmmerer 8152ecabed Editing SceneTree.get_frame() documentaion
to reflect that it returns physics steps that have been processed,
not frames rendered.

fixes #90539

Add reference to physics_frame signal.

Add reference to Engine.get_process_frames

Update doc/classes/SceneTree.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-27 12:48:38 +02:00
Ozelot Vanilla 14d9aa9672 fix: EditorContextMenuPlugin with slot CONTEXT_SLOT_FILESYSTEM_CREATE does not add popup item to all menu
As there are multiple menu containing creating new files, this commit add the popup menu item from the plugin to all those menu to keep consistency.
The fixing uses empty array to indicate different types of context menu.

Added to these menu:
* Right-click on empty space on the tree (`_tree_empty_click`).
* Right-click on empty space on the file panel (`_file_list_empty_clicked`)

Also add explanation in `EditorContextMenuPlugin::CONTEXT_SLOT_FILESYSTEM_CREATE`'s doc for previous fixing

(Accept PR #106811 code suggestion by: Tomasz Chabora <kobewi4e@gmail.com>)
2025-05-27 10:15:21 +09:00
Haoyu Qiu 8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
Fabio Alessandrelli b73ec1fa9b Expose get_rpc_config and get_node_rpc_config 2025-05-27 00:43:21 +02:00
Hugo Locurcio 260af83647
Document EditorProperty behavior when the node isn't fully ready yet 2025-05-27 00:42:10 +02:00
Hugo Locurcio 3168fd4c56
Clarify the input action that affects `AcceptDialog.dialog_close_on_escape`
It uses `ui_cancel` behind the scenes, which allows users to add/modify
which keys or gamepad buttons are taken into account for this.
2025-05-27 00:38:58 +02:00
Thaddeus Crews de2cd663fd
Merge pull request #100463 from PiCode9560/softbody-apply-force-and-impulse
Add ability to apply forces and impulses to `SoftBody3D`
2025-05-26 11:24:45 -05:00
Thaddeus Crews c38b856f39
Merge pull request #106717 from KoBeWi/uid_in_path_factory
Expose helper methods for converting UIDs
2025-05-26 11:24:40 -05:00
Thaddeus Crews e89c4b0f9f
Merge pull request #102330 from RGDTAB/add_partial_smaa
Add SMAA 1x to screenspace AA options
2025-05-26 11:24:35 -05:00
Thaddeus Crews 506417fe43
Merge pull request #105623 from lodetrick/section-feature-hide
Allow Inspector Section Checkboxes to hide features, Add "On" text to checkboxes
2025-05-26 11:24:25 -05:00
Thaddeus Crews 6132792f05
Merge pull request #106386 from bruvzg/mac_fs_name
Implement `get_filesystem_type` on macOS and Linux.
2025-05-26 11:24:25 -05:00
Thaddeus Crews f984e15b39
Merge pull request #106244 from lawnjelly/fti_optimize_scene_tree4
FTI - Optimize `SceneTree` traversal
2025-05-26 11:24:21 -05:00
Pedro J. Estébanez 6841b45552 Add tests for resource duplication 2025-05-26 17:05:04 +02:00
Fabio Alessandrelli c28d5d0058 Revert "Expose get_rpc_config and get_node_rpc_config"
This reverts commit 8835f326b1.
2025-05-26 15:57:38 +02:00
Pedro J. Estébanez 342266cfd9 Overhaul `Variant::duplicate()` for resources
This in the scope of a duplication triggered via any type in the `Variant` realm. that is, the following: `Variant` itself, `Array` and `Dictionary`. That includes invoking `duplicate()` from scripts.

A `duplicate_deep(deep_subresources_mode)` method is added to `Variant`, `Array` and `Dictionary` (for compatibility reasons, simply adding an extra parameter was not possible). The default value for it is `RESOURCE_DEEP_DUPLICATE_NONE`, which is like calling `duplicate(true)`.

Remarks:
- The results of copying resources via those `Variant` types are exactly the same as if the copy were initiated from the `Resource` type at C++.
- In order to keep some separation between `Variant` and the higher-level animal which is `Resource`, `Variant` still contains the original code for that, so it's self-sufficient unless there's a `Resource` involved. Once the deep copy finds a `Resource` that has to be copied according to the duplication parameters, the algorithm invokes the `Resource` duplication machinery. When the stack is unwind back to a nesting level `Variant` can handle, `Variant` duplication logic keeps functioning.

While that is good from a responsibility separation standpoint, that would have a caveat: `Variant` would not be aware of the mapping between original and duplicate subresources and so wouldn't be able to keep preventing multiple duplicates.

To avoid that, this commit also introduces a wormwhole, a sharing mechanism by which `Variant` and `Resource` can collaborate in managing the lifetime of the original-to-duplicates map. The user-visible benefit is that the overduplicate prevention works as broadly as the whole `Variant` entity being copied, including all nesting levels, regardless how disconnected the data members containing resources may be across al the nesting levels. In other words, despite the aforementioned division of duties between `Variant` and `Resource` duplication logic, the duplicates map is shared among them. It's created when first finding a `Resource` and, however how deep the copy was working at that point, the map kept alive unitl the stack is unwind to the root user call, until the first step of the recursion.

Thanks to that common map of duplicates, this commit is able to fix the issue that `Resource::duplicate_for_local_scene()` used to ignore overridden duplicate logic.
2025-05-26 10:06:40 +02:00
Pedro J. Estébanez 2a03b459b9 Overhaul `Resource::duplicate()`
Thanks to a refactor, `Resource::duplicate_for_local_scene()` and `Resource::duplicate()` are now both users of the same, parametrized, implementation.

`Resource::duplicate()` now honors deepness in a more consistent and predictable fashion. `Resource::duplicate_deep()` is added (instead of just adding a parameter to the former, for compatibility needs).

The behavior after this change is as follows:
  - Deep (`deep=true`, formerly `subresources=true`):
    - Previously, only resources found as direct property values of the one to copy would be, recursively, duplicated.
    - Now, in addition, arrays and dictionaries are walked so the copy is truly deep, and only local subresources found across are copied.
    - Previously, subresources would be duplicated as many times as being referenced throughout the main resource.
    - Now, each subresource is only duplicated once and from that point, a referenced to that single copy is used. That's the enhanced behavior that `duplicate_for_local_scene()` already featured.
    - The behavior with respect to packed arrays is still duplication.
    - Formerly, arrays and dictionaries were recursive duplicated, with resources ignored.
    - Now, arrays and dictionaries are recursive duplicated, with resources duplicated.
    - When doing it through `duplicate_deep()`, there's a` deep_subresources_mode` parameter, with various possibilites to control if no resources are duplicated (so arrays, etc. are, but keeping referencing the originals), if only the internal ones are (resources with no non-local path, the default), or if all of them are. The default is to copy every subresource, just like `duplicate(true)`.
  - Not deep (`deep=false`, formerly `subresources=false`): <a name="resource-shallow"></a>
    - Previously, the first level of resources found as direct property values would be duplicated unconditionally. Packed arrays, arrays and dictionaries were non-recursively duplicated.
    - Now, no subresource found at any level in any form will be duplicated, but the original reference kept instead. Packed arrays, arrays and dictionaries are referenced, not duplicated at all.
    - Now, resources found as values of always-duplicate properties are duplicated, recursively or not matching what was requested for the root call.

This commit also changes what's the virtual method to override to customize the duplication (now it's the protected `_duplicate()` instead of the public `duplicate()`).
2025-05-26 10:05:25 +02:00
kobewi 9c37ca5383 Expose helper methods for converting UIDs 2025-05-25 00:26:16 +02:00
lawnjelly c7764ef26b FTI - Optimize `SceneTree` traversal 2025-05-24 17:38:33 +01:00
Pāvels Nadtočajevs d609cf62a0
Implement `get_filesystem_type` on macOS and Linux. 2025-05-23 23:05:06 +03:00
PiCode fe3aaa2ae3 Add functions to apply impulse and force to SoftBody on GodotPhysics and JoltPhysics 2025-05-23 22:04:52 +03:00
Thaddeus Crews 274ed34ac4
Merge pull request #93836 from aaronfranke/capsule-mid-height
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
LuoZhihao 8a9409257b ColorPicker: Add intensity slider
Add intensity slider to all color modes. Replace raw mode by linear mode, which uses linear color space.

When color is overbright, automatically switch hex text to script text. Allow executing expression in script text field to set color. Add the "script" icon to the default theme.
2025-05-23 12:45:29 +08:00
Thaddeus Crews ce400a93b5
Merge pull request #106613 from Calinou/doc-string-subsequence-contains
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
2025-05-22 12:15:09 -05:00
Thaddeus Crews 5b2525673a
Merge pull request #102360 from berarma/theora_seek
Implement seek operation for Theora video files, improve multi-channel audio resampling.
2025-05-22 12:15:07 -05:00
Thaddeus Crews 8085fd3102
Merge pull request #93142 from clayjohn/z_clip_scale
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews 6258a3e224
Merge pull request #98750 from aaronfranke/grisu
Use Grisu2 algorithm in `String::num_scientific` to fix serializing
2025-05-22 12:15:02 -05:00
Aaron Franke 15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
Bernat Arlandis b9bebf7081 Full Theora video support in VideoStreamPlayer
- Implement `set_stream_position` and `get_stream_length`.
- Don't show blank frame when stopping the video (smooth loops).
- Fix audio for videos with up to 8 channels.
- Improve internal audio handling.
2025-05-22 14:00:57 +02:00
Hugo Locurcio f69d2eda80
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
`is_subsequence_of()` has very different behavior from `contains()`.
2025-05-22 03:01:13 +02:00
Logan Detrick 1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Raymond DiDonato 6b99608950 Add SMAA 1x 2025-05-21 15:02:09 -04:00
Haoyu Qiu 7010d171b1 Relax the requirements for making EditorImportPlugin 2025-05-21 22:13:09 +08:00
clayjohn 9a1def8da1 Add new StandardMaterial properties to allow users to control FPS-style objects (hands, weapons, tools close to the camera)
Add new shader built in Z_CLIP_SCALE to easily adjust clipping distance to avoid clipping walls etc.

Add fov_override to StandardMaterial3D to easily have a custom FOV for FPS objects

Add IN_SHADOW_PASS built-in to shaders for tweaking materials without impacting shadow maps
2025-05-21 10:16:05 -03:00
Hugo Locurcio 59a75babf8
Improve documentation for `Array.get()` and `Packed*Array.get()` methods 2025-05-20 23:47:04 +02:00
Rémi Verschelde 25a3c27c41
Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Ricardo Sanchez-Saez 47971c0a27
Introduce 'visionos' platform derived from 'apple_embedded' 2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez 457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews 54a368b454
Merge pull request #106476 from timothyqiu/tooltip-scale
Improve description of `Control.scale`
2025-05-19 16:22:27 -05:00
Thaddeus Crews 0f21ccd4b8
Merge pull request #104560 from TokageItLab/bone-name-validation
Add bone name/idx matching validation and lacked virtual methods to `SkeletonModifier3D`
2025-05-19 08:01:40 -05:00
Thaddeus Crews 70fa7fba19
Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
DeeJayLSP 0d4d0d44c9 Force weights on custom editor fonts when variable 2025-05-18 23:44:31 -03:00
Silc Lizard (Tokage) Renew b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Silc Lizard (Tokage) Renew 17d068963f Add bone name/idx matching validation & virtual func to skel Modifier 2025-05-17 06:18:25 +09:00
Adam Scott 6e6c4d3045
[Web] Always return `0` for `OS::get_process_id()` 2025-05-16 15:46:34 -04:00
Elzewyr 9f67bf96fa SoftBody3D: Add a property for scaling rest lengths of edge constraints 2025-05-16 18:38:00 +03:00
Thaddeus Crews 13aaf5e228
Merge pull request #103462 from GlitchedCode922/master
Fix InputEventMouseMotion reference
2025-05-16 10:29:01 -05:00
Thaddeus Crews 1e50e05235
Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
Haoyu Qiu e22540bc0b Improve description of `Control.scale` 2025-05-16 15:31:08 +08:00
Omar Qurashi a6ca9088e0
Fix typo in `Node.get_child` documentation 2025-05-15 22:18:30 +02:00
Thaddeus Crews f3e0005266
Merge pull request #105547 from KoBeWi/default_ok_ok
Improve default OK text in AcceptDialog
2025-05-15 10:22:23 -05:00
Thaddeus Crews a7a61cc284
Merge pull request #106439 from timothyqiu/import-out-params
Document output parameters of `EditorImportPlugin.import`
2025-05-15 10:22:22 -05:00
Thaddeus Crews e625565853
Merge pull request #106396 from chocola-mint/canvas-item-add-triangle-array-count
Implement the `count` parameter in `RenderingServer.canvas_item_add_triangle_array`
2025-05-15 10:22:16 -05:00
Haoyu Qiu c31746fdcf Document output parameters of `EditorImportPlugin.import` 2025-05-15 19:46:15 +08:00
kobewi 33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
kobewi 076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Thaddeus Crews 8b4dd7a34e
Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
Thaddeus Crews 006b986fbb
Merge pull request #106121 from KoBeWi/you_can_undo_but_you_can't_save
Allow undoredo actions to not make history unsaved
2025-05-14 09:44:11 -05:00
Thaddeus Crews d0693d6867
Merge pull request #89988 from LunaCapra/specular-occlusion
Add support for bent normal maps for specular occlusion and indirect lighting
2025-05-14 09:44:06 -05:00
chocola-mint 101dc9868f Implement the count parameter in RenderingServer.canvas_item_add_triangle_array() 2025-05-14 22:52:30 +09:00
Rémi Verschelde 1de9789806
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
This was added together with `ppc64le` in #54490, but seemingly only for the
purpose of getting it to compile on a Linux distro that aims at maximizing
support for all CPU architectures.

I don't think anyone has ever _run_ Godot on a `ppc32` system (do those even
support OpenGL ES 3.0?) and so I don't think we should aim to support it.

Debian dropped support for its PowerPC (`ppc32`) arch in Debian 9, released
in 2017.
2025-05-14 10:22:12 +02:00
dugramen b9f59ae6ca Add color pickers to script editor 2025-05-13 18:03:21 -04:00
Thaddeus Crews 3d20e906b9
Merge pull request #99318 from HolonProduction/editor-script-palette
Editor: Add named `EditorScript`s to the command palette
2025-05-13 16:22:31 -05:00
Thaddeus Crews 1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews 93140c0f76
Merge pull request #99676 from BlueCube3310/tex-import-vram-specified
Add Channel Remap settings to ResourceImporterTexture
2025-05-13 16:22:22 -05:00
Thaddeus Crews b59d6bea4f
Merge pull request #67777 from aaronfranke/virtually-annotated
Add a keyword for abstract classes in GDScript
2025-05-13 16:22:16 -05:00
GlitchedCode efb72ef0f6 Fix InputEventMouseMotion reference 2025-05-13 11:06:11 +00:00
kobewi e7e48cd58c Allow undoredo actions to not make history unsaved 2025-05-13 02:40:31 +02:00
Hugo Locurcio 3a7425968a
Improve SpinBox class documentation
- Describe the class's interactivity in more detail.
- Clarify behavior of `apply()`.
- Mention that expressions can be evaluated.
- Mention caveat with `update_on_text_changed` regarding expressions.
2025-05-13 00:30:24 +02:00
Capry 9828c365c3 Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +02:00
Danni 54c8d64892 Add ruler width editor setting to 2D editor 2025-05-11 20:00:50 -04:00
Thaddeus Crews d68e2710a2
Merge pull request #106205 from RedMser/limit-length-discoverability
Doc: Add search keywords for `Vector2/3.limit_length` method
2025-05-09 11:29:24 -05:00
Thaddeus Crews ee89536cbd
Merge pull request #106195 from timothyqiu/action-type
Fix type error in `InputEventAction.action` description
2025-05-09 11:29:22 -05:00
Thaddeus Crews 941a979c38
Merge pull request #106179 from Aioshiro/editorProperty_description_swap
Fix description of `EditorProperty`'s `draw_background` and `draw_label`
2025-05-09 11:29:19 -05:00
Thaddeus Crews dda0562f2f
Merge pull request #103934 from LiveTrower/dfg-lut
Forward+: Replace the current BRDF approximation with a DFG LUT and add multiscattering energy compensation
2025-05-09 11:29:16 -05:00
Thaddeus Crews 821170f054
Merge pull request #106145 from lander-vr/ambient-light-specular-occlusion
Add specular occlusion from ambient light
2025-05-09 11:29:14 -05:00
RedMser 542639de3c Add aliases for Vector2/3.limit_length method 2025-05-09 14:42:47 +02:00
Haoyu Qiu 664b2f7c71 Fix type error in InputEventAction.action description 2025-05-09 17:01:36 +08:00
landervr 56730d0cb2 Add specular occlusion from ambient light
Co-authored-by: guerro323 <kaltobattle@gmail.com>
2025-05-08 23:52:01 +02:00
Aioshiro 964f51c69a Fix description of `EditorProperty.draw_background` and `EditorProperty.draw_label` 2025-05-08 19:55:55 +02:00
LiveTrower 44408eabaa Replace BRDF approximation with a DFG LUT 2025-05-08 10:23:35 -06:00
Thaddeus Crews 2d3b25e61d
Merge pull request #106162 from timothyqiu/store-half
Add missing description of `FileAccess.store_half` behavior on error
2025-05-08 07:19:37 -05:00
Thaddeus Crews 16aaa0a213
Merge pull request #103944 from KoBeWi/more_red_info
Improve error messages for `add_property_info()`
2025-05-08 07:19:33 -05:00
Thaddeus Crews 288822e330
Merge pull request #105570 from kroketio/texture-extension-mipmaps
RenderingDevice: Pass mipmap count to `texture_create_from_extension()`
2025-05-08 07:19:16 -05:00
Haoyu Qiu c24bfb0491 Add missing description of `FileAccess.store_half` behavior on error 2025-05-08 12:53:52 +08:00
Thaddeus Crews 051712dfb8
Merge pull request #103264 from mhilbrunner/docs-path-join
Rename "file" param for str.path_join() to "path"
2025-05-07 12:48:29 -05:00
Thaddeus Crews c714743bb1
Merge pull request #105944 from syntaxerror247/main-menu
Add editor setting to collapse main menu into a `MenuButton`
2025-05-07 12:48:29 -05:00
RedMser 4acdc7a657 Remove redundant line_spacing editor setting 2025-05-07 16:53:05 +02:00
Sander 6ae50cad17 RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension() 2025-05-07 15:15:55 +03:00
Anish Mishra e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
Thaddeus Crews fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
Thaddeus Crews 4cb030d6bf
Merge pull request #106089 from mihe/rogue-newlines
Fix empty lines being added for errors with no script backtrace
2025-05-06 08:38:04 -05:00
Thaddeus Crews ee599f0850
Merge pull request #97148 from Calinou/editor-default-auto-reload-scripts-external-change
Enable Auto Reload Scripts on External Change by default in the editor settings
2025-05-06 08:38:02 -05:00
Thaddeus Crews c4de8ef825
Merge pull request #105765 from smix8/navlink_iteration_id
Add function to get navigation link iteration id from NavigationServer
2025-05-06 08:38:00 -05:00
Thaddeus Crews cc5857728d
Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
Fredia Huya-Kouadio f29feac7a5 Add a `LineEdit` / `TextEdit` property to control whether the virtual keyboard should show on focus 2025-05-05 22:01:34 -04:00
Aaron Franke 783728fcb4
Capitalize global navigation constants 2025-05-05 12:08:15 -07:00
Thaddeus Crews 5bc01f2994
Merge pull request #105080 from beicause/basisu-ktx2-settings
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-05 11:24:20 -05:00
Thaddeus Crews 1f06c7caea
Merge pull request #97821 from dalexeev/doc-iter-get-return-type
Documentation: Add tip to use more specific return type for `_iter_get()`
2025-05-05 11:24:11 -05:00
Thaddeus Crews 0d7b1ba868
Merge pull request #106002 from ProgrammerOnCoffee/fix-light3d-doc-typo
Fix a typo in the `Light3D` documentation
2025-05-05 11:24:09 -05:00
Thaddeus Crews af1df7be78
Merge pull request #105990 from RedMser/deprecate-packeddatacontainer
Deprecate `PackedDataContainer`
2025-05-05 11:24:03 -05:00
Mikael Hermansson 31b90246e7 Fix empty lines being added for errors with no script backtrace 2025-05-05 13:27:21 +02:00
LuoZhihao 237597b01f BasisU: Use KTX2 format and add import options to configure encoder 2025-05-03 01:45:38 +08:00
Danil Alexeev 4f3b998b09
Documentation: Add tip to use more specific return type for `_iter_get()` 2025-05-02 18:20:08 +03:00
Rémi Verschelde cc948984ad
Merge pull request #104973 from Ivorforce/gdextension-cpp-docs-link
Change "GDExtension example in C++" links to accommodate the new docs file structure.
2025-05-02 09:50:40 +02:00
Aaron Franke 067704f1cd
Add a keyword for abstract classes in GDScript
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2025-05-02 00:03:04 -07:00
ProgrammerOnCoffee b3def2571e
Fix typo in `Light3D` documentation 2025-05-01 20:51:37 -04:00
Aaron Franke 9f38cfe3ca
Add mid height property to CapsuleShape2D/3D 2025-05-01 15:45:51 -07:00
Thaddeus Crews b4c9602031
Merge pull request #105964 from markdibarry/deprecate-parallax-background-and-layer
Deprecate `ParallaxBackground` and `ParallaxLayer`
2025-05-01 14:27:20 -05:00
RedMser 67232f809a Deprecate PackedDataContainer
A custom resource type, or the methods suggested in the
deprecation message are easier to use and work more reliably.
2025-05-01 17:30:09 +02:00
hamid 82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
Mark DiBarry 36e53922c7 Deprecate Parallax Background and Parallax Layer 2025-04-30 19:10:13 -04:00
风青山 14249097e8
Clarify the conditions that need to be met for a valid file name in Godot 2025-04-30 20:13:45 +08:00
Thaddeus Crews b1b873add3
Merge pull request #104731 from Delsin-Yu/stackable-text-effect
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
Thaddeus Crews 3b4cf41ea4
Merge pull request #105368 from lodetrick/editor-typed-hint
Add inspector support for typed property hint formats
2025-04-29 11:24:11 -05:00
Thaddeus Crews 70ff5770c9
Merge pull request #83757 from HauntedBees/master
Add `Node.get_orphan_node_ids`, edit `Node.print_orphan_nodes`
2025-04-29 11:24:08 -05:00
Haoyu Qiu fc1488ffdb Fix typo in `sqrt` classref 2025-04-29 15:30:46 +08:00
Haunted Bees 0ccdcb4a16 added list_orphan_nodes, edited print_orphan_nodes
print_orphan_nodes now prints the script file attached to the node.
list_orphan_nodes was created to return the same data as print_orphan_nodes in a dictionary format for users who wish to process this data differently than the print_orphan_nodes behavior.
2025-04-28 20:33:01 -07:00
KOOLAIDxK1D 285eb21b41
Update MeshInstance3D.xml
fixed a grammatical error
2025-04-28 18:01:20 -04:00
Thaddeus Crews c0935eba0d
Merge pull request #105846 from KoBeWi/you_call_it_title_but_it's_just_a_text
Rename FoldableContainer's `text` to `title`
2025-04-28 10:01:36 -05:00
Thaddeus Crews b7d4426fff
Merge pull request #104269 from lawnjelly/fti_scene_tree4
Physics Interpolation - Move 3D FTI to `SceneTree`
2025-04-28 10:01:34 -05:00
Thaddeus Crews 751ef44a13
Merge pull request #87714 from KoBeWi/hack_uid()
Expose `set_uid()`
2025-04-28 10:01:30 -05:00
Flyn San be8fe15574 Fix invalid AnimationNode documentation syntax 2025-04-28 20:25:55 +10:00
kobewi 6f4cf04fb8 Expose set_uid() 2025-04-28 10:13:43 +02:00
Thaddeus Crews 22b22625db
Merge pull request #105687 from Calinou/doc-scenetree-custom-multiplayer
Document `SceneTree.set_multiplayer()` should be called in `_enter_tree()`
2025-04-27 19:21:28 -05:00
Thaddeus Crews 796b9caa09
Merge pull request #105552 from adamwych/expose-get-node-list
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
2025-04-27 19:21:26 -05:00
Thaddeus Crews 4dbfcbfbbd
Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
2025-04-27 19:21:15 -05:00
Thaddeus Crews 113ef4df78
Merge pull request #105357 from MewPurPur/tweak-get-cursor-shape-doc
Improve get_cursor_shape() documentation
2025-04-27 19:21:11 -05:00
kobewi 6856926b77 Rename FoldableContainer's text to title 2025-04-28 00:12:32 +02:00
lawnjelly ae04a3a5dd Physics Interpolation - Move 3D FTI to `SceneTree`
Moves 3D interpolation from server to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-04-26 14:13:30 +01:00
DE YU ac931c33c2 Implmement stackable text effects on label type through label settings
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-04-26 20:50:20 +08:00
Thaddeus Crews 790ac5aee4
Merge pull request #105161 from ProgrammerOnCoffee/fix-image-doc
Fix typos in `Image` documentation
2025-04-25 18:25:31 -05:00
ProgrammerOnCoffee b8fa6fe1cb Fix typos in `Image` documentation 2025-04-25 18:49:18 -04:00
smix8 b002ade3ed Add function to get navigation link iteration id from NavigationServer
Adds function to get navigation link iteration id from NavigationServer.
2025-04-25 20:59:10 +02:00
Thaddeus Crews 8954125990
Merge pull request #105437 from Ansraer/teleport_spatial_nodes
Allow moving meshes without motion vectors
2025-04-25 11:36:08 -05:00
Thaddeus Crews 796a08d350
Merge pull request #105655 from bruvzg/svg_tx_import
Add `SVGTexture` importer.
2025-04-25 11:36:05 -05:00
Thaddeus Crews 04bcd4cea6
Merge pull request #105725 from bruvzg/sc_grad
Use same oversampling granularity as fonts use for `SVGTexture`s .
2025-04-25 11:35:59 -05:00
Ansraer a4a5f4ed01 allow moving meshes without motion vectors 2025-04-25 14:25:06 +02:00
Thaddeus Crews 28089c40c1
Merge pull request #91006 from reduz/live-backtrace
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
Thaddeus Crews 5dc375b2fc
Merge pull request #105014 from aaronfranke/no-type-suffixes
Allow completely opting out of name suffix magic in 3D scene import
2025-04-24 17:18:50 -05:00
Pāvels Nadtočajevs 98817a54f0
Use same oversampling granularity as fonts use for `SVGTexture`s . 2025-04-24 21:23:25 +03:00