Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h')
-rw-r--r--source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h b/source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h
index df66f82b868..05fcf7f356f 100644
--- a/source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h
+++ b/source/blender/freestyle/intern/stroke/AdvancedPredicates1D.h
@@ -67,8 +67,9 @@ class DensityLowerThanUP1D : public UnaryPredicate1D {
int operator()(Interface1D &inter)
{
Functions1D::DensityF1D fun(_sigma);
- if (fun(inter) < 0)
+ if (fun(inter) < 0) {
return -1;
+ }
result = (fun.result < _threshold);
return 0;
}