+ fix rendering bug for colored
This commit is contained in:
parent
50d7793442
commit
0ea477b420
|
@ -571,7 +571,7 @@ void ViewProviderMesh::tryColorPerVertex()
|
|||
|
||||
void ViewProviderMesh::setColorPerVertex(const App::PropertyColorList* prop)
|
||||
{
|
||||
pcMatBinding->value = SoMaterialBinding::PER_VERTEX;
|
||||
pcMatBinding->value = SoMaterialBinding::PER_VERTEX_INDEXED;
|
||||
const std::vector<App::Color>& val = prop->getValues();
|
||||
|
||||
pcShapeMaterial->diffuseColor.setNum(val.size());
|
||||
|
|
Loading…
Reference in New Issue
Block a user