Skip to content

Commit

Permalink
Merge pull request #82272 from darksylinc/matias-gltf-color
Browse files Browse the repository at this point in the history
Fix gltf importer forcing vertex colors on all materials
  • Loading branch information
akien-mga committed Sep 25, 2023
2 parents 9750876 + ec0e680 commit 34de6c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/gltf/gltf_document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit 34de6c6

Please sign in to comment.