mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-16 22:36:01 +08:00
Sync changes from upstream repository
Co-authored-by: Alain <alain@mcneel.com> Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: croudyj <croudyj@gmail.com> Co-authored-by: Dale Fugier <dale@mcneel.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: David Eränen <david.eranen@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: Mikko Oksanen <mikko@mcneel.com> Co-authored-by: piac <giulio@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: TimHemmelman <tim@mcneel.com> Co-authored-by: Will Pearson <will@mcneel.com>
This commit is contained in:
@@ -663,6 +663,14 @@ bool ON_SubDVertex::Transform(
|
||||
return true;
|
||||
}
|
||||
|
||||
void ON_SubDVertex::UnsetControlNetPoint()
|
||||
{
|
||||
m_P[0] = ON_DBL_QNAN;
|
||||
m_P[1] = ON_DBL_QNAN;
|
||||
m_P[2] = ON_DBL_QNAN;
|
||||
ClearSavedSubdivisionPoints();
|
||||
}
|
||||
|
||||
bool ON_SubDVertex::SetControlNetPoint(
|
||||
ON_3dPoint control_net_point,
|
||||
bool bClearNeighborhoodCache
|
||||
@@ -1019,7 +1027,7 @@ ON_BoundingBox ON_SubDVertex::ControlNetBoundingBox() const
|
||||
{
|
||||
ON_BoundingBox bbox;
|
||||
bbox.m_min = m_P;
|
||||
bbox.m_min = bbox.m_min;
|
||||
bbox.m_max = bbox.m_min;
|
||||
return bbox;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user