diff options
-rw-r--r-- | source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp | 2 | ||||
-rwxr-xr-x | source/blender/freestyle/intern/view_map/Functions0D.cpp | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp index 63a848a77b6..80b9defd95e 100644 --- a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp @@ -241,7 +241,7 @@ static char StrokeVertex_setPoint___doc__[] = " :arg y: The Y coordinate.\n" " :type y: float\n" "\n" -".. method:: SetPoint(p)\n" +".. method:: setPoint(p)\n" "\n" " Sets the 2D point X and Y coordinates.\n" "\n" diff --git a/source/blender/freestyle/intern/view_map/Functions0D.cpp b/source/blender/freestyle/intern/view_map/Functions0D.cpp index dc38ca34184..a9f997e66b0 100755 --- a/source/blender/freestyle/intern/view_map/Functions0D.cpp +++ b/source/blender/freestyle/intern/view_map/Functions0D.cpp @@ -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 |