You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Fix converting a tilset if the existing file is not a tileset
See ed3b080ca6
This commit is contained in:
@@ -1198,7 +1198,7 @@ void EditorNode::_dialog_action(String p_file) {
|
||||
case FILE_EXPORT_TILESET: {
|
||||
|
||||
Ref<TileSet> ml;
|
||||
if (FileAccess::exists(p_file)) {
|
||||
if (FileAccess::exists(p_file) && file_export_lib_merge->is_pressed()) {
|
||||
ml = ResourceLoader::load(p_file, "TileSet");
|
||||
|
||||
if (ml.is_null()) {
|
||||
|
||||
Reference in New Issue
Block a user