Merged changes in the trunk up to revision 51853.
[blender-staging.git] / source / blender / bmesh / operators / bmo_similar.c
index df03e50d2c4a126d7293a8bf6f5e4af4aad1b992..b4566f6c8a96f2b62c8d1b6a42457c9e1bd77cea 100644 (file)
@@ -463,6 +463,12 @@ void bmo_similar_edges_exec(BMesh *bm, BMOperator *op)
                                                        cont = FALSE;
                                                }
                                                break;
+                                       case SIMEDGE_FREESTYLE:
+                                               if (BM_elem_flag_test(e, BM_ELEM_FREESTYLE) == BM_elem_flag_test(es, BM_ELEM_FREESTYLE)) {
+                                                       BMO_elem_flag_enable(bm, e, EDGE_MARK);
+                                                       cont = 0;
+                                               }
+                                               break;
                                        default:
                                                BLI_assert(0);
                                }