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:
authorJoseph Eagar <joeedh@gmail.com>2020-11-03 01:33:52 +0300
committerJoseph Eagar <joeedh@gmail.com>2020-11-03 01:33:52 +0300
commit7834b5959886fa69c20068c02040bae784003ce9 (patch)
tree3cc8612450698c0fddd9d47f2edd71927a450b00 /source/blender/modifiers/intern/MOD_bevel.c
parent0c8d40d2deacc20e3bb7a58d0af07ec419c664dc (diff)
parent9cfcc273194e6e9706fefaac739b3d73eca2f62f (diff)
Merge remote-tracking branch 'origin' into temp_bmesh_multires
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 8bddd97f76f..aa97887fe31 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -208,7 +208,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
Object *ob = ctx->object;
if (harden_normals && (ob->type == OB_MESH) && !(((Mesh *)ob->data)->flag & ME_AUTOSMOOTH)) {
- BKE_modifier_set_error(md, "Enable 'Auto Smooth' in Object Data Properties");
+ BKE_modifier_set_error(ob, md, "Enable 'Auto Smooth' in Object Data Properties");
harden_normals = false;
}