diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-09-20 20:59:19 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-09-20 21:04:20 -0300 |
commit | 423ca9bcaf4781abd62db47d6f232c279af72429 (patch) | |
tree | a610ea87af0313129fc27fa1f75f3d422eee697e /editor/editor_file_system.h | |
parent | 71e4fae3a1fb8ab684f5366442e5325ebcb99d8d (diff) |
Fix import order, so scenes are imported after textures.
Also fix bugs when meshes are always generated.
Diffstat (limited to 'editor/editor_file_system.h')
-rw-r--r-- | editor/editor_file_system.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/editor_file_system.h b/editor/editor_file_system.h index cee3219b43..ebcc091b0a 100644 --- a/editor/editor_file_system.h +++ b/editor/editor_file_system.h @@ -206,6 +206,14 @@ class EditorFileSystem : public Node { Vector<String> _get_dependencies(const String &p_path); + struct ImportFile { + String path; + int order; + bool operator<(const ImportFile &p_if) const { + return order < p_if.order; + } + }; + protected: void _notification(int p_what); static void _bind_methods(); |