Commit Graph

523 Commits

Author SHA1 Message Date
ea76c48bd0 Merge pull request #102313 from daniel080400/generate_scene_thumbnails
Rework scene preview thumbnails
2025-06-05 13:10:28 +02:00
f6c6977a96 Merge pull request #106963 from KoBeWi/a_wild_crash_has_occured
Fix `get_class_icon()` ignoring fallback
2025-06-02 18:51:49 -05:00
a654f7b2b5 Merge pull request #105502 from tehKaiN/editor_interface_close_scene
Add `EditorInterface::close_scene()`
2025-06-02 18:51:29 -05:00
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
08343189dc Rework scene preview thumbnails 2025-05-31 16:57:51 +08:00
0138e33792 Fix get_class_icon() ignoring fallback 2025-05-30 14:59:28 +02:00
8cdb1768a4 Add EditorInterface::close_scene()
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-28 21:53:32 +02:00
f5bf37a2d4 Merge pull request #106866 from KoBeWi/more_cache
Add class icon cache to EditorNode
2025-05-28 09:47:44 -05:00
18df2ae9ca Add class icon cache to EditorNode 2025-05-27 13:59:13 +02:00
8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
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
420d7613fd Merge pull request #106714 from jorgekorgut/fix-ignore-external-changes
Fix Ignore External Changes Bug
2025-05-26 11:24:39 -05:00
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
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
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
e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02:00
e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
64b4598baa Improve Android editor layout 2025-05-07 08:39:21 +05:30
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
bf963e767e Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
787cad1799 [Editor] Use separate EditorFileDialog for "Pack Project as ZIP"
This prevents state corruption for saving resources.
2025-04-08 18:39:02 +02:00
9977abd697 Validate custom directory when project is started 2025-04-04 21:21:42 +08:00
27181e89cc Merge pull request #104252 from beicause/prompt-restart-when-data-missing
Prompt to restart when project data (.godot) is missing
2025-03-28 14:32:39 +01:00
8d6c6e25a0 Fix embedded help menu icons. 2025-03-21 15:46:37 +02:00
6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
9cf741a315 Merge pull request #104102 from ryevdokimov/reload-saved-scene-fixes
Focus `Don't Save` in `Reload Saved Scene` and don't save unmodified scenes
2025-03-17 10:52:28 -05:00
17f78cdcaa Focus Don't Save in Reload Saved Scene and don't save unmodified scenes 2025-03-14 18:04:04 +04:00
0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
d2d02d0ea8 EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
a3a1cf0a7f Replace UID and Surface upgrade tools with universal one 2025-03-10 16:41:02 +01:00
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
dba92c9354 Fix headless import always emits errors 2025-03-04 18:45:40 -05:00
00d8f5f70c Ask before restarting project from settings 2025-02-16 15:00:51 +01:00
2ba64a57c5 Fix Global Class names cache not saved with upgrade to 4.4.
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-02-12 18:33:38 +01:00
acddf31c39 Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
9ee1873ae1 Merge pull request #102070 from ryevdokimov/reparent-save-confirmation
Make save confirmation a child of last exclusive window of EditorNode before popup
2025-01-30 11:39:05 -06:00
d034d124b2 Add UID upgrade tool
Apply suggestions from code review

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

memdelete the UID upgrade tool

Remove redeclaration of singleton

Add note about committing .uid files to version control

Add "Learn more" button that links to Godot blog post about UIDs

Detect project from 4.3 or less and automatically display UID upgrade window

Display popup after first run of `_sources_changed`

Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Replace magic strings with constants

Update editor/editor_node.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-01-30 08:42:07 -08:00
a20934c8e4 Optimize enumeration of global classes in create dialog and autocomplete 2025-01-29 09:39:50 +01:00
c7fd0bb740 Make save confirmation a child of last exclusive window of EditorNode before popup 2025-01-28 11:28:48 +04:00
8aa3ee6a35 Create .uid files in EditorFileSystem 2025-01-18 21:01:39 +01:00
8cf6061dfd Merge pull request #99844 from KoBeWi/give_back_the_focus
Fix progress dialog steals focus
2025-01-14 12:08:46 +01:00
77d18d1ad4 Fix progress dialog steals focus
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-01-14 01:37:21 +01:00
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
24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
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
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00