Fix import order, so scenes are imported after textures.

Also fix bugs when meshes are always generated.
This commit is contained in:
Juan Linietsky 2017-09-20 20:59:19 -03:00
parent 71e4fae3a1
commit 423ca9bcaf
10 changed files with 105 additions and 13 deletions

View file

@ -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();