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:
2011-02-22 01:43:08 +00:00
parent ecd76d99d6
commit df7f4f639f
2 changed files with 3 additions and 8 deletions

View File

@@ -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