Hilderin
9638220473
Fix reloading scripts already in use
2024-09-20 12:12:24 -04:00
Rémi Verschelde
ff2b5a5422
Merge pull request #97075 from KoBeWi/better_new_folder_(not_to_be_confused_with_new_better_folder)
...
Rework creating new folders in editor
2024-09-19 17:13:39 +02:00
Rémi Verschelde
8ba3c2aeb4
Merge pull request #92972 from ogapo/pr/warn-on-duplicate-uids
...
Editor: Warn on UID duplicates
2024-09-18 17:40:49 +02:00
kobewi
ad99c79472
Rework creating new folders in editor
2024-09-17 12:40:25 +02:00
Rémi Verschelde
9fd431f078
Merge pull request #96002 from Hilderin/fix-resource-script-reload-external-editor
...
Fix script properties reload from external editor
2024-09-16 13:34:30 +02:00
Rémi Verschelde
5b2eececfd
Merge pull request #93372 from KoBeWi/instant_folders,_like_instant_noodles,_but_for_storing_files
...
Don't rescan filesystem when adding new directory
2024-09-16 13:34:09 +02:00
Hilderin
46edd6df55
Fix script properties reload from external editor
2024-09-14 15:07:53 -04:00
bruvzg
22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock.
2024-09-05 18:29:29 +03:00
Rémi Verschelde
df44d6a2e7
Merge pull request #96551 from DCTewi/fix-editor-progress-error
...
Fix ProcessDialog errors appeared after rebuilding .NET project
2024-09-04 17:12:13 +02:00
Rémi Verschelde
8d120a5d08
Merge pull request #95965 from Hilderin/update-script-documentation-file-remove-on-startup
...
Update script documentation removed files on startup
2024-09-04 17:11:54 +02:00
Hilderin
1c3bc2f980
Update script documentation removed files on startup
2024-09-04 06:12:22 -04:00
DCTewi
5bfd8db7b7
Fix ProcessDialog errors appeared after rebuilding .NET project
2024-09-04 14:26:48 +08:00
Rémi Verschelde
866099684c
Merge pull request #92667 from Hilderin/fix-addon-requires-editor-restart
...
Fix Addon requires editor restart to become functional
2024-09-03 11:42:52 +02:00
Hilderin
7dd235905e
Fix Addon requires editor restart to become functional
2024-09-02 16:54:45 -04:00
Rémi Verschelde
909629d9f9
Merge pull request #96166 from AThousandShips/more_lock_raii
...
Use `MutexLock` in more places
2024-08-30 09:59:19 +02:00
A Thousand Ships
e33fdb4296
Use `MutexLock` in more places
2024-08-29 14:12:59 +02:00
Hilderin
ef6f873938
Fix editor needs restart after adding GDExtensions
2024-08-29 06:15:32 -04:00
Hilderin
ce42d9dcfe
Fix slow importation when window is unfocused
2024-08-27 19:57:38 -04:00
Rémi Verschelde
7c02e067cc
Merge pull request #93611 from KoBeWi/path_rush
...
Optimize `get_path()` in EditorFileSystemDirectory
2024-08-28 00:11:16 +02:00
Rémi Verschelde
b78da13e2a
Merge pull request #93064 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
...
Fix FileSystem dock won't show any file folders (v2)
2024-08-26 22:45:04 +02:00
Rémi Verschelde
04f6321ecc
Merge pull request #91166 from raulsntos/gdextension/loader
...
GDExtension: Implement `GDExtensionLoader` concept
2024-08-26 10:51:21 +02:00
Raul Santos
4dd6e8eca5
GDExtension: Implement `GDExtensionLoader` concept
...
- Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized.
- Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`.
- `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`.
- `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
2024-08-22 05:29:11 +02:00
Hilderin
1b0c5cbc01
Fix FileSystem dock won't show any file folders (v2)
2024-08-20 21:23:13 -04:00
Hilderin
b1c97313e0
Fix uid:// Paths Fail to Load at Editor Startup
2024-08-17 07:19:08 -04:00
Rémi Verschelde
58020c8e0d
Merge pull request #94854 from ianmccleary/custom-resource-icon-fix
...
Fix custom resources using incorrect icons
2024-08-16 14:32:38 +02:00
Hilderin
a0cc8c5c3b
Fix FileSystem not updated on file deletion
2024-08-14 18:24:46 -04:00
Ian McCleary
140f9dc3e7
Fix custom resources using incorrect icons
2024-08-14 12:18:01 -05:00
Hilderin
1ed723bd19
Fix global class cache file not present when no class name
2024-07-31 16:57:25 -04:00
Rémi Verschelde
5914023be9
Fix reimporting textures after changing import project settings
...
Fixes #94882 .
2024-07-31 13:48:42 +02:00
Rémi Verschelde
7acb61d346
Android Editor: Disable file reimport when .import changes
...
This is disabling the logic added in #84974 which caused #94416 .
That issue still needs to be debugged further, but this works around
the regression and should have minimal usability impact on Android.
2024-07-24 12:07:59 +02:00
kobewi
8f3d66eef1
Increase threshold for displaying scene group update progress
2024-07-21 19:45:09 +02:00
Rémi Verschelde
50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
...
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +02:00
Yahkub-R
66822a8948
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
...
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 -04:00
Rémi Verschelde
4d97269e11
Merge pull request #94357 from KoBeWi/your_file_is_broken._just_saying
...
Don't attempt to re-import broken files if they didn't change
2024-07-17 15:45:07 +02:00
Hilderin
a1ef54fd3b
Fix removing a folder that contains a file is not removed from the FileSystem Dock
2024-07-16 08:52:39 -04:00
kobewi
a5d86c1327
Don't attempt to re-import broken files if they didn't change
2024-07-14 19:51:29 +02:00
Rémi Verschelde
16d549adc9
Merge pull request #93765 from Jordyfel/reimport-dependency-bug
...
Fix reimport by scan parsing dependency paths incorrectly
2024-07-08 19:13:28 +02:00
Rémi Verschelde
137b138be8
Merge pull request #84974 from KoBeWi/import_reimport
...
Reimport file when .import changes
2024-07-08 19:13:24 +02:00
Rémi Verschelde
0452cbee75
Merge pull request #93919 from Hilderin/fix-csv-translation-errors-import-other-resources
...
Fix adding a translation CSV results in errors on initial import for many types of resources
2024-07-04 17:12:19 +02:00
Rémi Verschelde
5f0a2dd0f2
Merge pull request #93909 from VictorKostinOfficial/missing-custom-resources
...
Fix custom resources often missing from Quick Load dialog
2024-07-04 17:12:16 +02:00
Victor Kostin
3afc7774de
Fix custom resources often missing from Quick Load dialog
2024-07-04 14:25:00 +02:00
Hilderin
d04b5d2629
Fix adding a translation CSV results in errors on initial import for many types of resources
2024-07-03 22:56:45 -04:00
Jordyfel
325081cb48
Fix reimport parsing dependencies incorrectly
2024-06-30 04:38:04 +03:00
kobewi
b83c64faac
Speed up scene group scanning for text scenes
2024-06-29 21:30:38 +02:00
kobewi
f13bb2ff56
Reimport file when .import changes
2024-06-29 19:57:44 +02:00
kobewi
5a3c7b41d8
Optimize get_path() in EditorFileSystemDirectory
2024-06-26 14:09:28 +02:00
Hilderin
39369db029
Fix synchronization of global class name
2024-06-25 18:33:07 -04:00
Rémi Verschelde
74f9f12c71
Merge pull request #92320 from Hilderin/fix-importing-assets-with-csv
...
Fix reimporting assets with csv in the project
2024-06-21 13:54:35 +02:00
Hilderin
8ac841a026
Fix Noticeable freeze after saving a scene #93104
2024-06-20 16:47:28 -04:00
kobewi
c981e8b765
Don't rescan filesystem when adding new directory
2024-06-20 00:46:14 +02:00
Hilderin
8a82d3e9a7
Fix ProgressDialog crash when importing TTF font
2024-06-14 09:00:42 -04:00
David Nikdel
5122a3e3b0
editor: warn on UID duplicates
...
This commonly occurs when files are copied outside of the editor and don't get new UIDs.
Restricting this warning to first_scan since it's we want to exclude the case of files being moved after initial load which is harder to handle.
Addresses https://github.com/godotengine/godot-proposals/discussions/8949
2024-06-12 16:44:07 -04:00
Hilderin
f1099ab943
Fix reimporting assets with csv in the project
2024-06-11 17:04:15 -04:00
Hilderin
9f8a918ade
Fix update_files from PR #92893
2024-06-10 20:03:18 -04:00
Hilderin
cc990efddf
Fix freeze after building C#
2024-06-09 13:40:51 -04:00
kobewi
f3b0f7b9e2
Skip unnecessary updates to scene groups and scripts
2024-05-15 16:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace `find` with `contains/has` where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
a21824b293
Merge pull request #85295 from jsjtxietian/use-mutex-protect-max_index-in-ImportThreadData
...
Use `SafeNumeric` to protect `max_index` in ImportThreadData
2024-05-02 12:46:19 +02:00
kobewi
0904378515
Remove code duplication for adding global script class
2024-05-01 00:26:42 +02:00
kobewi
5883300b92
Don't show scene group progress for 1 scene
2024-04-17 11:23:54 +02:00
Rémi Verschelde
ce2a09f40e
Merge pull request #89739 from jsjtxietian/group-step
...
Add progress bar when updating scene groups
2024-04-15 18:14:42 +02:00
Sofox
87b5a56ddf
Fix duplicated folder reference in Godot Editor after changing filename case
2024-04-05 21:38:48 +01:00
jsjtxietian
cbb67d114e
Add progress bar when update scene groups
2024-03-21 19:20:12 +08:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
bruvzg
fee14eb5e8
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font.
2024-03-12 21:34:40 +02:00
kobewi
25553d7aca
Refactor how file cache entries are stored
2024-03-08 23:16:31 +01:00
Rémi Verschelde
093cdd2188
EditorFileSystem: Add verbose print for file being (re)imported
...
Also print the time it took for each file.
2024-02-28 09:59:46 +01:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
Wilson E. Alvarez
9790b992ba
Fix data race against EditorFileSystem.scanning_changes_done
2024-02-09 07:48:01 -05:00
Adam Scott
bd70b8e1f6
Add THREADS_ENABLED macro in order to compile Godot to run on the main thread
2024-01-17 13:58:29 -05:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Lyuma
fea4165ca8
gltf: fix three bugs which prevented extracted textures from being refreshed.
...
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.
2023-12-25 01:03:40 -08:00
Stanislav Labzyuk
958699a0c4
Implement project-wide node groups
2023-12-19 18:07:19 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Bartłomiej T. Listwon
aae48ac2b6
Prevent overriding file info of another file when reimport creates files
2023-12-08 22:17:51 +01:00
jsjtxietian
4861ab4cfe
Use mutex to protect max_index in ImportThreadData
2023-11-28 12:50:57 +08:00
Rémi Verschelde
e03f47cb7c
Remove EditorFileDialog warning when skipping project directories
...
We might need better UX to handle this in EditorFileDialog, showing the
directories as greyed out with a tooltip, but for now this silences a warning
that users have no control over.
We keep the warning only in the initial project scan.
2023-11-12 19:05:05 +01:00
Rémi Verschelde
432c75d6af
Merge pull request #83081 from Rindbee/fix-wrong-split
...
Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong result
2023-11-09 11:45:21 +01:00
Aaron Franke
58076b9ccb
Implement glTF compat version system for files from older Godot versions
2023-11-03 12:07:25 -05:00
风青山
203f3e700b
Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong results
...
Limit the maxsplit to `8` to get complete `deps`.
`deps` caches the return value of `ResourceLoader::get_dependencies()`,
which is also separated by "::".
"::" is quite popular as a splitter.
2023-10-10 10:51:01 +08:00
Mikael Hermansson
1a80508d0f
Remove I/O error popup when failing to load/unload extension
2023-10-06 13:57:53 +02:00
Rémi Verschelde
373c4b22d3
Fix various typos with codespell
...
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
Yuri Sizov
7aff59f0b6
Merge pull request #78567 from NiskashY/master
...
Fix reimporting files with non lowercase name extension
2023-07-12 21:02:42 +02:00
NiskashY
fc6a6dd0f4
Fix reimporting files with non lowercase name extension
2023-07-12 17:04:01 +02:00
RedworkDE
f3f3365abd
C#: Fix command line exporting
2023-07-07 20:51:46 +02:00
kobewi
7f18db9d9d
Fix filesystem cache split error
2023-06-16 13:13:30 +02:00
Rémi Verschelde
9be0aab790
Merge pull request #75798 from KoBeWi/let's_fix_this_hack_with_yet_another_hack
...
Make sure script cache is created after reimport
2023-06-12 22:53:35 +02:00
Pedro J. Estébanez
ed9dc792df
Avoid error spam on first opening of a not yet imported project
2023-05-20 11:45:02 +02:00
kobewi
d1a114470c
Print a warning when a nested project is detected
2023-05-15 02:04:58 +02:00
Samuele Panzeri
4aaa2e6477
Fix wait for thread not started
2023-04-27 20:28:22 +02:00
kobewi
680ed7f612
Make sure script cache is created after reimport
2023-04-07 23:34:58 +02:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
e9c7b8d224
Merge pull request #71850 from WesleyElliott/fix-custom-node-export
2023-02-18 12:40:09 +03:00
Juan Linietsky
6cd587c8f4
Prevent recursive importing (hack)
...
Prevents recursion when importing files due to the ill nature of EditorProgress.
The progress dialog will have to be entirely rewritten after 4.0 is out due to it being a constant source of bugs.
In the meantime, this fixes the problem.
Fixes #53871 . Supersedes #73159 .
2023-02-13 11:54:32 +01:00
SaracenOne
27f8da7493
Emit reimport signal in reimport_file_with_custom_parameters
...
method to fix resources not updating when reimported from the
advanced import menu.
2023-02-09 22:26:52 +00:00
Lyuma
5fbcb80170
Use reimport_append api for importing embedded gltf images
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2023-02-06 07:11:45 -08:00
Rémi Verschelde
074113b97d
Merge pull request #72455 from reduz/allow-reimport-appending
...
Support reimport appending
2023-02-06 15:39:51 +01:00
Juan Linietsky
91c3066c89
Support reimport appending
...
* Add API: `EditorFileSystem::reimport_append(path)`, thread safe, what can be used from importers when they generate new files within the import process.
* Added a `remap.gen_param` custom value to .import files, which can be used by importers to store data needed to generate this file again or not.
This API is added to allow the GLTF2 importer to properly extract png files as textures.
2023-02-01 12:27:50 +01:00
Rémi Verschelde
38a806e13f
Always create global class list, even if empty
...
Fixes #72451 .
2023-01-31 15:28:53 +01:00