summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2021-03-19 09:57:52 -0300
committerJuan Linietsky <juan@godotengine.org>2021-03-22 12:16:40 -0300
commit97a3a662205d598dad195fa72d2dcb2f19c21088 (patch)
tree7d35031e64f59f1a6d4a66aaac9492cdffbefe47 /core
parent07f076fa4f2896415993bb8e3fb42128423de0d2 (diff)
Improved 3D Scene Importer
* Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
Diffstat (limited to 'core')
-rw-r--r--core/io/resource_importer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/io/resource_importer.h b/core/io/resource_importer.h
index 91efec5534..eeb486073e 100644
--- a/core/io/resource_importer.h
+++ b/core/io/resource_importer.h
@@ -115,6 +115,9 @@ public:
ImportOption() {}
};
+ virtual bool has_advanced_options() const { return false; }
+ virtual void show_advanced_options(const String &p_path) {}
+
virtual int get_preset_count() const { return 0; }
virtual String get_preset_name(int p_idx) const { return String(); }