You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
[HTML5] Fix JS "tools" editor plugin.
Needed update after file/dir access refactoring.
This commit is contained in:
@@ -122,7 +122,7 @@ void JavaScriptToolsEditorPlugin::_zip_file(String p_path, String p_base_path, z
|
|||||||
|
|
||||||
void JavaScriptToolsEditorPlugin::_zip_recursive(String p_path, String p_base_path, zipFile p_zip) {
|
void JavaScriptToolsEditorPlugin::_zip_recursive(String p_path, String p_base_path, zipFile p_zip) {
|
||||||
Ref<DirAccess> dir = DirAccess::open(p_path);
|
Ref<DirAccess> dir = DirAccess::open(p_path);
|
||||||
if (!dir) {
|
if (dir.is_null()) {
|
||||||
WARN_PRINT("Unable to open directory for zipping: " + p_path);
|
WARN_PRINT("Unable to open directory for zipping: " + p_path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user