mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-18 20:26:03 +08:00
Sync changes from upstream repository
Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: Dale Fugier <dale@mcneel.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: Jussi <jussi@mcneel.com> Co-authored-by: Lowell <lowell@mcneel.com> Co-authored-by: Rajaa Issa <rajaa@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: alain <alain@mcneel.com> Co-authored-by: chuck <chuck@mcneel.com> Co-authored-by: piac <giulio@mcneel.com>
This commit is contained in:
@@ -1046,6 +1046,23 @@ bool ON_SubD::HasPerFaceColorsFromPackId() const
|
||||
}
|
||||
|
||||
|
||||
|
||||
void ON_SubD::SetPerFaceColorsFromSymmetryMotif() const
|
||||
{
|
||||
if (FaceCount() < 1)
|
||||
return;
|
||||
|
||||
this->ClearPerFaceColors();
|
||||
ChangeRenderContentSerialNumber(); // face color changes.
|
||||
}
|
||||
|
||||
bool ON_SubD::HasPerFaceColorsFromSymmetryMotif() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ON_SubDMeshFragment - texture coordinates
|
||||
|
||||
Reference in New Issue
Block a user