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:
authorHoward Trickey <howard.trickey@gmail.com>2013-03-13 18:08:12 +0400
committerHoward Trickey <howard.trickey@gmail.com>2013-03-13 18:08:12 +0400
commit604bdb7f45331bc16dac38ef8a3f34b5f6196b9d (patch)
tree6c141b75ff4d600f41eee44f824d08f1d4a3729e /source/blender/modifiers/intern/MOD_bevel.c
parent1ecf9ccf5fdb8f1ce928ed74582c27c831630eba (diff)
Fix bevel modifier bug #34611, limit bevel amount needed.
This is a quick fix that perhaps overestimates the point of first geometry collision, but at least for now it should allow models that used the old modifier and a too-big bevel amount to not look awful. The correct solution to this problem is much more involved and I'll get to it later.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 1942fe12a54..b14c4ba0ad1 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -160,7 +160,8 @@ static DerivedMesh *applyModifier(ModifierData *md, struct Object *ob,
}
BM_mesh_bevel(bm, bmd->value, bmd->res,
- vertex_only, bmd->lim_flags & BME_BEVEL_WEIGHT, dvert, vgroup);
+ vertex_only, bmd->lim_flags & BME_BEVEL_WEIGHT, true,
+ dvert, vgroup);
result = CDDM_from_bmesh(bm, TRUE);