added Alloc to support polygon meshes
This commit is contained in:
parent
01750729b6
commit
9d8e452e65
|
@ -551,8 +551,9 @@ 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()){
|
||||||
H.push_back(EAR(ep0));
|
H.push_back(EAR(ep0));
|
||||||
push_heap( H.begin(), H.end());
|
push_heap( H.begin(), H.end());
|
||||||
|
|
Loading…
Reference in New Issue