You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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>
This commit is contained in:
31
doc/classes/EditorFileSystemImportFormatSupportQuery.xml
Normal file
31
doc/classes/EditorFileSystemImportFormatSupportQuery.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="EditorFileSystemImportFormatSupportQuery" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Used to query and configure import format support.
|
||||
</brief_description>
|
||||
<description>
|
||||
This class is used to query and configure a certain import format. It is used in conjuntion with asset format import plugins.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_get_file_extensions" qualifiers="virtual const">
|
||||
<return type="PackedStringArray" />
|
||||
<description>
|
||||
Return the file extensions supported.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_is_active" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Return whether this importer is active.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_query" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Query support. Return false if import must not continue.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
</class>
|
||||
Reference in New Issue
Block a user