### 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)

ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	
	err = _parse_nodes(p_state);
	ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	
	err = _parse_buffers(p_state, p_search_path);
	ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	
	err = _parse_buffer_views(p_state);
	ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	
	err = _parse_accessors(p_state);
	ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	if (!p_state->discard_meshes_and_materials) {
		
		err = _parse_images(p_state, p_search_path);
		ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
		
		err = _parse_texture_samplers(p_state);
		ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
		
		err = _parse_textures(p_state);
		ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
		
		err = _parse_materials(p_state);
		ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);
	}
	
	err = _parse_skins(p_state);
	ERR_FAIL_COND_V(err != OK, ERR_PARSE_ERROR);