### Godot version

v4.0.beta.custom_build [705273140]

### System information

windows 10

### Issue description

When double-clicking a gltf file in the project, the Importer panel will open, but it will also extract the embedded textures.
This never happened in the previous version I was using (I'm not sure which beta I was using last- maybe 13 or 14).



### Steps to reproduce

open the project, and double-click the gltf file to open the importer, see that it creates an image file when it should stay embedded.


### Minimal reproduction project

[gltf import bug.zip](https://github.com/godotengine/godot/files/10522127/gltf.import.bug.zip)

Array skin_pose_transform_array;
	const Ref<Skin> skin = p_src_mesh_node->get_skin();
	if (skin.is_valid()) {
		NodePath skeleton_path = p_src_mesh_node->get_skeleton_path();
		const Node *node = p_src_mesh_node->get_node_or_null(skeleton_path);
		const Skeleton3D *skeleton = Object::cast_to<Skeleton3D>(node);
		if (skeleton) {
			int bind_count = skin->get_bind_count();
			for (int i = 0; i < bind_count; i++) {
				Transform3D bind_pose = skin->get_bind_pose(i);
				String bind_name = skin->get_bind_name(i);
				int bone_idx = bind_name.is_empty() ? skin->get_bind_bone(i) : skeleton->find_bone(bind_name);
				ERR_FAIL_COND_V(bone_idx >= skeleton->get_bone_count(), Array());
				Transform3D bp_global_rest;
				if (bone_idx >= 0) {
					bp_global_rest = skeleton->get_bone_global_pose(bone_idx);
				} else {
					bp_global_rest = skeleton->get_bone_global_pose(i);
				}
				skin_pose_transform_array.push_back(bp_global_rest * bind_pose);
			}
		}
	}
	return skin_pose_transform_array;
}
void ResourceImporterScene::_generate_meshes(Node *p_node, const Dictionary &p_mesh_data, bool p_generate_lods, bool p_create_shadow_meshes, LightBakeMode p_light_bake_mode, float p_lightmap_texel_size, const Vector<uint8_t> &p_src_lightmap_cache, Vector<Vector<uint8_t>> &r_lightmap_caches) {