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:
Bozo The Builder
2023-04-23 04:06:52 -07:00
parent f3687d492e
commit ef4be960ca
80 changed files with 8798 additions and 3118 deletions

View File

@@ -2978,7 +2978,7 @@ bool ON_SubDFaceNeighborhood::QuadSubdivideHelper(
);
if ( edge1.IsNull() )
return ON_SUBD_RETURN_ERROR(false);
edge1.SetRelativeSharpness(prev_edge0_ptr.RelativeSharpness().Subdivided(1));
edge1.SetRelativeSharpness(prev_edge0_ptr.RelativeSharpness(false).Subdivided(1));
face1_eptrs[1] = edge1;
@@ -2990,7 +2990,7 @@ bool ON_SubDFaceNeighborhood::QuadSubdivideHelper(
);
if ( edge1.IsNull() )
return ON_SUBD_RETURN_ERROR(false);
edge1.SetRelativeSharpness(edge0_ptr.RelativeSharpness().Subdivided(0));
edge1.SetRelativeSharpness(edge0_ptr.RelativeSharpness(false).Subdivided(0));
face1_eptrs[2] = edge1;
face1 = m_fsh.AllocateQuad(level_zero_face_id, parent_face_idX, face1_eptrs);