diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-12 15:51:33 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-12 16:14:21 +0300 |
commit | 3797fdcfc160e8b413ebb5dc825728a77c72374c (patch) | |
tree | f3ef7c0bb3ac87bc4e215d2894fbcb05412f838e /source/blender/modifiers/intern | |
parent | 87c4f309543a1fed5d7fe377dfdbf48ccf960380 (diff) |
Modifiers: Make Difference default operation for boolean modifier.
Make Difference a default value for boolean modifier operation property.
Currently operation property of the boolean modifier is set to Intersect, which is the least frequently used boolean operation of the three available. It is also goes out of sync with Intersect (Boolean) tool, where Difference is a default operation.
Reviewers: mont29, brecht, sergey
Reviewed By: mont29, brecht, sergey
Subscribers: mont29, brecht, campbellbarton, sergey, billreynish
Tags: #modifiers
Differential Revision: https://developer.blender.org/D4340
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_boolean.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c index 1a2c448d49d..817d0fc1f5f 100644 --- a/source/blender/modifiers/intern/MOD_boolean.c +++ b/source/blender/modifiers/intern/MOD_boolean.c @@ -63,6 +63,7 @@ static void initData(ModifierData *md) BooleanModifierData *bmd = (BooleanModifierData *)md; bmd->double_threshold = 1e-6f; + bmd->operation = eBooleanModifierOp_Difference; } static bool isDisabled(const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams)) |