1463fc889b
Convert GLTF Document to use ImporterMeshInstance3D. Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d. Use GLTF module when the editor tools are disabled. Modified the render server to be less restrictive on matching blend arrays and have more logging. Misc bugs with multimesh. Always index the meshes.
31 lines
600 B
Python
31 lines
600 B
Python
def can_build(env, platform):
|
|
return not env["disable_3d"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|
|
|
|
|
|
def get_doc_classes():
|
|
return [
|
|
"EditorSceneImporterGLTF",
|
|
"GLTFAccessor",
|
|
"GLTFAnimation",
|
|
"GLTFBufferView",
|
|
"GLTFCamera",
|
|
"GLTFDocument",
|
|
"GLTFLight",
|
|
"GLTFMesh",
|
|
"GLTFNode",
|
|
"GLTFSkeleton",
|
|
"GLTFSkin",
|
|
"GLTFSpecGloss",
|
|
"GLTFState",
|
|
"GLTFTexture",
|
|
"GLTFDocumentExtension",
|
|
"GLTFDocumentExtensionConvertImporterMesh",
|
|
]
|
|
|
|
|
|
def get_doc_path():
|
|
return "doc_classes"
|