Fix Face color display issue with Vbo turned on
This commit is contained in:
parent
399cdd803a
commit
4a3252e445
|
@ -209,10 +209,12 @@ void SoBrepFaceSet::doAction(SoAction* action)
|
||||||
for (int i=0; i<num;i++)
|
for (int i=0; i<num;i++)
|
||||||
v[i] = i;
|
v[i] = i;
|
||||||
this->selectionIndex.finishEditing();
|
this->selectionIndex.finishEditing();
|
||||||
|
PRIVATE(this)->updateVbo = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (selaction->getType() == Gui::SoSelectionElementAction::None) {
|
else if (selaction->getType() == Gui::SoSelectionElementAction::None) {
|
||||||
this->selectionIndex.setNum(0);
|
this->selectionIndex.setNum(0);
|
||||||
|
PRIVATE(this)->updateVbo = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user