You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
fix crash and error with texture atlas
- crashes at Project Export Settings > Preview Atlas
- error message when export project
```
ERROR: EditorImportExport::get_import_plugin_by_name: Condition ' !by_idx.has(p_string) ' is true. returned: Ref<EditorImportPlugin>()
At: tools\editor\editor_import_export.cpp:1548
```
it is caused by 8be2fabbe5 (diff-67a74bd708380c6b3baa717bb178dd47R802)
This commit is contained in:
@@ -1057,7 +1057,7 @@ void ProjectExportDialog::_group_atlas_preview() {
|
||||
imd->set_option("atlas",true);
|
||||
imd->set_option("crop",true);
|
||||
|
||||
Ref<EditorTextureImportPlugin> plugin = EditorImportExport::get_singleton()->get_import_plugin_by_name("texture_atlas");
|
||||
Ref<EditorTextureImportPlugin> plugin = EditorImportExport::get_singleton()->get_import_plugin_by_name("texture");
|
||||
Error err = plugin->import2(dst_file,imd,EditorExportPlatform::IMAGE_COMPRESSION_NONE,true);
|
||||
if (err) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user