Fixed the feature edge selection by Freestyle face marks to properly account for...
[blender.git] / release / scripts / freestyle / style_modules / parameter_editor.py
index 6b7f57cbce1c00a85fd6c393b9b7bbf279798ddd..71cfdce43f0d40fd4d37a2c471cfd9789fe3a534 100644 (file)
@@ -885,6 +885,9 @@ class FaceMarkBothUP1D(UnaryPredicate1D):
             if fe.is_smooth:
                 if fe.face_mark:
                     return True
+            elif (fe.nature & Nature.BORDER):
+                if fe.face_mark_left:
+                    return True
             else:
                 if fe.face_mark_right and fe.face_mark_left:
                     return True
@@ -898,6 +901,9 @@ class FaceMarkOneUP1D(UnaryPredicate1D):
             if fe.is_smooth:
                 if fe.face_mark:
                     return True
+            elif (fe.nature & Nature.BORDER):
+                if fe.face_mark_left:
+                    return True
             else:
                 if fe.face_mark_right or fe.face_mark_left:
                     return True