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
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