Merge pull request #82272 from darksylinc/matias-gltf-color

Fix gltf importer forcing vertex colors on all materials
This commit is contained in:
Rémi Verschelde 2023-09-25 18:38:25 +02:00
commit 34de6c624c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 1 deletions

View File

@ -3877,7 +3877,6 @@ Error GLTFDocument::_parse_materials(Ref<GLTFState> p_state) {
} else {
material->set_name(vformat("material_%s", itos(i)));
}
material->set_flag(BaseMaterial3D::FLAG_ALBEDO_FROM_VERTEX_COLOR, true);
Dictionary material_extensions;
if (material_dict.has("extensions")) {
material_extensions = material_dict["extensions"];