Lot of work in new importer, importing textures now works.

This commit is contained in:
Juan Linietsky
2017-02-01 09:45:45 -03:00
parent 36b6ba8e94
commit 2cd2ca7bbc
32 changed files with 1715 additions and 807 deletions

View File

@ -66,6 +66,8 @@ friend class ResourceCache;
#ifdef TOOLS_ENABLED
uint64_t last_modified_time;
uint64_t import_last_modified_time;
String import_path;
#endif
bool local_to_scene;
@ -118,6 +120,12 @@ public:
virtual void set_last_modified_time(uint64_t p_time) { last_modified_time=p_time; }
uint64_t get_last_modified_time() const { return last_modified_time; }
virtual void set_import_last_modified_time(uint64_t p_time) { import_last_modified_time=p_time; }
uint64_t get_import_last_modified_time() const { return import_last_modified_time; }
void set_import_path(const String& p_path) { import_path=p_path; }
String get_import_path() const { return import_path; }
#endif
virtual RID get_rid() const; // some resources may offer conversion to RID