summaryrefslogtreecommitdiffstats
path: root/modules/gltf/register_types.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2024-01-10 16:08:25 -0600
committerAaron Franke <arnfranke@yahoo.com>2024-01-11 20:33:51 -0600
commitd36a34edb77e93d501fd18fb7a255cc14e246dab (patch)
tree7a5e1605706528742e97ab1a35f98e04fcdb5e28 /modules/gltf/register_types.cpp
parent26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff)
downloadredot-engine-d36a34edb77e93d501fd18fb7a255cc14e246dab.tar.gz
Misc changes to the GLTF module before audio PR
Diffstat (limited to 'modules/gltf/register_types.cpp')
-rw-r--r--modules/gltf/register_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gltf/register_types.cpp b/modules/gltf/register_types.cpp
index 0bf02cf890..94c9d66f78 100644
--- a/modules/gltf/register_types.cpp
+++ b/modules/gltf/register_types.cpp
@@ -118,6 +118,7 @@ void initialize_gltf_module(ModuleInitializationLevel p_level) {
GDREGISTER_CLASS(GLTFTexture);
GDREGISTER_CLASS(GLTFTextureSampler);
// Register GLTFDocumentExtension classes with GLTFDocument.
+ // Ensure physics is first in this list so that physics nodes are created before other nodes.
GLTF_REGISTER_DOCUMENT_EXTENSION(GLTFDocumentExtensionPhysics);
GLTF_REGISTER_DOCUMENT_EXTENSION(GLTFDocumentExtensionTextureKTX);
GLTF_REGISTER_DOCUMENT_EXTENSION(GLTFDocumentExtensionTextureWebP);