Freestyle: Fix for GetOccludeeF1D returning a one-element list containing None when it is supposed to return an empty list.
This commit is contained in:
parent
cb023ce0fd
commit
6c136a69b0
|
@ -198,7 +198,9 @@ int GetOccludeeF1D::operator()(Interface1D& inter)
|
|||
ViewEdge *ve = dynamic_cast<ViewEdge*>(&inter);
|
||||
if (ve) {
|
||||
ViewShape *aShape = ve->aShape();
|
||||
shapesVector.push_back(aShape);
|
||||
if (aShape) {
|
||||
shapesVector.push_back(aShape);
|
||||
}
|
||||
}
|
||||
else {
|
||||
Interface0DIterator it = inter.verticesBegin(), itend = inter.verticesEnd();
|
||||
|
|
Loading…
Reference in New Issue