diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-21 04:58:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-21 04:58:02 +0400 |
commit | 90d215535ec4160740fb19f90e453cb1ea053ffd (patch) | |
tree | 867f1a10586e5f2ab552356bdb9e9cd555546796 /source/blender/modifiers/intern/MOD_edgesplit.c | |
parent | 16516238e2b25ce53144c2dcea5323dc7313b724 (diff) |
add option so operators can be called with a flag, currently the only flag is to respect hidden geometry.
this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_edgesplit.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_edgesplit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_edgesplit.c b/source/blender/modifiers/intern/MOD_edgesplit.c index 471317a279c..b1c3459bf51 100644 --- a/source/blender/modifiers/intern/MOD_edgesplit.c +++ b/source/blender/modifiers/intern/MOD_edgesplit.c @@ -103,7 +103,8 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj } } - BMO_op_callf(bm, "split_edges edges=%fe", EDGE_MARK); + BMO_op_callf(bm, BMO_FLAG_DEFAULTS, + "split_edges edges=%fe", EDGE_MARK); BMO_pop(bm); |