9484ee7a9e
Lets you drag or place .blend files in the project folder and it will import the files. Checks for Blender 3.0's gltf2 `export_keep_originals` option. Add basepath support to GLTFDocument append_from_file. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
33 lines
648 B
Python
33 lines
648 B
Python
def can_build(env, platform):
|
|
return not env["disable_3d"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|
|
|
|
|
|
def get_doc_classes():
|
|
return [
|
|
"EditorSceneFormatImporterBlend",
|
|
"EditorSceneFormatImporterGLTF",
|
|
"GLTFAccessor",
|
|
"GLTFAnimation",
|
|
"GLTFBufferView",
|
|
"GLTFCamera",
|
|
"GLTFDocument",
|
|
"GLTFDocumentExtension",
|
|
"GLTFDocumentExtensionConvertImporterMesh",
|
|
"GLTFLight",
|
|
"GLTFMesh",
|
|
"GLTFNode",
|
|
"GLTFSkeleton",
|
|
"GLTFSkin",
|
|
"GLTFSpecGloss",
|
|
"GLTFState",
|
|
"GLTFTexture",
|
|
]
|
|
|
|
|
|
def get_doc_path():
|
|
return "doc_classes"
|