You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Changed import workflow
-Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
This commit is contained in:
@@ -55,7 +55,7 @@ class EditorFileSystemDirectory : public Object {
|
||||
String path;
|
||||
String md5;
|
||||
uint64_t modified_time;
|
||||
bool missing;
|
||||
bool missing;
|
||||
|
||||
};
|
||||
|
||||
@@ -63,6 +63,7 @@ class EditorFileSystemDirectory : public Object {
|
||||
String import_editor;
|
||||
Vector<String> deps;
|
||||
bool enabled;
|
||||
bool sources_changed;
|
||||
|
||||
};
|
||||
|
||||
@@ -102,8 +103,12 @@ public:
|
||||
StringName get_file_type(int p_idx) const;
|
||||
bool get_file_meta(int p_idx) const;
|
||||
bool is_missing_sources(int p_idx) const;
|
||||
bool have_sources_changed(int p_idx) const;
|
||||
Vector<String> get_missing_sources(int p_idx) const;
|
||||
Vector<String> get_file_deps(int p_idx) const;
|
||||
int get_source_count(int p_idx) const;
|
||||
String get_source_file(int p_idx,int p_source) const;
|
||||
bool is_source_file_missing(int p_idx,int p_source) const;
|
||||
|
||||
EditorFileSystemDirectory *get_parent();
|
||||
|
||||
@@ -230,6 +235,7 @@ public:
|
||||
String find_resource_from_source(const String& p_path) const;
|
||||
EditorFileSystemDirectory *get_path(const String& p_path);
|
||||
String get_file_type(const String& p_file) const;
|
||||
EditorFileSystemDirectory* find_file(const String& p_file,int* r_index) const;
|
||||
EditorFileSystem();
|
||||
~EditorFileSystem();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user