Skip to content

Commit 7160252

Browse files
committed
Fix bug on cleanRefEntities: surface -> incident volumes
1 parent 9afdf82 commit 7160252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Geom/GeomModificationBaseClass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ void GeomModificationBaseClass::cleanRefEntities(){
464464
std::vector<Curve*> incidentCurves = s->getCurves();
465465
auto refVolumes = m_ref_entities[3];
466466
for(auto v : incidentVolumes){
467-
auto res = std::find(refVolumes.begin(),refVolumes.end(),s);
467+
auto res = std::find(refVolumes.begin(),refVolumes.end(),v);
468468
if(res != refVolumes.end())
469469
toRemoveV.push_back(v);
470470
}

0 commit comments

Comments
 (0)