### Godot version

0810ecaafdbee3ea747219e6ab3a8de5d2216a09

### System information

Windows 11, Nvidia 3000, firefox

### Issue description

Exporting the gltf file is corrupt in blender.

### Steps to reproduce

1. Open project.
2. Export as glb
3. Open in blender
4. Blender display many warnings

![image](https://user-images.githubusercontent.com/32321/216740742-de662c5c-f5c3-44b5-a36e-8ad33defdbba.png)


### Minimal reproduction project

https://cdn.discordapp.com/attachments/598003845657788438/1071249610896580691/Test_Game_Project.zip


}
	
	if (!current_node) {
		if (gltf_node->skin >= 0 && gltf_node->mesh >= 0 && !gltf_node->children.is_empty()) {
			current_node = _generate_spatial(p_state, node_index);
			Node3D *mesh_inst = _generate_mesh_instance(p_state, node_index);
			mesh_inst->set_name(gltf_node->get_name());
			current_node->add_child(mesh_inst, true);
		} else if (gltf_node->mesh >= 0) {
			current_node = _generate_mesh_instance(p_state, node_index);
		} else if (gltf_node->camera >= 0) {
			current_node = _generate_camera(p_state, node_index);
		} else if (gltf_node->light >= 0) {
			current_node = _generate_light(p_state, node_index);
		} else {
			current_node = _generate_spatial(p_state, node_index);
		}
	}
	
	scene_parent->add_child(current_node, true);
	if (current_node != scene_root) {
		Array args;
		args.append(scene_root);
		current_node->propagate_call(StringName("set_owner"), args);
	}
	current_node->set_transform(gltf_node->xform);
	current_node->set_name(gltf_node->get_name());
	p_state->scene_nodes.insert(node_index, current_node);
	for (int i = 0; i < gltf_node->children.size(); ++i) {
		_generate_scene_node(p_state, current_node, scene_root, gltf_node->children[i]);