Commit graph

239 commits

Author SHA1 Message Date
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
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
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
Hilderin
8a82d3e9a7 Fix ProgressDialog crash when importing TTF font 2024-06-14 09:00:42 -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