Moved folding outside the resource files, now saved outside the project.

This commit is contained in:
Juan Linietsky
2018-10-29 16:36:31 -03:00
parent 786ece2375
commit e647342140
14 changed files with 242 additions and 40 deletions

View File

@ -90,7 +90,7 @@ Error ResourceSaver::save(const String &p_path, const RES &p_resource, uint32_t
rwcopy->set_path(old_path);
if (save_callback && p_path.begins_with("res://"))
save_callback(p_path);
save_callback(p_resource, p_path);
return OK;
} else {