1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00
Commit Graph

531 Commits

Author SHA1 Message Date
Alexander Hartmann
7697b70df2 Prompt to save modified scene missing when quitting editor with running project. 2025-07-16 15:44:08 +02:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Rémi Verschelde
45533589e4 Revert "Rework scene preview thumbnails"
This reverts commit 08343189dc.

While the feature is great, a number of issues have been found with the
implementation, and we need more time to resolve them.

So we roll this back for 4.5, to rework the feature for a later Godot
release.
2025-06-21 00:05:57 +02:00
Rémi Verschelde
6af4ef019c Revert follow-ups to #102313 before reverting that PR
This reverts the following commits:

- cd6e5ba9f4
- d36a3e5c06
- f2c6d16290
- aae51963ef
2025-06-21 00:04:39 +02:00
Haoyu Qiu
296aba7dc5 Fix CSV translation not updating after reimport 2025-06-17 17:22:49 +08:00
Rémi Verschelde
51b0379e55 Merge pull request #107397 from daniel080400/fix_lost_focus_crash
Fix crash when `save_on_focus_loss` is enabled
2025-06-11 12:10:16 +02:00
daniel080400
aae51963ef Fix crash when save_on_focus_loss is enabled 2025-06-11 16:54:12 +08:00
Pāvels Nadtočajevs
43b41092a0 Add support for taking embedded window screenshots. 2025-06-09 11:40:36 +03:00
Rémi Verschelde
ea76c48bd0 Merge pull request #102313 from daniel080400/generate_scene_thumbnails
Rework scene preview thumbnails
2025-06-05 13:10:28 +02:00
Thaddeus Crews
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
Thaddeus Crews
a654f7b2b5 Merge pull request #105502 from tehKaiN/editor_interface_close_scene
Add `EditorInterface::close_scene()`
2025-06-02 18:51:29 -05:00
kobewi
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
daniel080400
08343189dc Rework scene preview thumbnails 2025-05-31 16:57:51 +08:00
kobewi
0138e33792 Fix get_class_icon() ignoring fallback 2025-05-30 14:59:28 +02:00
KaiN
8cdb1768a4 Add EditorInterface::close_scene()
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-28 21:53:32 +02:00
Thaddeus Crews
f5bf37a2d4 Merge pull request #106866 from KoBeWi/more_cache
Add class icon cache to EditorNode
2025-05-28 09:47:44 -05:00
kobewi
18df2ae9ca Add class icon cache to EditorNode 2025-05-27 13:59:13 +02:00
Haoyu Qiu
8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08: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
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
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
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
kobewi
e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02:00
Anish Mishra
e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
Anish Mishra
64b4598baa Improve Android editor layout 2025-05-07 08:39:21 +05:30
Rémi Verschelde
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Anish Mishra
34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
Priahoud
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
A Thousand Ships
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
runzh-crypto
9977abd697 Validate custom directory when project is started 2025-04-04 21:21:42 +08:00
Rémi Verschelde
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
Pāvels Nadtočajevs
8d6c6e25a0 Fix embedded help menu icons. 2025-03-21 15:46:37 +02:00
LuoZhihao
6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
kobewi
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews
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
Robert Yevdokimov
17f78cdcaa Focus Don't Save in Reload Saved Scene and don't save unmodified scenes 2025-03-14 18:04:04 +04:00
kobewi
0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
Lars Pettersson
d2d02d0ea8 EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
kobewi
a3a1cf0a7f Replace UID and Surface upgrade tools with universal one 2025-03-10 16:41:02 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
kobewi
c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
Hilderin
dba92c9354 Fix headless import always emits errors 2025-03-04 18:45:40 -05:00
kobewi
00d8f5f70c Ask before restarting project from settings 2025-02-16 15:00:51 +01:00
Agustín Marsero
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
Thaddeus Crews
acddf31c39 Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
Thaddeus Crews
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
Malcolm Anderson
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
Pedro J. Estébanez
a20934c8e4 Optimize enumeration of global classes in create dialog and autocomplete 2025-01-29 09:39:50 +01:00
Robert Yevdokimov
c7fd0bb740 Make save confirmation a child of last exclusive window of EditorNode before popup 2025-01-28 11:28:48 +04:00