GLTF: Change "Camera3D" generated node name to "Camera"

This commit is contained in:
Aaron Franke 2023-09-03 02:47:34 -05:00
parent fa3428ff25
commit c1bc4fbd20
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

@ -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";
}