added Alloc to support polygon meshes
This commit is contained in:
parent
01750729b6
commit
9d8e452e65
|
@ -551,6 +551,7 @@ template<class EAR>
|
||||||
H.pop_back();
|
H.pop_back();
|
||||||
if(BestEar.IsUpToDate() && !BestEar.IsDegen(nmBit))
|
if(BestEar.IsUpToDate() && !BestEar.IsDegen(nmBit))
|
||||||
{
|
{
|
||||||
|
if((*f).HasPolyInfo()) (*f).Alloc(3);
|
||||||
if(BestEar.Close(ep0,ep1,&*f))
|
if(BestEar.Close(ep0,ep1,&*f))
|
||||||
{
|
{
|
||||||
if(!ep0.IsNull()){
|
if(!ep0.IsNull()){
|
||||||
|
|
Loading…
Reference in New Issue