Merge pull request #53399 from V-Sekai/extension-game-convert
This commit is contained in:
commit
48768663d6
@ -31,7 +31,7 @@
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="extensions" type="GLTFDocumentExtension[]" setter="set_extensions" getter="get_extensions" default="[Object(GLTFDocumentExtensionConvertImporterMesh,"resource_local_to_scene":false,"resource_name":"","script":null)]">
|
||||
<member name="extensions" type="GLTFDocumentExtension[]" setter="set_extensions" getter="get_extensions" default="[]">
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
|
@ -6887,7 +6887,8 @@ TypedArray<GLTFDocumentExtension> GLTFDocument::get_extensions() const {
|
||||
}
|
||||
|
||||
GLTFDocument::GLTFDocument() {
|
||||
if (!::Engine::get_singleton()->is_editor_hint()) {
|
||||
bool is_editor = ::Engine::get_singleton()->is_editor_hint();
|
||||
if (is_editor) {
|
||||
return;
|
||||
}
|
||||
Ref<GLTFDocumentExtensionConvertImporterMesh> extension_editor;
|
||||
|
Loading…
Reference in New Issue
Block a user