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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-11-04 21:23:07 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-11-04 21:23:07 +0400
commita9055460a92397d8110289167719d616ce3f0399 (patch)
tree13e7f7cedbd78c3cd7933414c536c159f1aaa7ef /source/blender/bmesh/operators/bmo_similar.c
parent9bdfa2f9e7f6c71a58b5e7875f27971768acc0e1 (diff)
Fix for missing code to select similar faces with Freestyle face marks.
Problem report by IRIE Shinsuke in the Bf-committers list, thanks!
Diffstat (limited to 'source/blender/bmesh/operators/bmo_similar.c')
-rw-r--r--source/blender/bmesh/operators/bmo_similar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_similar.c b/source/blender/bmesh/operators/bmo_similar.c
index b4566f6c8a9..0954cfafb38 100644
--- a/source/blender/bmesh/operators/bmo_similar.c
+++ b/source/blender/bmesh/operators/bmo_similar.c
@@ -245,6 +245,12 @@ void bmo_similar_faces_exec(BMesh *bm, BMOperator *op)
cont = FALSE;
}
break;
+ case SIMFACE_FREESTYLE:
+ if (BM_elem_flag_test(fm, BM_ELEM_FREESTYLE) == BM_elem_flag_test(fs, BM_ELEM_FREESTYLE)) {
+ BMO_elem_flag_enable(bm, fm, FACE_MARK);
+ cont = FALSE;
+ }
+ break;
default:
BLI_assert(0);
}