Two minor fixes:
* Fixed a bug in MaterialF0D::operator() that an error condition was ignored due to a wrong return value. * Fixed a typo in the docstring of StrokeVertex::setPoint().
This commit is contained in:
@@ -289,13 +289,8 @@ namespace Functions0D {
|
||||
int MaterialF0D::operator()(Interface0DIterator& iter) {
|
||||
FEdge *fe1, *fe2;
|
||||
getFEdges(iter,fe1,fe2);
|
||||
|
||||
if(fe1 == 0) {
|
||||
// DEBUG
|
||||
getFEdges(iter, fe1, fe2);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(fe1 == 0)
|
||||
return -1;
|
||||
if(fe1->isSmooth())
|
||||
result = ((FEdgeSmooth*)fe1)->frs_material();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user