Commit Graph

19153 Commits

Author SHA1 Message Date
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
kobewi
18df2ae9ca Add class icon cache to EditorNode 2025-05-27 13:59:13 +02:00
Kasper Arnklit Frandsen
7dc9a088bc Add fuzzy filtering to the script filtering 2025-05-27 10:09:44 +02:00
Kasper Arnklit Frandsen
7bff27a5a5 Add fuzzy search to method filtering 2025-05-27 10:03:33 +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
Hugo Locurcio
ecc1f08386 Add syntax highlighting for ConfigFile/TSCN/TRES/project.godot
A single highligher is used for all these formats, as they're fairly
close to each other.
2025-05-27 01:50:48 +02:00
Hugo Locurcio
dfdcea22c5 Decrease font placeholder opacity in the editor theme
This makes placeholder text easier to distinguish from actual text
in the editor. Previously, placeholder text's contrast against the
background was only slightly lower than actual text.
2025-05-26 23:16:29 +02:00
Lukas Tenbrink
4cb8a0c77e Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
Thaddeus Crews
d5301d1cc9 Merge pull request #106736 from TCROC/fix-ios-plugins-broken
Fix ios plugin always invalid due to null ConfigFile
2025-05-26 11:24:46 -05:00
Thaddeus Crews
34fc2c1bb6 Merge pull request #106339 from Ryan-000/Run-EditorScript-from-FileSystemDock
Allow running EditorScripts from the FileSystemDock
2025-05-26 11:24:41 -05:00
Thaddeus Crews
420d7613fd Merge pull request #106714 from jorgekorgut/fix-ignore-external-changes
Fix Ignore External Changes Bug
2025-05-26 11:24:39 -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
b144bbb510 Merge pull request #106553 from Lazy-Rabbit-2001/sprite-dragging-improved
Reintroduce the dragging method of Sprite2D's region_rect
2025-05-26 11:24:34 -05:00
Thaddeus Crews
60c66c0296 Merge pull request #106524 from chocola-mint/animation-player-method-lookup
Implement method lookup for method tracks
2025-05-26 11:24:29 -05:00
Thaddeus Crews
34cf5a03a2 Merge pull request #103833 from nobbele/projectmanager-local-time
Make project manager's "last edited" field display use local time instead of UTC
2025-05-26 11:24:27 -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
f6a56c112f Merge pull request #106500 from Frozenfire92/global-find-in-files
Make FindInFiles globally accessible
2025-05-26 11:24:20 -05:00
kobewi
ad9b66100e Remember state of built-in script/shader checkbox 2025-05-26 15:00:11 +02:00
Anish Mishra
08f13a030d Android Editor: Disable nomedia file creation for Android 11 (api level 30)
Fixes https://github.com/godotengine/godot/issues/106479
Fixes https://github.com/godotengine/godot/issues/105399
2025-05-26 05:49:25 +05:30
Rémi Verschelde
d0f99ec3d3 TileSet: Fix potential crash updating stale atlas source editor toolbar 2025-05-25 14:06:57 +02:00
Jorge Korgut Junior
f165ee211b Fix Ignore External Changes Bug
Fix Issue #106410 : Add a new list `disk_changed_scenes()` and a boolean `disk_changed_project` to keep track of modfied scenes and the project. Save them only if they are in the list or the boolean value is true, when ignoring external changes.
2025-05-24 14:44:53 +02:00
nobbele
acc8fbee34 project_manager: Display last edited time using local timezone instead of UTC 2025-05-24 13:51:30 +02:00
Lazy-Rabbit-2001
3a7e45c0e7 Reintroduce the dragging method of Sprite2D's region_rect 2025-05-24 19:41:05 +08:00
Ryan
e3db0d62a8 Allow running EditorScripts from the FileSystemDock
Apply suggestions from code review

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-24 00:04:07 -04:00
David Nikdel
33c83a3257 Fix for directory duplication
This change makes it so if you duplicate a folder, the asset references between resources in that folder will point to the new duplicated files.

For instance, if you had dir-a/foo.tscn and dir-a/foo.png where your scene references the png. Previously duplicate would copy both of them to dir-b but dir-b/foo.tscn would still be referencing dir-a/foo.png!
2025-05-23 21:18:30 -05:00
Joel Kuntz
2cf64cc971 Make FindInFiles globally accessible
- Make ScriptEditor expose open_find_in_files_dialog to allow opening from anywhere
- Add FindInFiles to EditorNode as a keyboard shortcut, command, and menu option
- Change all find_in_files commands to be editor/find_in_files
2025-05-23 19:19:16 -03:00
Pāvels Nadtočajevs
d609cf62a0 Implement get_filesystem_type on macOS and Linux. 2025-05-23 23:05:06 +03:00
Travis Lange
a350e01dc7 Fix ios and android plugin always invalid due to null ConfigFile 2025-05-23 11:41:13 -04:00
Thaddeus Crews
fa967cb4ae Merge pull request #104436 from Arnklit/bezier-box-scaling-cursor-improvement
Add correct cursors when scaling bezier keys with box scaling
2025-05-23 09:46:15 -05:00
Thaddeus Crews
a9b09fc305 Merge pull request #106739 from timothyqiu/particles-selection
Fix heap-use-after-free when closing a scene with 2D particle nodes selected
2025-05-23 09:46:13 -05:00
Thaddeus Crews
cc452f9019 Merge pull request #104490 from arkology/The-Return-of-the-QuickOpen-Button
`EditorResourcePicker`: Add `Quick Load` button
2025-05-23 09:46:12 -05:00
kobewi
e7d9df33a5 Assign base path when creating Resource 2025-05-23 16:09:19 +02:00
Kasper Arnklit Frandsen
7b4560b1dc Add correct cursors when scaling bezier keys with box scaling 2025-05-23 11:55:20 +02: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
Haoyu Qiu
f16378a8de Fix heap-use-after-free when closing a scene with 2D particle nodes selected 2025-05-23 12:20:20 +08:00
Thaddeus Crews
4daad86a86 Merge pull request #106562 from zeux/lod-metrics
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -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
Thaddeus Crews
827f6435da Merge pull request #106678 from timothyqiu/import-defaults
Relax the requirements for making `EditorImportPlugin`
2025-05-22 12:15:01 -05:00
Thaddeus Crews
a9394898e7 Merge pull request #106674 from mihe/output-order-fix
Fix print/error ordering issue in editor Output
2025-05-22 12:15:00 -05:00
Aaron Franke
15de1d6c35 Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
kobewi
42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +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
Thaddeus Crews
6414451ced Merge pull request #106441 from jorgekorgut/fix-highlight-issues
Fix highlighting warning and error issues
2025-05-21 09:06:24 -05:00
Mikael Hermansson
2d39bfaa57 Fix print/error ordering issue in editor Output 2025-05-21 13:10:57 +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
Thaddeus Crews
5d2074af6f Merge pull request #105722 from aaronfranke/image-alpha-mode-is-not-a-bool
Explicitly handle Image AlphaMode enum instead of treating as bool
2025-05-20 11:37:26 -05:00