diff options
author | reduz <reduzio@gmail.com> | 2022-03-31 22:00:17 +0200 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2022-04-01 11:01:12 +0200 |
commit | e32215fbadc0ff108d5b7d79558e42ad7954cb4e (patch) | |
tree | e904c062146ac8961349740b570e1ec0f28ba3d8 /editor/editor_node.cpp | |
parent | 155a94fabee3ca7305677474d41d497d419b258f (diff) |
Add Blender install autodetection and configuration.
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 25e3bc8d6a..52f7366dd7 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3920,6 +3920,7 @@ void EditorNode::register_editor_types() { GDREGISTER_CLASS(EditorScriptPicker); GDREGISTER_ABSTRACT_CLASS(FileSystemDock); + GDREGISTER_VIRTUAL_CLASS(EditorFileSystemImportFormatSupportQuery); GDREGISTER_CLASS(EditorScenePostImport); GDREGISTER_CLASS(EditorCommandPalette); |