1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Several bugfixes, improving the import workflow

This commit is contained in:
Juan Linietsky
2017-02-06 00:38:39 -03:00
parent af3fabeb77
commit 6f2e16306a
31 changed files with 483 additions and 155 deletions

View File

@@ -308,6 +308,8 @@ void EditorNode::_notification(int p_what) {
}
ResourceImporterTexture::get_singleton()->update_imports();
}
if (p_what==NOTIFICATION_ENTER_TREE) {
@@ -411,8 +413,10 @@ void EditorNode::_fs_changed() {
if (E->get()->get_import_path()!=String()) {
//imported resource
uint64_t mt = FileAccess::get_modified_time(E->get()->get_import_path());
print_line("testing modified: "+E->get()->get_import_path()+" "+itos(mt)+" vs "+itos(E->get()->get_import_last_modified_time()));
if (mt!=E->get()->get_import_last_modified_time()) {
print_line("success");
changed.push_back(E->get());
}