1
0
Fork 0
Commit Graph

19629 Commits

Author SHA1 Message Date
Rémi Verschelde 4219ce91f2
Merge pull request #110485 from bruvzg/aemb_dtr
Fix iOS/visionOS export plugin crash on exit.
2025-10-13 07:35:19 +02:00
Sat 12ced6c83b Add support for making arrays and dictionaries with Resources unique 2025-10-12 23:11:09 -03:00
kobewi 206d4a0fb3 Move script name to top 2025-10-12 14:10:44 +02:00
Raul Santos 6faa4e369a
Make `MissingNode`/`MissingResource` non-virtual and hide from dialogs
This allows ClassDB to get the default values for inherited properties.
The `MissingNode` and `MissingResource` types are excluded from the create
dialog and the inspector's Resource selector.
2025-10-12 09:58:50 +02:00
fish 8e3499a961 Allow keyboard echo for script_editor/next_script, script_editor/prev_script, script_editor/window_move_up, and script_editor/window_move_down events 2025-10-11 20:09:55 -07:00
Michael Alexsander 45e6a65a58
Fix some dragging operations in the editor breaking when tabbing out 2025-10-11 10:40:45 -03:00
nikitalita 03923c6ed7 scene importer: Fix skeleton path when physics body type is dynamic 2025-10-11 04:39:14 -07:00
Michael Alexsander 40ff060958
Fix "Region Editor" stuck in drag state when closing 2025-10-10 20:03:38 -03:00
Lukas Tenbrink 985e6178b4 Remove extraneous includes from `texture.h`. 2025-10-10 18:39:16 +02:00
Thaddeus Crews d10eca9c59
Merge pull request #111448 from Giganzo/sprite-frames-editor-shortcut-name
Use Title Case for shortcut names in SpriteFramesEditorPlugin
2025-10-10 10:26:08 -05:00
Thaddeus Crews edcbdc5706
Merge pull request #107573 from lodetrick/tilemap-hide-overlay
Fade TileMap editor overlay when zoomed out
2025-10-10 10:26:07 -05:00
Thaddeus Crews 99ab454a64
Merge pull request #111473 from KoBeWi/easing-i18n-redux
Fix some easing presets not translated
2025-10-10 10:26:04 -05:00
Thaddeus Crews c417769226
Merge pull request #111470 from Ivorforce/debug-circular-include
Remove circular unneeded `debug_adapter_protocol.h` include from `debug_adapter_parser.h`
2025-10-10 10:26:03 -05:00
Thaddeus Crews fb01d80e88
Merge pull request #111393 from xuhuisheng/dev/auto_expand_selected
Should expand root when `auto_expand` is on
2025-10-10 10:25:53 -05:00
kobewi b9f7f2d767 Fix some easing presets not translated
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2025-10-10 13:21:56 +02:00
Lukas Tenbrink 56abd0ece3 Remove circular unneeded `debug_adapter_protocol.h` include from `debug_adapter_parser.h`. 2025-10-10 10:40:47 +02:00
Thaddeus Crews 295e465fe4
Merge pull request #111454 from KoBeWi/buy_default
Enable script templates by default
2025-10-09 11:46:59 -05:00
Thaddeus Crews 91a1798474
Merge pull request #109084 from allenwp/add-spatial-shader-debanding
Add material debanding for use in Mobile rendering method.
2025-10-09 11:46:58 -05:00
Thaddeus Crews aa88eb2a75
Merge pull request #73688 from Calinou/advanced-import-settings-tweak-property-hints
Tweak physics property hints in the 3D Advanced Import Settings dialog
2025-10-09 11:46:56 -05:00
Thaddeus Crews 3f3a8562fb
Merge pull request #89367 from KoBeWi/locale_shift
Allow rearranging translation list via drag and drop
2025-10-09 11:46:55 -05:00
Thaddeus Crews 4ab22026b6
Merge pull request #111405 from Ivorforce/node-no-mesh
Remove transitive rendering includes from `node.h`
2025-10-09 11:46:49 -05:00
Thaddeus Crews 894d6ba13f
Merge pull request #76267 from Calinou/editor-theme-extra-borders-tooltip
Add a border to tooltips when using the Draw Extra Borders editor setting
2025-10-09 11:46:48 -05:00
Thaddeus Crews 5913469309
Merge pull request #111431 from Ivorforce/registration-order-3
Reorder registration of types, to register supertypes before subtypes.
2025-10-09 11:46:47 -05:00
Thaddeus Crews 755934f5f0
Merge pull request #111012 from KoBeWi/activate_never
Delete "Activate now?" button
2025-10-09 11:46:45 -05:00
kobewi a299004622 Enable script templates by default 2025-10-09 16:33:07 +02:00
Giganzo 3a3894e22c Use Title Case for shortcut names in SpriteFramesEditorPlugin 2025-10-09 12:04:03 +02:00
Lukas Tenbrink 9843a016f5 Reorder registration of types, to register supertypes before subtypes. 2025-10-09 11:50:32 +02:00
Logan Detrick 7998b5e8d2 Cleanup EditorProperty setup methods 2025-10-08 15:52:46 -07:00
Allen Pestaluky bd9d1bf070 Add material debanding for use in Mobile rendering method.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-10-08 16:22:41 -04:00
Michael Alexsander 0de3f8b21f
Add source lines to file locations on POT generation 2025-10-08 16:43:22 -03:00
Lukas Tenbrink 33689d7beb Remove transitive `mesh.h`, `rendering_server.h` and `shader.h` includes from `node.h`. 2025-10-08 12:16:52 +02:00
xuhuisheng 4ba09aceb9 should expand root when auto_expand is on 2025-10-08 13:19:23 +08:00
Hugo Locurcio f9fc0a243c Tweak physics property hints in the 3D Advanced Import Settings dialog
- Mention the node types explicitly in the body type.
- Add performance hints for shape type.
2025-10-08 01:50:10 +02:00
Hugo Locurcio 7fe3a661b4 Add a border to tooltips when using the Draw Extra Borders editor setting
This distinguishes tooltips from the background when using the
Black (OLED) editor theme preset.
2025-10-08 01:47:06 +02:00
Thaddeus Crews 194d76e571
Merge pull request #111284 from arkology/sprite-frames-editor-translation
Improve auto-translation of `SpriteFramesEditor`
2025-10-07 17:15:10 -05:00
Thaddeus Crews 5626f0bf0b
Merge pull request #93296 from rune-scape/editor-node-inheritance
EditorPlugin: Allow instance base type inheriting EditorPlugin
2025-10-07 17:15:07 -05:00
Thaddeus Crews 8276e512d6
Merge pull request #110767 from Ryan-000/Fix-AnimationPlayer-to-use-StringName
Fix AnimationPlayer to use StringName instead of String in the exposed API.
2025-10-07 17:15:06 -05:00
Thaddeus Crews 6ef2c7b34b
Merge pull request #110823 from Calinou/ui-builtin-actions-all-devices
Allow all gamepad devices for built-in `ui_*` input actions
2025-10-07 17:15:00 -05:00
Thaddeus Crews 9f6088dafa
Merge pull request #111273 from GlitchedCode922/infinite_project_duplicator
Project Manager: Prohibit duplicating a project into itself
2025-10-07 11:54:35 -05:00
Rémi Verschelde 7abe27ba09
Merge pull request #111068 from KoBeWi/bruh💀
Fix Quick Open history
2025-10-07 14:34:00 +02:00
Rémi Verschelde bb01fa25bf
Merge pull request #110925 from rburing/obj_bump_multiplier
OBJ importer: Support bump multiplier (normal scale)
2025-10-07 14:33:50 +02:00
Rémi Verschelde 30398802f8
Merge pull request #111136 from KoBeWi/redo_consistency_left_the_chat
Set correct saved history after clearing
2025-10-07 13:07:11 +02:00
Rémi Verschelde a177d33ca7
Merge pull request #110738 from YeldhamDev/oops_guess_we_needed_that
Fix selection of remote tree using the keyboard
2025-10-07 13:07:02 +02:00
Ryan 35999a16dd Fix AnimationPlayer to use StringName instead of String
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-10-06 16:29:40 -04:00
Thaddeus Crews 9fc656d2bf
Merge pull request #110676 from YeldhamDev/can_you_bezier_a_marker
Show marker lines/sections in the animation bezier editor
2025-10-06 14:34:14 -05:00
Thaddeus Crews ce98fae6e8
Merge pull request #111302 from hijawesam/fix/encryption-docs-link
Editor: Fix 'More Info…' link in Export/Encryption
2025-10-06 14:34:06 -05:00
Mounir Tohami 9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Thaddeus Crews 30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Thaddeus Crews 5b2d91ef31
Merge pull request #111270 from chocola-mint/include-optimization-control
Remove `timer.h` include from `control.h`.
2025-10-06 09:06:31 -05:00
Thaddeus Crews 3b04c8464c
Merge pull request #107273 from DexterFstone/add-game-speed-controls
Add game speed controls to the embedded game window
2025-10-06 09:06:24 -05:00
arkology cb321840a1 Improve auto-translation of `SpriteFramesEditor` 2025-10-06 11:02:35 +00:00
Wesam a9d361f88f editor: Fix 'More Info…' link in Export/Encryption (Fixes #111108) 2025-10-05 22:28:31 +03:00
GlitchedCode c5183d21db Project Manager: Prohibit duplicating a project into itself 2025-10-05 21:50:00 +03:00
chocola-mint ead282ff13 Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`. 2025-10-05 17:49:23 +09:00
DexterFstone 7ddce8ab26 Add game speed controls to the embedded game window 2025-10-05 11:13:15 +05:30
chocola-mint 19c47c5d99 Remove `#include "scene/main/timer.h"` from `control.h` 2025-10-05 14:41:06 +09:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Shaderman 636763276e Add shortcuts to reset position, rotation and scale in Spatial and Canvas Item Editor 2025-10-04 16:50:35 +02:00
DexterFstone ee1a36facd Expose the signal when user select a file/folder in the FileSystemDock 2025-10-04 05:33:04 -07:00
rune-scape d779c98ee1 allow inheriting EditorPlugin 2025-10-03 22:54:13 -07:00
vaner-org 79b45ac162 Make BlendSpace cursor default, and more like StateMachine 2025-10-04 09:35:44 +05:30
kobewi 4986e28bef Allow to rearrange translation list via drag and drop 2025-10-03 20:44:56 +02:00
Malcolm Anderson 36c7bbb47a Visualize MarginContainer margins when selected
This time as an EditorPlugin!

Improve rendering of inner area of MarginContainer

Decrease thickness and opacity of lines, and render margins as a rectangle rather than lines extending to the edges of the bounding box

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Use `get_margin_size`, change color of viz border, and trigger redraw on MarginContainer's draw signal
2025-10-03 11:42:05 -07:00
Thaddeus Crews cf3c00056c
Merge pull request #109974 from rsanchezsaez/apple/swiftui-lifecycle
SwiftUI lifecycle for Apple embedded platforms
2025-10-03 12:01:09 -05:00
Thaddeus Crews b35a75e429
Merge pull request #111194 from passivestar/secondary-lists
Add missing ItemListSecondary and TreeSecondary theme type variations
2025-10-03 12:01:08 -05:00
Thaddeus Crews 38af23a654
Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Michael Alexsander 8973c91293
Add icon color theme items for `TabBar` and `TabContainer` 2025-10-03 10:41:28 -03:00
passivestar 3316609ddd Add missing ItemListSecondary and TreeSecondary theme type variations 2025-10-03 13:34:49 +04:00
kobewi 8d91f83244 Ensure correct metadata for enum items 2025-10-03 11:31:16 +02:00
Thaddeus Crews b67b765a10
Merge pull request #111159 from KoBeWi/soon
Remaining FileDialog changes before unification
2025-10-02 15:12:02 -05:00
Thaddeus Crews c6a850634f
Merge pull request #111150 from WhalesState/remote-tree
Fix switching back to local SceneTree.
2025-10-02 15:11:57 -05:00
Thaddeus Crews c82387b384
Merge pull request #110827 from YeldhamDev/not_quite_right
Fix regression with min size on nested inspectors
2025-10-02 15:11:55 -05:00
Thaddeus Crews 1e3754c1d1
Merge pull request #111141 from stuartcarnie/shader_container_fix
Renderer: Fix missing shader_name; use forward declarations
2025-10-02 15:11:53 -05:00
kobewi fdc79f5286 Remaining FileDialog changes before unification 2025-10-02 19:13:04 +02:00
Rémi Verschelde 0f3e975aac
Merge pull request #111134 from KoBeWi/remove_remove_char
Fix enum strings losing space
2025-10-02 14:05:42 +02:00
Mounir Tohami 2182dedcc6 Fix switching back to local SceneTree. 2025-10-02 11:46:47 +03:00
Stuart Carnie 3ffcae66a8 Renderer: Fix missing shader_name; use forward declarations
* Moving over to RenderingShaderContainer, missed setting shader_name
* Use forward declaration reduces compile time when modifying
  rendering_shader_container.h from over 950s to about 10-15
2025-10-02 10:02:18 +10:00
Thaddeus Crews c92430e84a
Merge pull request #110737 from DeeJayLSP/no-embolden-when-variable
Editor font: do not embolden the Main Font if it's variable
2025-10-01 17:54:17 -05:00
Thaddeus Crews 1a504af2ee
Merge pull request #111121 from syntaxerror247/fix-drag-issue
Fix bottom panel being unintentionally draggable
2025-10-01 17:54:15 -05:00
Thaddeus Crews ef496a4289
Merge pull request #111085 from KoBeWi/focus_tagger
Fix tag name focus
2025-10-01 17:54:12 -05:00
Thaddeus Crews bf926c2000
Merge pull request #106503 from KoBeWi/docker_exe
Rework editor docks
2025-10-01 17:54:10 -05:00
Thaddeus Crews 4594de69fd
Merge pull request #111013 from stuartcarnie/shader_container_ext
Renderer: Move `reflect_spirv` to `RenderingShaderContainer`
2025-10-01 17:54:09 -05:00
kobewi ea452f2de5 Set correct saved history after clearing 2025-10-01 22:27:36 +02:00
kobewi 60c45fb64c Fix enum strings losing space 2025-10-01 22:00:31 +02:00
Thaddeus Crews 817974ec53
Merge pull request #108766 from aaronfranke/move-mat-3d-conv
Move Material3D conversion editor plugins to their own folder
2025-10-01 13:12:46 -05:00
Thaddeus Crews d9078d887f
Merge pull request #109049 from ryevdokimov/deprecate-script-add-root-node
Relocate `add_root_node` method to `EditorInterface` from `EditorScript` and deprecate old method
2025-10-01 13:12:45 -05:00
Thaddeus Crews a0afcdd05a
Merge pull request #103416 from CreatedBySeb/animation-workflow-enhancements
Minor Animation Player workflow enhancements
2025-10-01 13:12:44 -05:00
Thaddeus Crews 45dfd4dd23
Merge pull request #108147 from KoBeWi/set_get_is_back
Expose FileDialog callbacks for getting custom icons
2025-10-01 13:12:42 -05:00
Thaddeus Crews 1df6a40aa0
Merge pull request #110066 from Giganzo/folder-color
Fix folder color in FileSystem Dock when using light theme
2025-10-01 13:12:41 -05:00
Thaddeus Crews 9712d6fb1f
Merge pull request #109549 from jroprohehe/unknown_error_getting_token_fix
Fix the text editor confusing resource files of class JSON with json files.
2025-10-01 13:12:37 -05:00
Thaddeus Crews 0a5f7125e4
Merge pull request #104740 from Jojo-1000/update-import-plugin-docs
Update EditorImportPlugin docs and clarify which methods are required
2025-10-01 13:12:32 -05:00
Anish Mishra f7e052a456 Fix bottom panel being unintentionally draggable 2025-10-01 21:44:26 +05:30
kobewi ddcb3cfcf5 Store script states for built-in scripts 2025-10-01 17:57:46 +02:00
Vojtěch Struhár 59b1836b85 Change snap settings to not use LineEdits
Change snap settings to use SpinBox

Change snap settings to use EditorSpinSlider

Update editor/scene/3d/node_3d_editor_plugin.cpp

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

Use suffixes in snapping fields

Use meters suffix for translation snap setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-10-01 17:40:26 +02:00
David Snopek fe27a72cb5 Allow editor plugins to modify run arguments 2025-10-01 07:37:40 -05:00
kobewi f88b51995b Expose FileDialog callbacks for getting custom icons 2025-10-01 12:08:34 +02:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Aaron Franke 06f0c3fef6
Move Material3D conversion editor plugins to their own folder 2025-09-30 19:15:32 -07:00
Thaddeus Crews dd09d5b7dd
Merge pull request #110576 from Rindbee/fix-the-project-file-not-updated-when-some-file-removed
Fix the project file was not updated when some files were removed
2025-09-30 20:10:48 -05:00
Thaddeus Crews ac65df58a5
Merge pull request #110946 from KoBeWi/regions_of_ruin
Fix region folding not loading properly
2025-09-30 20:10:47 -05:00
Thaddeus Crews 44f4002bf2
Merge pull request #110661 from Calinou/dpitexture-fix-icon-name
Fix DPITexture editor icon name
2025-09-30 20:10:45 -05:00
Thaddeus Crews 318e6c77b5
Merge pull request #108473 from mihe/clickable-diagnostics
Make file part of errors/warnings clickable in Output panel
2025-09-30 20:10:42 -05:00
Thaddeus Crews 9d7663398a
Merge pull request #106415 from YeldhamDev/desobey_your_master
Ignore changes in "Master" bus while in the Audio Importer
2025-09-30 20:10:40 -05:00
Thaddeus Crews 22467f3a5b
Merge pull request #111018 from Zylann/fix_double_build_get_downloads_availability
Fix unreachable code warning in double-precision builds
2025-09-30 20:10:38 -05:00
Aaron Franke 9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Thaddeus Crews 5240f1c283
Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
Thaddeus Crews 6dc4272a1e
Merge pull request #110156 from aaronfranke/editor-res-filesystem
Fix inconsistent internal name of `get_resource_filesystem`
2025-09-30 18:35:15 -05:00
Thaddeus Crews af08ab49f7
Merge pull request #107468 from Calinou/editor-animationtree-warn-disabled
Display AnimationTree editor warnings when the node is disabled
2025-09-30 18:35:14 -05:00
Thaddeus Crews 19165b0b11
Merge pull request #111050 from MBCX/fix-incorrect-color-usage
Fix incorrect usage of `Color::from_hsv()` exposed by newer compilers
2025-09-30 18:35:12 -05:00
Thaddeus Crews 6b22951162
Merge pull request #107954 from stuartcarnie/unix_domain_socket_support
Add Core UNIX domain socket support
2025-09-30 18:35:08 -05:00
Thaddeus Crews f9a6e51e21
Merge pull request #104488 from arkology/texture-editors-reuse-shader
TextureEditors: Compile shader/material only once
2025-09-30 18:35:07 -05:00
Thaddeus Crews 70b6fa1525
Merge pull request #108576 from ryevdokimov/gizmo-rotation-arc
Create a rotation arc showing accumulated rotation when using transform gizmo
2025-09-30 18:35:06 -05:00
Thaddeus Crews 6f3c5088ae
Merge pull request #110492 from KoBeWi/pro🍐_languages
Improve editor language selector
2025-09-30 18:35:03 -05:00
Thaddeus Crews dba83ef669
Merge pull request #101521 from kitbdev/mesh3d_to_primitive_shape
Add MeshInstance3D primitive conversion options
2025-09-30 18:34:58 -05:00
Thaddeus Crews bf940f0eab
Merge pull request #108672 from KoBeWi/too_much_code
Reduce code duplication in material conversion
2025-09-30 18:34:56 -05:00
Logan Detrick f191fc8ab7 Remove stack pattern in inspector pending 2025-09-30 16:06:08 -07:00
Logan Detrick c3fdc85d16 Hide TileMap overlay when too zoomed out 2025-09-30 16:03:16 -07:00
kobewi 56e62869fb Fix tag name focus 2025-09-30 20:25:47 +02:00
Thaddeus Crews 21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Thaddeus Crews 7974cf00e7
Merge pull request #110952 from aaronfranke/skip-cons-then-copy
Skip copying values constructed immediately before returning
2025-09-30 11:19:15 -05:00
Thaddeus Crews 5089e9aef0
Merge pull request #105737 from Calinou/editor-project-settings-init-jolt
Use Jolt Physics by default in newly created projects
2025-09-30 11:19:14 -05:00
Thaddeus Crews fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
kobewi 084783e92b Reduce code duplication in material conversion 2025-09-30 16:56:05 +02:00
kobewi 618afcffa6 Add pivot_offset_ratio property to Control 2025-09-30 15:27:52 +02:00
kobewi be53dd3d04 Fix Quick Open history 2025-09-30 14:26:14 +02:00
Rémi Verschelde cf6da2a12e
i18n: Sync translations with Weblate
(cherry picked from commit d488e962df)
2025-09-30 13:32:35 +02:00
MBCX f00df0ad1e Fix incorrect usage of `Color::from_hsv()` that was exposed by newer compiler warnings 2025-09-29 18:18:51 -04:00
Malcolm Anderson 2f1e8dad74 Add Instant Preview to Quick Open dialog
Add toggle for instant preview

Always keep search box selected so that keyboard navigation works

Add default setting for Instant Preview

Directly set property value for resource via Quick Load menu (no undo/redo or dirty-scene functionality yet)

Add undo/redo functionality

Update class reference

Update doc/classes/EditorSettings.xml

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

Slight improvement(?) to wording of setting

Allow previewing without committing change

Address various suggestions/improvements

Only allow Instant Preview to be used if Quick Open menu is being used to modify a property

Only allow property-based Quick Load when resource to modify is defined (otherwise default to old behavior)

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Address comments/suggestions

Get rid of duplicated code and use original callback strategy

(Attempt to) fix Instant Preview for editing multiple nodes at once and undo/redo stack for single nodes

Fix cancelling Quick Open when multiple nodes are selected

Prevent initially selected item in Quick Open dialog from overwriting the currently selected property

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make a few changes/improvements based on feedback

- Combine some duplicated code into `_finish_dialog_setup()`
- Move `ERR_FAIL_NULL(p_obj);` to top of checks
- Fix renaming of `is_instant_preview_enabled()` across code, and remove now-redundant conditions where it is used
- Make `EditorResourcePicker::property_path` be `StringName` not `String`
2025-09-29 15:12:21 -07:00
Stuart Carnie 65e8b0951b Renderer: Move reflect_spirv to RenderingShaderContainer
This change introduces a new protected type, `ReflectedShaderStage` to
`RenderingShaderContainer` that derived types use to access SPIR-V and
the reflected module, `SpvReflectShaderModule` allowing implementations
to use the reflection information to compile their platform-specific
module.

* Fixes memory leak in `reflect_spirv` that would not deallocate the
  `SpvReflectShaderModule` if an error occurred.
* Removes unnecessary allocation when creating `SpvReflectShaderModule`
  by passing `NO_COPY` flag to `spvReflectCreateShaderModule2`
  constructor function.
* Replaces `VectorView` with `Span` for consistency
* Fixes unnecessary allocations in D3D12 shader container in
  `_convert_spirv_to_nir` and `_convert_spirv_to_dxil` which implicitly
  converted the old `VectorView` to a `Vector`
2025-09-30 06:40:14 +10:00
Marc Gilleron 0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
kobewi 97b398cba1 Rework editor docks 2025-09-29 17:30:41 +02:00
kobewi 65a00fc60a Delete "Activate now?" button 2025-09-28 22:46:30 +02:00
xuhuisheng 800ff0e01e fix snap Polygon2D editor 2025-09-28 12:52:13 +08:00
Pāvels Nadtočajevs 9318466183
Open translation CSV in the text editor instead of printing errors. 2025-09-27 17:29:25 +03:00
Aaron Franke 754d49ac81
Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
DallasHuff 3d16ea88c6 Add New File Shortcuts in FileSystem Dock
It currently takes several clicks to create a file in the filesystem dock. This
change adds the option to create shortcuts for creating files,
greatly reducing the number of inputs required to do so.
2025-09-26 18:52:30 -05:00
kobewi 835383d46b Fix region folding not loading properly 2025-09-26 23:29:31 +02:00
kobewi e68b171aaa Fix Script editor state types 2025-09-26 21:38:12 +02:00
Thaddeus Crews 9283328fe7
Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
Michael Alexsander 26745b4b87
Unfold tree items on hover while drag-n-dropping
Co-authored-by: suddjian
2025-09-26 14:38:45 -03:00
Hugo Locurcio cf259473d9 Show centiseconds in LightmapGI bake time printout in the editor
On modern high-end GPUs, bake times are regularly under 15 seconds,
especially with preview-quality settings.

In this case, sub-second differences can be significant for benchmarking,
so it's worth showing them.
2025-09-26 18:53:20 +02:00
Hugo Locurcio c4bbf27cb5 Use Jolt Physics by default in newly created projects
This also adds infrastructure to make specific settings the default, but only
in projects created after this point (so that existing projects
are not affected). This can be used for progressive upgrades in the future.

This applies to both the project creation dialog and creating projects
through the command line using `touch project.godot`.
2025-09-26 17:16:28 +02:00
Ricardo Buring 2f3eaa965c OBJ importer: Support bump multiplier (normal scale)
This improves compatibility with OBJ/MTL files found in the wild.
2025-09-26 12:46:31 +02:00
arkology 57b1848e8c `ProjectManager`: Change favorite button tooltip to toggle 2025-09-26 06:19:16 +00:00
Thaddeus Crews 121b1b7d58
Merge pull request #110420 from fstxz/fix-folder-nullptr
Fix crash due to null pointer dereference when moving/renaming folders in `FileSystemDock`
2025-09-25 14:57:10 -05:00
Thaddeus Crews 5088a93024
Merge pull request #110415 from fstxz/fix_favorites
Fix favorite folders that are outside of the project being displayed in `FileSystemDock`'s file list
2025-09-25 14:57:08 -05:00
Stuart Carnie 7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
arkology 221f1f4401 `FindInFiles`: Allow replace individual results 2025-09-25 21:43:05 +03:00
Thaddeus Crews c32c2606f4
Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Jojo-1000 71723f74b7 Mark necessary EditorImportPlugin functions as required 2025-09-25 17:15:32 +02:00
A Thousand Ships bd65cfa876
Revert "Replace many uses of `is_class` with `derives_from`."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Aaron Franke 23fa9d8508
Organize toggle files button logic in shader editor 2025-09-24 17:55:39 -07:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Thaddeus Crews 1ce3101fbc
Merge pull request #110814 from Jordyfel/2d-editor-get
Cache editor setting queried in hot path in 2D editor
2025-09-24 09:59:16 -05:00
Thaddeus Crews de27f3a435
Merge pull request #110108 from PiCode9560/suspend-button
Differentiate the suspend button in the Game tab with the Pause button in the editor run bar
2025-09-24 09:59:15 -05:00
Thaddeus Crews 5db618a2db
Merge pull request #109078 from WhalesState/text-edit-clipping
Fix TextEdit clips children and focus style.
2025-09-24 09:59:12 -05:00
Thaddeus Crews cf82b71c7a
Merge pull request #109915 from arkology/audio-editor
Fix Audio bottom panel going under the taskbar on small displays
2025-09-24 09:59:10 -05:00
Thaddeus Crews 78b743cf4a
Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Thaddeus Crews a7b2cd66ad
Merge pull request #105773 from dugramen/fix-inspector-spacing
Fix inspector spacing issues
2025-09-24 09:59:08 -05:00
Thaddeus Crews 22355f2114
Merge pull request #110251 from KoBeWi/semote_relect
Properly inspect old remote selection
2025-09-24 09:59:07 -05:00
Thaddeus Crews f987cf8a8a
Merge pull request #110231 from fstxz/fix_shader_path
Fix invalid suggested file name when saving resource from a scene that hasn't been saved yet
2025-09-24 09:59:06 -05:00
Thaddeus Crews 8c956babeb
Merge pull request #107013 from Rindbee/fix-wrong-node-path-in-connection-dialog
Fix the extra arguments of type `NodePath` in the connection dialog do not work
2025-09-24 09:59:03 -05:00
dugramen 5fa4e3dee1 Fix inspector spacing issues 2025-09-23 16:38:01 -04:00
Thaddeus Crews 2569d4088f
Merge pull request #109166 from Calinou/editor-expression-use-fixed-width-font
Use a fixed-width font for the expression evaluator
2025-09-23 14:51:50 -05:00
Thaddeus Crews 8d27c00038
Merge pull request #107692 from timothyqiu/editor-overrides-doc
Show description for editor setting overrides
2025-09-23 14:51:49 -05:00
Thaddeus Crews b1b9a42517
Merge pull request #108551 from KoBeWi/paste_as_unique_norecursive
Improve Paste as Unique option
2025-09-23 14:51:47 -05:00
Thaddeus Crews 44c847c1a5
Merge pull request #108162 from KoBeWi/preview_simplication
Change preview methods to take Callable
2025-09-23 14:51:44 -05:00
Thaddeus Crews c21e977e66
Merge pull request #107649 from timothyqiu/no-translations-configured
Show "No Translations Configured" message for empty translation preview menu
2025-09-23 14:51:44 -05:00
kobewi eae9ef2292 Change preview methods to take Callable 2025-09-23 20:13:00 +02:00
Lukas Tenbrink 8ef4a43ada Replace many uses of `is_class` with `derives_from`. 2025-09-23 19:59:00 +02:00
Michael Alexsander d283e4cb2a
Ignore changes in "Master" bus while in the Audio Importer 2025-09-23 14:58:09 -03:00
Thaddeus Crews 685c7e92e5
Merge pull request #100437 from KoBeWi/ruaninstancequestionmark
Add `is_instance()` helper method to Node
2025-09-23 12:08:48 -05:00
Thaddeus Crews 4b8cd07408
Merge pull request #110770 from arkology/find-in-files-count
`FindInFiles`: Show the number of matches for each file
2025-09-23 12:08:47 -05:00
Thaddeus Crews 2cc0f68c56
Merge pull request #110602 from Calinou/editor-sort-scripts-by-tweak-setting-order
Tweak the enum visual order for Sort Scripts By editor setting
2025-09-23 12:08:44 -05:00
Thaddeus Crews fc9a775f56
Merge pull request #104420 from pafuent/pause_audio_when_game_is_paused
Pause audio when game is paused
2025-09-23 12:08:34 -05:00
Michael Alexsander 8b68b55d16
Fix regression with min size on nested inspectors 2025-09-23 13:04:56 -03:00
Hugo Locurcio 0dcf28104d
Allow all gamepad devices for built-in `ui_*` input actions
This allows all controllers to navigate the UI, which enhances
compatibility with PC handhelds when external controllers are connected.

Previously, only the first device was allowed to use `ui_*` actions
out of the box, which means that on a PC handheld, external controllers
couldn't navigate the UI (since the first ID is always the built-in controller).
2025-09-23 17:12:56 +02:00
Jordyfel 7595a9061d Cache editor setting queried in hot path in 2D editor 2025-09-23 15:37:55 +03:00
Thaddeus Crews 3d63c6b602
Merge pull request #110137 from fstxz/fix_edit_script
Fix `ScriptEditor::edit()` not jumping to the first line
2025-09-22 21:00:57 -05:00
Thaddeus Crews 2455635238
Merge pull request #100876 from ryevdokimov/no-restart-prompt-custom-theme
Remove prompt to restart editor after changing custom theme
2025-09-22 21:00:56 -05:00
Thaddeus Crews 709226ad1c
Merge pull request #109515 from precup/speedy-selections
Speed up large selections in the editor
2025-09-22 21:00:54 -05:00
Thaddeus Crews 800bce8a7e
Merge pull request #107975 from BlueCube3310/cube-preview-improved
Improve the cubemap preview
2025-09-22 21:00:53 -05:00
Thaddeus Crews 38188881ce
Merge pull request #108549 from ryevdokimov/transform-gizmo-opacity-no-restart
Do not require editor restart when changing manipulator gizmo opacity setting
2025-09-22 21:00:52 -05:00
Ricardo Sanchez-Saez 038f5934e7
[Apple embedded] Adopt SwiftUI lifecycle for Apple embedded platforms
- Introduces a SCons builder for Swift files
- Increases the minimum deployment targets to iOS 14.0, and visionOS 26.0.
- Replaces manually UIWindow management by a SwiftUI instantiated app.
2025-09-22 18:20:04 -07:00
Thaddeus Crews a20ca7bbfe
Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews 2db6704576
Merge pull request #110259 from ktxyz/add-name-to-invalid-name-error-output
Add name info to EditorAutoloadSettings invalid name message
2025-09-22 13:28:50 -05:00
Thaddeus Crews f553875728
Merge pull request #110387 from timothyqiu/project-zip-utf8
Set language encoding flag when using Pack Project as ZIP
2025-09-22 13:28:49 -05:00
Thaddeus Crews 7ec4bd74ff
Merge pull request #110320 from WhalesState/cie-lock
Fix redundant calls of `CanvasItemEditor::_update_lock_and_group_button` on `SceneTreeEditor` node selection
2025-09-22 13:28:48 -05:00
Thaddeus Crews be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews d069699940
Merge pull request #110752 from wheatear-dev/expand-110693
Add `GDSOFTCLASS` to six inheritors of `Object`
2025-09-22 13:28:41 -05:00
Michael Alexsander f16ff829f0
Allow to use sliders for integers in `EditorSpinSlider` 2025-09-22 11:23:15 -03:00
Thaddeus Crews b56e83a041
Merge pull request #110135 from Flynsarmy/scene_changed
Emit scene_changed event when opening a scene from an empty tab list
2025-09-22 08:50:09 -05:00
Thaddeus Crews 5e8c2f9a0e
Merge pull request #108872 from Giganzo/text-contrast-stack-var
Fix bad text contrast on readonly EditorPropertyArray/Dict/Res
2025-09-22 08:50:04 -05:00
Thaddeus Crews 3ce6402d25
Merge pull request #109413 from WhalesState/ProfilerAutostartWarning-icon-cleanup
ProfilerAutostartWarning svg icon cleanup
2025-09-22 08:50:03 -05:00
Thaddeus Crews c852872cb2
Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Thaddeus Crews 94dbc42a56
Merge pull request #62083 from KoBeWi/string_slice'n_dice
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
Thaddeus Crews 3ef19961cc
Merge pull request #110242 from ktxyz/fix-crash-theme-and-another-project
Fix editor crash caused by EditorFileSystem::get_singleton access in theme initialization path
2025-09-22 08:50:00 -05:00
Thaddeus Crews 60c33a222c
Merge pull request #108929 from Giganzo/spin-slider-suffix
Add suffix to EditorSpinSlider tooltips
2025-09-22 08:49:59 -05:00
DeeJayLSP d719fc74f5 Editor font: do not embolden the Main Font if it's variable 2025-09-22 10:35:22 -03:00
Haoyu Qiu 172c80df67 Make text-related nodes translation domain aware
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
BlueCube3310 cd61d6f748 Improve the cubemap preview 2025-09-21 21:18:30 +02:00
Edward Moulsdale 12e97610a8 Add GDSOFTCLASS to six inheritors of Object 2025-09-21 16:22:29 +01:00
arkology 7fcc8c0831 `FindInFiles`: Show the number of matches for each file 2025-09-21 18:11:47 +03:00
Mounir Tohami b25e35cf58 Fix TextEdit styles and disable clipping.
Co-Authored-By: kit <kitbdev@gmail.com>
2025-09-21 07:32:30 +03:00
Michael Alexsander 53231879b3
Fix selection of remote tree using the keyboard 2025-09-20 20:11:59 -03:00
Thaddeus Crews 326b22124a
Merge pull request #108794 from bruvzg/macos_actool_export
[macOS] Add support for exporting macOS 26 Liquid Glass icons.
2025-09-20 13:41:38 -05:00
Thaddeus Crews 4588542dfc
Merge pull request #107065 from timothyqiu/scene-close-all
Allow closing all scene tabs via shortcut
2025-09-20 13:41:37 -05:00
Thaddeus Crews 25981beebd
Merge pull request #107511 from shadow-foss/insert-at-timeline-cursor-button
Add toggle for inserting keys/markers at current time vs mouse cursor's position
2025-09-20 13:41:35 -05:00
Thaddeus Crews 96185c7d8c
Merge pull request #106341 from fkeyzuwu/backup-drag-n-drop-export
Add drag and drop export variables
2025-09-20 13:41:31 -05:00
Thaddeus Crews 8159c45834
Merge pull request #109027 from timothyqiu/editor-node-variables
Remove unused member variables in EditorNode
2025-09-20 13:41:30 -05:00
Thaddeus Crews ab01179d6c
Merge pull request #106849 from KoBeWi/soft_coding
Don't hard-code hsplit count
2025-09-20 13:41:28 -05:00
风青山 fc0cbb3171
Fix the extra arguments of type `NodePath` in the connection dialog do not work
Make the node path relative to the target node instead of the source node.

Currently, a proxy object is used in the connection dialog to edit bound arguments.

In this case, the `EditorPropertyNodePath` will get the node path relative to the
source object in the connection (i.e. the object the InspectorDock is editing).

This path is not available in scripts (i.e. the target object in the connection).
2025-09-20 22:10:55 +08:00
Thaddeus Crews d7382aa058
Merge pull request #109502 from WhalesState/bottom-panel-fix
Fix scrolling to bottom panel selected button.
2025-09-19 20:54:34 -05:00
Thaddeus Crews b33e988aef
Merge pull request #109977 from timothyqiu/tooltip-atr-extract
Make POT generation use `tooltip_auto_translate_mode`
2025-09-19 20:54:30 -05:00
Thaddeus Crews daa89d5292
Merge pull request #109513 from precup/small-editor-optimizations
Miscellaneous editor optimizations for large scenes
2025-09-19 20:54:24 -05:00
Artemy Fedotov 0668944255
Fix `ScriptEditor::edit()` not jumping to the first line 2025-09-19 22:08:54 +04:00
Thaddeus Crews 3c9d03b875
Merge pull request #110269 from clayjohn/delay-RD-check
Defer checking for rendering device support until the new project dialog is opened
2025-09-19 13:07:20 -05:00
Thaddeus Crews 9ef1ec5870
Merge pull request #103608 from gr8alpaca/expose_node_3d_snapping
Expose 3D editor snap settings to EditorInterface
2025-09-19 13:07:18 -05:00
Thaddeus Crews 9cb6411740
Merge pull request #110164 from bruvzg/prop_pass
Use placeholder instead of value for tooltips of `PROPERTY_HINT_PASSWORD` properties.
2025-09-19 13:07:16 -05:00
Thaddeus Crews 8900a5e045
Merge pull request #110318 from bruvzg/ed_loc_cmd
Use `language` command line argument to override editor locale.
2025-09-19 13:07:11 -05:00
Thaddeus Crews 14bdf39806
Merge pull request #107789 from rsanchezsaez/apple/apple-embedded-export-template
Replace iOS/visionOS Xcode templates by new Apple embedded template
2025-09-19 13:07:09 -05:00
Thaddeus Crews 2a7e01e4fc
Merge pull request #80427 from MewPurPur/rework-noise-texture-icons
Rework icons of noise-related classes
2025-09-19 13:07:07 -05:00
Thaddeus Crews 4fa2409c78
Merge pull request #82121 from MewPurPur/more-icons
Add icons to some editor classes
2025-09-19 13:07:04 -05:00
Sébastien Dunne Fulmer cf65c18817 Auto-select sole AnimationPlayer on panel open 2025-09-19 18:53:37 +01:00
Sébastien Dunne Fulmer 8a741f10f8 Add button to add animation player in track editor 2025-09-19 18:53:37 +01:00
Michael Alexsander aeb3a45c97
Hide `Control` focus when given via mouse input 2025-09-19 13:43:29 -03:00
jroprohehe e4763e6329 Fix the text editor confusing resource files of class JSON with json files. 2025-09-19 19:24:42 +03:00
Mounir Tohami b9837e4ada Fix scrolling to bottom panel selected button.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-09-19 17:43:06 +03:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews 2753d333f6
Merge pull request #109375 from ColinSORourke/VisualShaderEmbedHandling
Fix VisualShader Conversion failing with subresources
2025-09-19 09:17:10 -05:00
Thaddeus Crews 9b96eaaf80
Merge pull request #107989 from Jojo-1000/docs-add-required-qualifier
Documentation: Add missing required qualifier for various classes
2025-09-19 09:17:06 -05:00
Thaddeus Crews 5365372b3d
Merge pull request #110189 from bjornmp/Fix-for-issue-#110178
Fix Clear option not visible when a Resource's @export-ed property is a Script
2025-09-19 09:17:03 -05:00
Thaddeus Crews dd8ae6cc66
Merge pull request #110413 from timothyqiu/sc-paths
Fix Open Editor Data/Settings Folder menu in self-contained mode
2025-09-19 09:17:02 -05:00
Thaddeus Crews b2e75e5322
Merge pull request #110188 from vaner-org/converter-animation-suffix
Trim -loop & -cycle from animations during Godot 3 to 4 conversion
2025-09-19 09:17:01 -05:00
Thaddeus Crews 988721cda3
Merge pull request #106146 from gtibo/show-encryption-key
Add "Show Encryption Key" toggle
2025-09-19 09:16:59 -05:00
kobewi a4b5b0ec68 Keep shortcut selected when clearing filter 2025-09-19 16:15:37 +02:00
kobewi 2fd881c40f Don't hard-code hsplit count 2025-09-19 16:05:26 +02:00
Ivan Shakhov ecf6620ab7 Extend DAP to allow debug main/current/specific_scene and also commanline arguments - fix https://github.com/godotengine/godot-proposals/discussions/12121
Co-authored-by: Artemy Fedotov <47072685+fstxz@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-19 09:21:21 +02:00
Thaddeus Crews 9dde5688a5
Merge pull request #110619 from timothyqiu/imported-animation
Fix imported animation warning labeled as Imported Scene
2025-09-18 21:02:34 -05:00
Thaddeus Crews 835a709303
Merge pull request #110291 from StarryWorm/for-merge
Enable objects stored as dictionary keys to be selected in inspector.
2025-09-18 21:02:33 -05:00
Thaddeus Crews 42fbaba8ad
Merge pull request #110225 from fstxz/edit_script_column
Fix `ScriptEditor::edit()` ignoring column parameter
2025-09-18 21:02:32 -05:00
Thaddeus Crews 7a82648b2b
Merge pull request #110404 from bruvzg/empty_shader_file
Shader Editor: Show "File" menu when no shaders are opened.
2025-09-18 21:02:25 -05:00
Michael Alexsander 0f614cd63f
Show marker lines/sections in the animation bezier editor 2025-09-18 21:50:04 -03:00
Colin O'Rourke c4559c02de VisualShader Conversion fails with Embeds
Potentially resolves https://github.com/godotengine/godot/issues/101375

VisualShader now has a has_node_embeds function that runs through it's child nodes to find embedded resources via object properties. Conversion plugin uses this function to catch the error.
2025-09-18 14:35:30 -07:00
Pablo Andres Fuente b0080500bd Pause audio when game is paused
Fixes #68880

Implementation based on #99555
2025-09-18 18:01:49 -03:00
kobewi f320274ca3 Improve Paste as Unique option 2025-09-18 22:34:48 +02:00
Hugo Locurcio d824e79fc0 Fix DPITexture editor icon name
It was still using its previous name from 4.5 development.
2025-09-18 17:21:02 +02:00
Haoyu Qiu 3f03260a21 Cleanup editor translation related methods
- Unify logic for loading editor/property/doc/extractable translations.
- Replace legacy `TranslationServer` methods with translation domains for internal translations.
- Only pre-create editor/property/doc translation domains in editor builds.
- Prevent adding `null` translation.
- Fixes potential loading of duplicated editor translations.
- Add internal `has_translation_for_locale()` instead of calling `get_loaded_translations().has()`.
2025-09-18 20:27:09 +08:00
kit 3892fa4a0b Add MeshInstance3D primitive conversion options 2025-09-17 18:56:25 -04:00