diff options
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Silhouette.cpp')
-rw-r--r-- | source/blender/freestyle/intern/view_map/Silhouette.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.cpp b/source/blender/freestyle/intern/view_map/Silhouette.cpp index 49da675b932..63c4fc8d5da 100644 --- a/source/blender/freestyle/intern/view_map/Silhouette.cpp +++ b/source/blender/freestyle/intern/view_map/Silhouette.cpp @@ -355,11 +355,13 @@ real FEdge::local_average_density(float sigma, int iCombination) const Vec3r FEdge::normal(int &oException /* = Exception::NO_EXCEPTION */) { Vec3r Na = _VertexA->normal(oException); - if (oException != Exception::NO_EXCEPTION) + if (oException != Exception::NO_EXCEPTION) { return Na; + } Vec3r Nb = _VertexB->normal(oException); - if (oException != Exception::NO_EXCEPTION) + if (oException != Exception::NO_EXCEPTION) { return Nb; + } return (Na + Nb) / 2.0; } |