GLTF: Change "Camera3D" generated node name to "Camera"
This commit is contained in:
parent
fa3428ff25
commit
c1bc4fbd20
1 changed files with 1 additions and 1 deletions
|
@ -5280,7 +5280,7 @@ void GLTFDocument::_assign_node_names(Ref<GLTFState> p_state) {
|
||||||
if (gltf_node->mesh >= 0) {
|
if (gltf_node->mesh >= 0) {
|
||||||
gltf_node_name = "Mesh";
|
gltf_node_name = "Mesh";
|
||||||
} else if (gltf_node->camera >= 0) {
|
} else if (gltf_node->camera >= 0) {
|
||||||
gltf_node_name = "Camera3D";
|
gltf_node_name = "Camera";
|
||||||
} else {
|
} else {
|
||||||
gltf_node_name = "Node";
|
gltf_node_name = "Node";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue