Commit Graph

17691 Commits

Author SHA1 Message Date
Chaosus
0ceb992ffa Fix incomplete FPS spinbox display in sprite frames editor 2025-01-19 17:19:16 +03:00
Mounir Tohami
2f87b7aae0 Fix BottomPanel excessive width. 2025-01-19 14:21:43 +02:00
kobewi
8aa3ee6a35 Create .uid files in EditorFileSystem 2025-01-18 21:01:39 +01:00
Hilderin
f216efdd6d Fix Embedded Game Window with user arguments 2025-01-18 00:36:07 -05:00
Thaddeus Crews
7b1ed520bd
Merge pull request #101592 from Ivorforce/float-constant-defs-translate-macos
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Fix float constant descriptions not translating on macOS.
2025-01-17 17:09:26 -06:00
Thaddeus Crews
1351d3098e
Merge pull request #101565 from Hilderin/laspencer91/add-lookup-symbol-shortcut
Added shortcut for Lookup Symbol action
2025-01-17 17:09:24 -06:00
kobewi
d8db3085a3 Don't duplicate .uid files 2025-01-17 14:22:18 +01:00
Lukas Tenbrink
27665436cd Fix float constant descriptions not translating on macOS. 2025-01-17 09:33:41 +01:00
Thaddeus Crews
fd88acc671
Merge pull request #101008 from Repiteo/scons/nocache-all-text
SCons: Properly `NoCache` all text files
2025-01-16 17:17:59 -06:00
Thaddeus Crews
7dba09882a
Merge pull request #101557 from btgs-0/empty-project-window-flowcontainer-101530
Make the `empty_list_actions` HBoxContainer into a FlowContainer.
2025-01-16 17:17:55 -06:00
Thaddeus Crews
cad87e5a75
Merge pull request #101574 from bruvzg/fs_err_res
Fix conversion plugin search showing errors on `TextFile` and `OtherFile`.
2025-01-16 17:17:47 -06:00
Thaddeus Crews
d6adc775a4
Merge pull request #89763 from ajreckof/fix-focus-on-reorder
Fix focus when reordering array
2025-01-16 17:17:42 -06:00
David Snopek
416ee5f01c Update export preset options overrides before doing "Remote Debug" 2025-01-16 17:04:05 -06:00
Thaddeus Crews
73278bf35d
SCons: Properly NoCache all text files 2025-01-16 16:59:12 -06:00
Pāvels Nadtočajevs
05ce2fb0c8 Fix crash in Particles3DEmissionShapeGizmoPlugin. 2025-01-16 15:15:21 +02:00
Rémi Verschelde
0726d3c7d5 Merge pull request #101595 from adamscott/fix-with-String--num_64
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Replace some problematic uses of `String::num` to `String::num_int64`
2025-01-16 01:49:19 +01:00
Rémi Verschelde
5718845d99 Merge pull request #101576 from bruvzg/pm_size_fix
Fix project manager window size when `EDSCALE` is not 1.0.
2025-01-16 01:49:15 +01:00
kobewi
b761ff662e Rework script external modification tracking 2025-01-16 01:03:26 +01:00
Lars Pettersson
8fd71e6b17
Fix default AudioBusLayout not loading correctly 2025-01-15 19:10:37 +01:00
Adam Scott
33e16435f5
Replace some problematic uses of String::num to String::num_int64 2025-01-15 12:51:51 -05:00
Mateus Elias
0158efc153 Fix ProjectManager::_open_selected_projects_check_recovery_mode() method
Check if at least one project is selected.
2025-01-15 10:18:31 -03:00
Pāvels Nadtočajevs
934668a69a Fix project manager window size when EDSCALE is not 1.0. 2025-01-15 12:39:02 +02:00
Pāvels Nadtočajevs
e127093fe8 Fix conversion plugin search showing errors on TextFile and OtherFile. 2025-01-15 11:36:46 +02:00
laspencer91
ba411e95f8 Added shortcut for Lookup Symbol action
Co-authored-by: laspencer91 <laspencer@live.com>
2025-01-14 18:42:07 -05:00
BT
0b06df10e9 Make the empty_list_actions HBoxContainer into a FlowContainer. 2025-01-15 07:04:09 +10:30
Rémi Verschelde
67f54bd993 Merge pull request #101531 from akien-mga/scene-import-remove-unused-_get_import_flags
Remove unused `EditorSceneFormatImporter::_get_import_flags`
2025-01-14 18:29:40 +01:00
Rémi Verschelde
19bb441a3b Merge pull request #100803 from larspet/uid-tooltip
Show tooltips for `res://` and `uid://` strings in ScriptEditor
2025-01-14 18:29:37 +01:00
Rémi Verschelde
21fcb56547 Remove unused EditorSceneFormatImporter::_get_import_flags
This has never been used since Godot was open sourced.

Import flags are used but directly through `_import_scene`.
2025-01-14 16:57:06 +01:00
Kasper Arnklit Frandsen
ebf9681668 Add Show in FileSystem right click option to SpriteFrames 2025-01-14 16:55:14 +01:00
Lars Pettersson
e813d3021b Show tooltips for res:// and uid:// strings in ScriptEditor 2025-01-14 15:29:41 +01:00
Kilian Strunz
791ad97beb Respect order of externsions for ResourceFormatSavers with at_front 2025-01-14 13:36:29 +01:00
Rémi Verschelde
dde7a9407a Merge pull request #101525 from TokageItLab/fix-shifted-joint-spring-bone
Fix shifted joint radius index in SpringBone gizmo and remove unused `end_bone_tip_radius` property
2025-01-14 12:09:16 +01:00
Rémi Verschelde
8ef53ab8b4 Merge pull request #101519 from LanzaSchneider/patch-2
Fix theme options in project manager incorrectly using translated text
2025-01-14 12:09:13 +01:00
Rémi Verschelde
336459168f Merge pull request #101455 from Calinou/editor-gridmap-update-preview-size
Make GridMap editor Preview Size setting take effect immediately after change
2025-01-14 12:09:05 +01:00
Rémi Verschelde
7a99e5ef5a Merge pull request #101234 from syntaxerror247/out-of-screen
Fix gui overflow in Android editor
2025-01-14 12:08:58 +01:00
Rémi Verschelde
f07e3ed551 Merge pull request #100157 from Zylann/texture_preview_channel_selector
Add color channel filter to editor texture previews
2025-01-14 12:08:54 +01:00
Rémi Verschelde
8cf6061dfd Merge pull request #99844 from KoBeWi/give_back_the_focus
Fix progress dialog steals focus
2025-01-14 12:08:46 +01:00
Saracen
048788f07d Fix scrolling for advanced importer controls. 2025-01-14 11:36:48 +01:00
Silc Lizard (Tokage) Renew
7b3d14fbcd Fix shifted joint radius index in SpringBone gizmo/remove unused tips 2025-01-14 16:27:59 +09:00
Lanza
554d419836
Fix theme options in project manager incorrectly using translated text 2025-01-14 10:32:24 +08:00
kobewi
77d18d1ad4 Fix progress dialog steals focus
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-01-14 01:37:21 +01:00
Rémi Verschelde
2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
Lyuma
e4de1f4583 Make EditorSceneFormatImporter::_get_import_options match EditorScenePostImportPlugin API 2025-01-13 21:45:53 +01:00
Silc Lizard (Tokage) Renew
5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
Rémi Verschelde
68190ce3bc Merge pull request #101478 from monxa/smaller-vc-min-size
Allow smaller minimum width of VersionControlEditorPlugin
2025-01-13 20:22:32 +01:00
Rémi Verschelde
b9fd015ed0 Merge pull request #101472 from KoBeWi/remove_entries_real_edition
Allow removing files in the file search
2025-01-13 20:22:28 +01:00
Rémi Verschelde
06a49a9ad8 Merge pull request #101424 from kiroxas/improveNavigationLink3DGizmoPlugin_redrawPerformance
Improve `NavigationLink3DGizmoPlugin::redraw` performance
2025-01-13 20:22:16 +01:00
Rémi Verschelde
9da7e7d89d Merge pull request #101163 from Synzorasize/implement_11386
Allow prefixing with '%' to set a node as unique in the Scene Tree Dock
2025-01-13 20:21:59 +01:00
Rémi Verschelde
4812856c23 Merge pull request #101116 from m4gr3d/add_run_current_scene_options
[XR Editor] Allow specifying whether to play the current scene or a specific scene in XR or regular mode
2025-01-13 20:21:56 +01:00
Rémi Verschelde
524cbec858 Merge pull request #100309 from Chaosus/vs_prevent_invalid_boolean_varying
Prevent using boolean varyings in vertex function of visual shaders
2025-01-13 20:21:43 +01:00
Rémi Verschelde
e9b18fcc38 Merge pull request #99741 from a-johnston/reload_scene_compare_relative_path
Compare localized path against editor scene path when reloading
2025-01-13 20:21:32 +01:00
Synzorasize
9d00a773f8 Allow prefixing with '%' to set a node as unique in the Scene Tree Dock 2025-01-13 09:38:07 -06:00
Fredia Huya-Kouadio
4bc8918c19 Add support for specifying whether to play the current scene or a specific scene in XR or regular mode
The functionality is only activated for the XR Editor, when a project has OpenXR enabled.
2025-01-12 22:02:24 -08:00
Alexander Montag
fe5612fb5d Allow smaller horizontal size of VersionControlEditorPlugin 2025-01-13 03:32:29 +01:00
kobewi
03b60027ee Allow removing files in the file search
Co-authored-by: Stronkkey <Ail45000@proton.me>
2025-01-12 23:24:15 +01:00
Kiro
d36a9ab591 improve NavigationLink3DGizmoPlugin::redraw performance 2025-01-12 19:48:12 +01:00
Rémi Verschelde
bb8001c83a Merge pull request #101450 from TokageItLab/reset-anim-skeleton
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 18:07:32 +01:00
Rémi Verschelde
6a57a1e63b Merge pull request #101445 from KoBeWi/they_are_back
Add `Copy Script UID` option to Script Editor
2025-01-12 18:07:20 +01:00
Rémi Verschelde
adab1518a5 Merge pull request #99451 from Mickeon/doc-help-copy-to-clipboard
Show editor toaster when copying `[codeblock]` in class reference
2025-01-12 18:07:02 +01:00
Rémi Verschelde
aeffdd5d51 Merge pull request #94196 from HolonProduction/local-var-icon
Add icon for local variable completion options
2025-01-12 18:06:56 +01:00
Hugo Locurcio
80b8d6dbe6
Make GridMap editor Preview Size setting take effect immediately after change
Previously, you had to interact with the zoom widget after changing
the editor setting for the preview size to update.

This also adds property hints for the GridMap editor settings.
2025-01-12 02:01:30 +01:00
Marc Gilleron
c7a9d64eaf Add color channel filter to editor texture previews 2025-01-11 23:27:48 +00:00
Silc Lizard (Tokage) Renew
d5e91eaa42 Change reset timing of the AnimationMixer and Skeleton on save 2025-01-12 07:12:34 +09:00
Rémi Verschelde
3a8fe456a5 Merge pull request #101383 from WhalesState/color-picker-wheel
Add `ColorPicker` cursor background and reuse the cursor for wheel.
2025-01-11 22:30:00 +01:00
Rémi Verschelde
f431419e7b Merge pull request #99781 from Meorge/pack-project-as-zip
Add "Pack Project as ZIP..." to Project menu
2025-01-11 22:29:33 +01:00
kobewi
90ef140169 Add Copy Script UID option to Script Editor
Co-authored-by: Alex Drozd <drozdster@gmail.com>
2025-01-11 22:19:48 +01:00
Hugo Locurcio
cc86322d8d
Increase the project manager's default window size
This makes the project manager feel less cramped when many
projects are imported, or when browsing templates in the asset library.

On displays smaller than 1152x800 (e.g. 1366x768), window height is
automatically limited by DisplayServer when setting the window size.

This also tweaks splash screen size when starting the project manager
to match the project manager's default window size, and allows the
`--resolution` and `--position` CLI arguments to affect the project
manager.

Lastly, this increases the minimum width slightly to prevent the UI
from being cut off with the default theme.
2025-01-11 18:25:24 +01:00
HolonProduction
5c9d80592a Add icon for local variable completion options 2025-01-11 17:22:21 +01:00
Rémi Verschelde
abf8e1e6f9 Merge pull request #101405 from Hilderin/fix-game-view-cannot-be-editor-feature-disabled
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix Game View cannot be editor feature disabled
2025-01-10 23:06:50 +01:00
Rémi Verschelde
0332cee3d4 Merge pull request #101404 from ryevdokimov/mouse-enter-signal-to-notification
Change editor viewports gizmos mouse enter/exit from using signals to notifications
2025-01-10 23:06:47 +01:00
Rémi Verschelde
39f73bb9ff Merge pull request #101369 from ryevdokimov/cancel-viewport-rotation-gizmo
Add ability to cancel rotation from viewport rotation gizmo
2025-01-10 23:06:32 +01:00
Rémi Verschelde
867425fd62 Merge pull request #101021 from bruvzg/empick
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 23:06:03 +01:00
Rémi Verschelde
138c2c8b51 Merge pull request #93399 from Chaosus/vs_sky_derivative
Add derivative functions to sky shader mode in visual shader
2025-01-10 23:05:38 +01:00
Miguel Coelho
3a6bfcb714 Implemented drag-and-drop logic for previewing themes
Dragging valid theme files (.tscn files with a Control node at the top)
from the filesystem region over to the ThemeEditor will preview the
theme in question in a new preview tab

Co-authored-by: Sofia Paiva <sofia.paiva@tecnico.ulisboa.pt>
2025-01-10 22:28:10 +01:00
Robert Yevdokimov
a8f3c9727e Add ability to cancel rotation from viewport rotation gizmo 2025-01-10 15:41:06 -05:00
Hilderin
683cef1df5 Fix Game View cannot be editor feature disabled 2025-01-10 14:53:41 -05:00
Robert Yevdokimov
d17cf852e3 Change editor viewports gizmos mouse enter/exit from using signals to notificatons 2025-01-10 13:41:49 -05:00
WhalesState
2eded468f9 Add ColorPicker cursor background and reuse the cursor for wheel.
Add a cursor's background to fill the picker cursor.
Unhardcode the wheel radius.
Reuse the picker cursor image for the HSV wheel.
2025-01-10 09:55:54 +02:00
Yuri Rubinsky
0aede87b67 Add derivative functions to sky shader mode in visual shader 2025-01-10 10:28:02 +03:00
Pāvels Nadtočajevs
b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Malcolm Anderson
6b33037021 Add menu bar item for "Pack Project as ZIP..."
Apply suggestions from code review

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

Fix includes

Update editor/editor_node.cpp

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-09 20:37:02 -08:00
Rémi Verschelde
06a6a0bcdb Merge pull request #101350 from Calinou/path-draw-fewer-fish-bones
Draw fewer fishbones to improve Path gizmo readability and performance
2025-01-09 20:51:37 +01:00
Danil Alexeev
cd918ff470
GDScript: Remove RENAMED_IN_GODOT_4_HINT from GDScriptWarning::Code enum 2025-01-09 21:07:41 +03:00
Hugo Locurcio
13a1391e73
Draw fewer fishbones to improve Path gizmo readability and performance
This affects both Path2D and Path3D.
2025-01-09 16:08:29 +01:00
Rémi Verschelde
0e3a5eda86 Merge pull request #101335 from Rocka06/spriteframes-duplicate-line
Fix frame list icon mode is set two times
2025-01-09 13:51:20 +01:00
Rémi Verschelde
67294625a4 Merge pull request #101315 from Rocka06/spriteframes-plugin-duplicate-style
Fix duplicate buttons style to match the other buttons in the SpriteFrames editor plugin
2025-01-09 13:51:10 +01:00
Rémi Verschelde
1f675e67db Merge pull request #101278 from bruvzg/ed_prop_nt_dict
Fix non-typed Dictionary keys displayed as `<null>` in the inspector.
2025-01-09 13:51:07 +01:00
Rémi Verschelde
3ac4da1620 Merge pull request #101233 from Ivorforce/utf8-multicall
Optimize calls of `utf8` in a few spots to avoid calling it more than once.
2025-01-09 13:50:55 +01:00
Rémi Verschelde
6d7ddfcd1b Merge pull request #101093 from KoBeWi/infinite_menu_entropy
Reorganize EditorNode menu options
2025-01-09 13:50:42 +01:00
Rémi Verschelde
a52291fcba LightmapGI: Fix another missing include to check for lightmapper_rd in editor 2025-01-09 12:53:12 +01:00
kobewi
24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
bruvzg
b8860f1c11 Fix non-typed Dictionary keys displayed as <null> in the inspector. 2025-01-09 11:38:17 +02:00
Sohonyai Tibor
7c3d46004b removed duplicate set_icon_mode 2025-01-09 09:59:15 +01:00
Rémi Verschelde
4d77bbf490 Merge pull request #100069 from allenwp/editor-shortcuts-undo-fix
Fix undo behavior on `EditorSettingsDialog::_update_builtin_action`.
2025-01-09 00:42:18 +01:00
Sohonyai Tibor
25e0278525 fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin 2025-01-08 21:58:34 +01:00
Rémi Verschelde
76c8e76560 Merge pull request #101284 from akx/tyops
A handful of typo fixes
2025-01-08 15:53:33 +01:00
Rémi Verschelde
0dcc1a37d3 Merge pull request #101094 from KoBeWi/what_if
Simplify scene tabs option disabling
2025-01-08 15:53:26 +01:00
Aarni Koskela
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
kobewi
a705962d73 Simplify scene tabs option disabling 2025-01-08 00:23:52 +01:00
Rémi Verschelde
a7d84fa022 Merge pull request #100792 from lyuma/post_import_plugin_subresources
Allow post-import plugins to modify `_subresources`
2025-01-08 00:21:03 +01:00
Rémi Verschelde
f7b9a6a8b1 Merge pull request #100091 from AeioMuch/fix_nodepath_in_history
Add missing cleanup of editor history & set appropriate class icon for object in it
2025-01-08 00:20:58 +01:00
Rémi Verschelde
01913e0852 Merge pull request #101156 from Hilderin/fix-documentation-tooltip-over-debug-tooltip
Fix documentation tooltip over debug tooltip
2025-01-07 23:18:00 +01:00
Rémi Verschelde
fdfa1f24a0 Merge pull request #101098 from KoBeWi/rect_pretender
Don't show "Drawing rect" when not actually drawing
2025-01-07 23:17:55 +01:00
Rémi Verschelde
3e53d73996 Merge pull request #101038 from KoBeWi/QuickerOpenDialog
Remember QuickOpenDialog history between sessions
2025-01-07 23:17:48 +01:00
Rémi Verschelde
de1499c3c2 Merge pull request #100927 from KoBeWi/yeah,_uids
Assign new UID when duplicating file externally
2025-01-07 23:17:44 +01:00
Rémi Verschelde
0fee2724f0 Merge pull request #100751 from YYF233333/force_regex_with_editor
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +01:00
Rémi Verschelde
9788b3db1d Merge pull request #100569 from arkology/texture-preview-borders
Show "transparent background" texture only behind actual texture in `TexturePreview` class + add borders for readability
2025-01-07 23:17:32 +01:00
Rémi Verschelde
1639174455 Merge pull request #100558 from KoBeWi/docking_in_progress
Rework dock layout management
2025-01-07 23:17:27 +01:00
Rémi Verschelde
ce6c3c5c28 Merge pull request #100556 from KoBeWi/unlimited_contextizer
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01:00
Rémi Verschelde
7bbdcc802b Merge pull request #100419 from KoBeWi/times_before_search_were_better
Fix folders uncollapsed after restart with filter
2025-01-07 23:17:18 +01:00
AeioMuch
96e59b99ba Cleanup editor history when opening the history menu popup & set appropriate class icon for object in it. Handle do&undo for selection when reparenting 2025-01-07 23:15:30 +01:00
Hilderin
731a1ec206 Fix documentation tooltip over debug tooltip 2025-01-07 16:42:29 -05:00
Anish Mishra
b0ae6f7f01 Fix gui overflow in Android editor 2025-01-08 02:52:14 +05:30
Lukas Tenbrink
0fddf6a824 Optimize calls of utf8 in a few spots to avoid calling it more than once. 2025-01-07 17:24:21 +01:00
Yufeng Ying
34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
Rémi Verschelde
6e9be55ee2
Merge pull request #100104 from bruvzg/ts_data_in_template
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
Rémi Verschelde
9b6322a6f1
Merge pull request #97478 from bruvzg/emb_obj
[TextServer] Improve embedded objects handling performance.
2025-01-07 10:14:30 +01:00
Rémi Verschelde
9890cc9d59
Merge pull request #97136 from chocola-mint/fix-#97021
Stop EditorNode from refreshing the current scene tab when not needed
2025-01-07 10:14:26 +01:00
Pāvels Nadtočajevs
3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
bruvzg
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
chocola-mint
86a6794a4a Stop EditorNode from refreshing the current scene tab when not needed 2025-01-07 13:36:46 +09:00
BattyBovine
6dc6ad2b86 Prevent errors when drawing debug meshes when surface count is zero.
Adds a few checks to ensure a debug collision mesh contains mesh data before
attempting to add it to the gizmo draw list. This prevents errors when using
SeparationRayShape3D, which is only intended to draw a single line, and
contains no mesh data.

Closes #100665
2025-01-06 21:35:52 -05:00
Rémi Verschelde
452f1fa0e9
Merge pull request #100512 from bruvzg/dict_keys
[Dictionary Property Editor] Use property editors instead of labels to display keys.
2025-01-07 00:45:00 +01:00
Rémi Verschelde
21a6bd8dca
Merge pull request #101182 from stuartcarnie/editor_crash_import
Editor: Fix crash when using `--import --verbose` due to use-after-free
2025-01-06 22:49:29 +01:00
Rémi Verschelde
caefffe9d5
Merge pull request #101153 from Hilderin/fix-embed-game-focus-border
Fix embedded game focus border
2025-01-06 22:49:18 +01:00
Rémi Verschelde
3de10d58ff
Merge pull request #101145 from hpvb/fix-scenetree-editor-marked
Make sure marked nodes are reset on scene change
2025-01-06 22:49:09 +01:00
Rémi Verschelde
20728e7b05
Merge pull request #101101 from Calinou/editor-add-gridmap-grid-color-setting
Add an editor setting for the GridMap grid color
2025-01-06 22:48:50 +01:00
Rémi Verschelde
063731450d
Merge pull request #101096 from KoBeWi/fighting_the_SPAM
Don't print error when updating terrains tree without layer
2025-01-06 22:48:43 +01:00
Rémi Verschelde
2758b8666c
Merge pull request #101087 from KoBeWi/is_not_foreign
Fix converting root Sprite2D
2025-01-06 22:48:39 +01:00
Rémi Verschelde
c09b7224b5
Merge pull request #101078 from larspet/fs-changed-scroll
Don't scroll to selected file in FileSystem when saving scenes
2025-01-06 22:48:31 +01:00
Rémi Verschelde
f18bb5ba1a
Merge pull request #100999 from KoBeWi/theme_wariat
Fix ProjectTag button variation
2025-01-06 22:48:16 +01:00
Rémi Verschelde
ded4b5b91f
Merge pull request #99966 from YeldhamDev/in_the_depths_of_searching
Make Inspector search inside sub-resources
2025-01-06 22:47:24 +01:00
Rémi Verschelde
b63349024a
Merge pull request #99898 from MewPurPur/bro-the-order-didnt-change-wdym
Don't create an UndoRedo action if Autoload order doesn't change after Drag & Drop
2025-01-06 22:47:16 +01:00
Rémi Verschelde
a06e9ebe91
Merge pull request #99439 from aXu-AP/polygon-editor-bottom-dock
Move UV editor to bottom dock, rename to Polygon editor
2025-01-06 22:47:04 +01:00
Rémi Verschelde
11f95e7feb
Merge pull request #99350 from bruvzg/fs_mime
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde
ae205b0fc6
Merge pull request #98926 from YeldhamDev/out_all_of_you
Add toggle to hide filtered out parents in the "SceneTree" dock
2025-01-06 22:46:48 +01:00
Rémi Verschelde
ba8a155551
Merge pull request #98909 from demolke/master
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
MewPurPur
4cadfd3eb9
Don't create an UndoRedo action if Autoload order doesn't change after Drag & Drop 2025-01-06 22:21:45 +01:00
arkology
db4ae2a91c Show "transparent background" texture only behind actual texture in TexturePreview class + add borders for readability 2025-01-07 00:10:21 +03:00
Michael Alexsander
753900188a
Make Inspector search inside sub-resources 2025-01-06 12:30:55 -03:00
Stuart Carnie
501fc1a6ff Editor: Fix crash when using --import --verbose due to use-after-free 2025-01-06 07:46:51 -07:00
Hilderin
db0fab8f8c Fix embedded game focus border 2025-01-05 08:35:44 -05:00
HP van Braam
7ce9c339b3 Make sure marked nodes are reset on scene change
The performance improvement on the SceneTreeEditor caused the previous
state of the SceneTreeEditor::marked HashSet to matter, when it
previously was always just overwritten when markings changed. The old
code thus had no reason to ever clear the marking list.

We now make sure that whether the SceneTreeEditor is hidden or not that
when the edited scene changes we always reset the entire state of the
editor, including the marked HashSet.
2025-01-05 01:58:14 +01:00
Pāvels Nadtočajevs
e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
Hugo Locurcio
19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
kobewi
f8fd15690c Don't show "Drawing rect" when not actually drawing 2025-01-03 22:54:26 +01:00
kobewi
3366f08a2c Don't print error when updating terrains tree without layer 2025-01-03 22:23:52 +01:00
aXu-AP
8318eda899 Move Polygon2D editor to bottom panel
Move UV editor to bottom panel to allow realtime preview of results. Rename the editor to Polygon editor.

Refactor enums and rename polygon editor members.
Remove "uv" prefixes and clarify some names. Reorder/regroup some members in header file.
2025-01-03 22:22:55 +02:00
kobewi
685ff5be8f Fix converting root Sprite2D 2025-01-03 20:05:27 +01:00
Lars Pettersson
e492ddde12
Don't scroll to selected file in FileSystem when saving scenes 2025-01-03 16:29:00 +01:00
kobewi
e167f4df37 Remember QuickOpenDialog history between sessions 2025-01-03 11:51:28 +01:00
Ricardo Subtil
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
kobewi
c1cdcad96a Fix ProjectTag button variation 2025-01-03 11:41:00 +01:00
Rémi Verschelde
c3c0c24d1e
Merge pull request #100863 from larspet/project-list-placeholder
ProjectManager: Update project list placeholder when project is created
2025-01-03 02:01:32 +01:00
Rémi Verschelde
88a101ef8c
Merge pull request #100787 from KoBeWi/uid_be_like_'I'm_back'
Re-create missing .uid files
2025-01-03 02:01:28 +01:00
Rémi Verschelde
a17a0bc808
Merge pull request #100717 from KoBeWi/icon_uncache
Fix icon UIDs in Project Manager
2025-01-03 02:01:24 +01:00
Rémi Verschelde
6c6e74408c
Merge pull request #94616 from Chaosus/vs_fix_vec4_constant
Change `VisualShaderNodeVec4Constant` type to vec4
2025-01-03 02:01:09 +01:00
Rémi Verschelde
94f23c342a
Merge pull request #101010 from smix8/navlink_debug_direction
Add NavigationLink debug direction indicator
2025-01-03 00:50:06 +01:00
Rémi Verschelde
88babbdce2
Merge pull request #100932 from ajreckof/Fix-dictionary-editor-steals-focus-when-recreating-full-inspector-
Fix dictionary editor steals focus when reloading script.
2025-01-03 00:49:41 +01:00
Rémi Verschelde
d01768d858
Merge pull request #100925 from KoBeWi/Stop.Duplicating.Scripts-
Respect `PROPERTY_USAGE_NEVER_DUPLICATE` with Make Sub-Resources Unique
2025-01-03 00:49:29 +01:00
Rémi Verschelde
386e4e16b3
Merge pull request #100729 from Lazy-Rabbit-2001/new_create_dialog_p1
Improve script class display in Create dialog
2025-01-03 00:48:58 +01:00
Rémi Verschelde
e13facfa72
Merge pull request #100679 from hakro/quick_open_context_menu
Add a context menu to quick open dialog
2025-01-03 00:48:51 +01:00
Rémi Verschelde
261f0b9ca9
Merge pull request #100409 from KoBeWi/now_delete_uids
Fix DependencyRemoveDialog not handling UIDs
2025-01-03 00:48:43 +01:00
Rémi Verschelde
703552c51b
Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +01:00
Rémi Verschelde
4f5982c83b
Merge pull request #100171 from Giganzo/editor-focus
Fix missing focus outline for 2D and 3D editor viewports
2025-01-03 00:48:30 +01:00
Rémi Verschelde
3a20c3e6a9
Merge pull request #100161 from alessand10/fix-filesystem-logic
Fix root folder logic in the filesystem
2025-01-03 00:48:26 +01:00
Rémi Verschelde
d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Rémi Verschelde
442f11462d
Merge pull request #99994 from kitbdev/fix-editor-viewport-group-anim
Allow Viewport children to lock, group, and insert keyframes
2025-01-03 00:48:09 +01:00
Lazy-Rabbit-2001
a550eef9f3
Improve script class display in Create dialog 2025-01-03 00:19:25 +01:00
Mounir Tohami
e89c196a80 LineEdit add member keep_editing_on_text_submit.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
hakro
cf8376ba1f Add a context menu to quick open dialog 2025-01-02 20:05:51 +01:00
alessand10
e330b79397
Fix root folder logic in the filesystem 2025-01-02 17:50:58 +01:00
smix8
8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
ajreckof
ba3f2bf4a3 Fix dictionary editor steals focus when reloading script. 2024-12-30 16:28:06 +01:00
Thaddeus Crews
e55ea94c73
Merge pull request #99800 from amarsero/bone2d-redo-crash
Fix use after free in redo of "Create Custom Bone2D(s) from Node(s)"
2024-12-30 08:58:56 -06:00
Thaddeus Crews
b98eeb3899
Merge pull request #99096 from kitbdev/bottom_panel_force_switch
Make bottom panel switch when pinned and removed
2024-12-30 08:58:55 -06:00
Thaddeus Crews
3bf4541d47
Merge pull request #99829 from miv391/larger_event_configuration_dialog
Change Event Configuration dialog wider and its input list taller for better usability
2024-12-30 08:58:54 -06:00
Thaddeus Crews
c83706fdfd
Merge pull request #99904 from kitbdev/fix-load-floating-dock
Fix loading layout with floating dock in single window mode and fix `restore_windows_on_load`
2024-12-30 08:58:52 -06:00
Thaddeus Crews
d8b1a5aac2
Merge pull request #92235 from paddy-exe/advanced-import-macbook-mouse-magnify
Add MagnifyGesture to Advanced Import dialog zooming
2024-12-30 08:58:50 -06:00
Thaddeus Crews
1e63ed2a5b
Merge pull request #99723 from YeldhamDev/script_favorite_fix
Fix error when favoriting some types of properties
2024-12-30 08:58:34 -06:00
Thaddeus Crews
9ec36eb243
Merge pull request #100916 from Hilderin/fix-embed-focus-on-debug-continue
Fix debugging embedded game does not refocus on continue
2024-12-30 08:58:31 -06:00
Thaddeus Crews
b987e906ba
Merge pull request #100156 from ydeltastar/fix-doc-scroll
Fix scroll to symbol's documentation
2024-12-30 08:58:28 -06:00
Thaddeus Crews
01c6e18963
Merge pull request #100745 from mdelorme/mdelorme/issue_100727
Assign the project manager title to the node instead of DisplayServer
2024-12-30 08:58:23 -06:00
kobewi
8e9c4e04be Assign new UID when duplicating file externally 2024-12-30 13:11:10 +01:00
kobewi
1b04e6f46d Respect PROPERTY_USAGE_NEVER_DUPLICATE with Make Sub-Resources Unique 2024-12-30 11:25:18 +01:00
Summersay415
0edd24da6a Ensure icon and splash paths on export 2024-12-30 12:23:43 +07:00
Hilderin
cfac31b745 Fix debugging embedded game does not refocus on continue 2024-12-29 18:16:19 -05:00
Patrick Exner
e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
Michael Alexsander
d74325f791
Fix error when favoriting some types of properties 2024-12-28 15:29:39 -03:00
Lars Pettersson
c5b61d4d82
ProjectManager: Update project list placeholder when project created or imported. 2024-12-27 23:31:50 +01:00
ydeltastar
64788069a0
Fix scroll to symbol's documentation 2024-12-27 17:12:05 -03:00
Patrick Exner
f1b3f17ae3 Add MagnifyGesture to Advanced Import dialog zooming 2024-12-26 23:53:34 +01:00
kobewi
81b1138a7f Fix icon UIDs in Project Manager 2024-12-26 14:54:09 +01:00
Adam Johnston
224bafcbce Compare localized path against editor scene path when reloading and
loading
2024-12-24 17:47:07 -08:00
kobewi
e0ca8be392 Re-create missing .uid files 2024-12-24 20:45:41 +01:00
Michael Alexsander
38ff1500c7
Add toggle to hide filtered out parents in the "SceneTree" dock 2024-12-24 13:43:01 -03:00
Lyuma
637fe3ccdd Allow post-import plugins to modify _subresources
The old code fetched some data before the `EditorScenePostImportPlugin._pre_process` callback.
While the callback could modify existing keys, this prevented users from adding new data on a fresh import.

By fetching the keys after pre_process, this means users can consistently modify import options for nodes, meshes, materials and animations in a post-import plugin.
2024-12-24 07:34:24 -08:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Maxime Delorme
e4e966b0f2 Fix #100727 by giving the project manager title to the node instead of DisplayServer 2024-12-23 19:44:18 +01:00
Thaddeus Crews
3df8eb5abc
Merge pull request #100707 from dalexeev/editor-restore-old-ctrl-click
Editor: Restore old `Ctrl+Click` behavior
2024-12-23 11:15:19 -06:00
Thaddeus Crews
98c3138804
Merge pull request #92717 from KoBeWi/twisted_frying_pan
Add warped panning to every ViewPanner instance
2024-12-23 11:15:16 -06:00
Thaddeus Crews
53a7e08491
Merge pull request #100702 from spoxii/patch/unused_gridmap_editor_side
Remove unused editor setting `editors/grid_map/editor_side`
2024-12-23 11:15:14 -06:00
Thaddeus Crews
e041356f3c
Merge pull request #99357 from Giganzo/tile-map-grid-button
Fix button state of grid and highlight layer in tile map layer editor
2024-12-23 11:15:13 -06:00
Thaddeus Crews
98c5267ce5
Merge pull request #91388 from kitbdev/fix-goto-line
Make Goto line a Popup and column input
2024-12-23 11:15:12 -06:00
Thaddeus Crews
01a7c81e02
Merge pull request #100738 from beicause/fix-crash-one-click-deploy
Fix crash when using one-click deploy
2024-12-23 11:15:11 -06:00
Thaddeus Crews
e109ac21fb
Merge pull request #100708 from smix8/navobstacle2d_debug
Improve NavigationObstacle2D debug visuals and performance
2024-12-23 11:15:06 -06:00
Thaddeus Crews
3f74cc2a6c
Merge pull request #97860 from stijn-h/qo-button
EditorResourcePicker: Replace options to load file with button for QuickOpenDialog
2024-12-23 11:15:03 -06:00
Yufeng Ying
f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Stijn Hinlopen
df01daf3b7 EditorResourcePicker: Replace options to load file with button for QuickOpenDialog
- Remove option to load files from drop down
 - Make _update_menu_items solely responsible for adding the right separators. Previously
   the overridable set_create_options would need to do this, but it could not know whether
   more properties were going to be added.
2024-12-22 22:47:17 +01:00
LuoZhihao
8f03548680 fix crash when using one-click deploy 2024-12-22 20:37:25 +08:00
SPOXY
143e10e020 Remove unused editor setting editors/grid_map/editor_side
This option is no longer used after the rework in GH-96922
2024-12-22 12:27:21 +01:00
Rémi Verschelde
6f2f90935d
Merge pull request #100370 from lander-vr/remove-boxes-refprobes-voxelgi
Remove solid boxes in gizmos of VoxelGI and ReflectionProbe
2024-12-22 00:10:02 +01:00
smix8
23ea3ab8d1 Improve NavigationObstacle2D debug visuals
Improves NavigationObstacle2D debug visuals by aligning them closer to their aleady improved 3D counterpart.
2024-12-21 19:53:17 +01:00
Danil Alexeev
b8dfe2cca9
Editor: Restore old Ctrl+Click behavior 2024-12-21 21:10:09 +03:00
Rémi Verschelde
91e72100e9
Merge pull request #100670 from hpvb/fix-100666
Don't recursively call `_update_tree`
2024-12-20 23:57:43 +01:00
Rémi Verschelde
315f51b7ca
Merge pull request #100654 from mdelorme/mdelorme/issue_100649
Fix `@export` open scene button not working
2024-12-20 23:57:31 +01:00
Rémi Verschelde
86094a88ef
Merge pull request #100648 from aryan-11825114/fix-profiler-autostart-indicator-going-to-wrong-debugger
Fix autostart indicator going to wrong debugger
2024-12-20 23:57:24 +01:00
Rémi Verschelde
a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
Rémi Verschelde
8a743f23e6
Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
HP van Braam
62cff66383 Don't recursively call _update_tree
When a node was previously selected and the test "selected == p_node"
was true the code would use set_selected() to change the selection to
nullptr. However, if the tree is dirty, which is always true in this
codepath, this would lead to a recursive call to _update_tree()
ultimately leading to a crash due to us running out of stack.

This fixes #100666
2024-12-20 23:01:44 +01:00
kobewi
9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
Maxime Delorme
ff107cbeeb Fix @export open scene button not working 2024-12-20 15:36:28 +01:00
aryan-11825114
b3e15af8ad Fix autostart indicator going to wrong debugger 2024-12-20 14:25:57 +05:30
Thaddeus Crews
6c04997d0d
Merge pull request #100596 from bruvzg/flt_upd
[EditorFileDialog] Do not update file selection on filter change if nothing was previously selected.
2024-12-19 20:00:16 -06:00
Thaddeus Crews
ddf6e9e3eb
Merge pull request #100595 from bruvzg/win_drv_letter
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 20:00:15 -06:00
Thaddeus Crews
075567a5b3
Merge pull request #100456 from Sauermann/proposal-hovered-connection-highlight
Highlight hovered `GraphEdit` connection by widening the line
2024-12-19 20:00:08 -06:00
Thaddeus Crews
d48ada19e2
Merge pull request #81892 from aaronfranke/scene-editor-warn-root-transform
Add a warning for when the scene root node is transformed
2024-12-19 20:00:04 -06:00
Thaddeus Crews
76d66d47dd
Merge pull request #99428 from Calinou/editor-default-enable-remote-deploy-debug
Enable Deploy with Remote Debug by default in the editor
2024-12-19 20:00:02 -06:00
Thaddeus Crews
cbfc34d279
Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp
Fix `ViewPanner` panning-mouse-warp
2024-12-19 20:00:01 -06:00
Thaddeus Crews
8fb7a1f357
Merge pull request #100571 from KoBeWi/emission_mission
Add UndoRedo support to Load Emission Mask/Points
2024-12-19 19:59:59 -06:00
Thaddeus Crews
34797fa580
Merge pull request #99653 from Giganzo/deselect-dropdown-in-single-window-mode
Fix closing dropdown on EditorResourcePicker in Single Window Mode
2024-12-19 19:59:49 -06:00
Markus Sauermann
0a875ab3bb Highlight hovered GraphEdit connection by widening the line
This change causes the connections to be additionally highlighted by
widening the line with a configurable factor.
2024-12-20 00:55:35 +01:00
Markus Sauermann
4887172a59 Fix ViewPanner panning mouse warp
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.

This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.

This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.

This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
Micky
d35d1fcf60 Show editor toaster when copying [codeblock] in class reference 2024-12-20 00:09:37 +01:00
bruvzg
348ee200f8 [EditorFileDialog] Do not update file selection on filter change if nothing was previously selected. 2024-12-19 10:01:26 +02:00
bruvzg
b9a00feb66 [Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter. 2024-12-19 09:47:46 +02:00
Hilderin
9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
kobewi
ba54a2805a Add more menus support to EditorContextMenuPlugin 2024-12-18 21:30:45 +01:00
demolke
143d8c87bb Move reimport check to EditorImportPlugin
reimport_append is used by gltf_document, fbx_document and editor_import_plugin. The first two will never call it when importing == false. It's only the editor_import_plugin that should guard against that.
https://docs.godotengine.org/en/stable/classes/class_editorimportplugin.html#class-editorimportplugin-method-append-import-external-resource

The motivation of removing the check from gltf_document call path is to be able to test nested imports (texture embedded in gltf).
2024-12-18 21:24:18 +01:00
kobewi
b8f34bb8e9 Rework dock layout management 2024-12-18 20:36:19 +01:00
kobewi
9682496d72 Add UndoRedo support to Load Emission Mask/Points 2024-12-18 18:29:00 +01:00
Rémi Verschelde
e255f60634
Merge pull request #99158 from timothyqiu/shortshortcutcut
Make editor's shortcut names translated on-site
2024-12-18 09:52:56 +01:00
Aaron Franke
e1429cd7d3
Add a warning for when the scene root node is transformed 2024-12-17 23:47:15 -08:00
Pāvels Nadtočajevs
1e982a49c3 [Dictionary Property Editor] Use property editors instead of labels to display keys. 2024-12-18 08:14:38 +02:00
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Haoyu Qiu
48db6669f6 Fix crash when using non-PackedScene resource for POT generation 2024-12-18 10:15:46 +08:00
Rémi Verschelde
abf47965fc
Merge pull request #100530 from KoBeWi/fix_hack…_with_a_hack😎
Fix Timer error on startup
2024-12-17 23:00:20 +01:00
Rémi Verschelde
7170a4176e
Merge pull request #100500 from MajorMcDoom/collision-gen-undo-fix
Fix errors when undoing collision generation for multiple meshes with different parents
2024-12-17 23:00:10 +01:00
Rémi Verschelde
45d8c217b9
Merge pull request #99649 from ckaiser/run-instances-data
Improve run instances UX: avoid removing data and add a clear popup.
2024-12-17 22:59:37 +01:00