Fix import order, so scenes are imported after textures.
Also fix bugs when meshes are always generated.
This commit is contained in:
parent
71e4fae3a1
commit
423ca9bcaf
10 changed files with 105 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue