diff options
| author | Aaron Franke <arnfranke@yahoo.com> | 2023-09-03 02:47:34 -0500 |
|---|---|---|
| committer | Aaron Franke <arnfranke@yahoo.com> | 2023-09-03 02:47:34 -0500 |
| commit | c1bc4fbd20d7e48e78d643fdb10230333a59ded1 (patch) | |
| tree | f00df6d1b1f57f8463b5e03af5b8067cebbd27ca /modules/gltf | |
| parent | fa3428ff25bc577d2a3433090478a6d615567056 (diff) | |
| download | redot-engine-c1bc4fbd20d7e48e78d643fdb10230333a59ded1.tar.gz | |
GLTF: Change "Camera3D" generated node name to "Camera"
Diffstat (limited to 'modules/gltf')
| -rw-r--r-- | modules/gltf/gltf_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 74de40e901..4fb31480c1 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -5280,7 +5280,7 @@ void GLTFDocument::_assign_node_names(Ref<GLTFState> p_state) { if (gltf_node->mesh >= 0) { gltf_node_name = "Mesh"; } else if (gltf_node->camera >= 0) { - gltf_node_name = "Camera3D"; + gltf_node_name = "Camera"; } else { gltf_node_name = "Node"; } |
