diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 06:03:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 06:04:13 +0300 |
commit | e74535df0871f27162517821ff3a507084849e03 (patch) | |
tree | 856ec0a66080a3bf24eb0e41f1374dfa278c68d4 /source/blender/editors/sculpt_paint/sculpt_filter_mesh.c | |
parent | 04f006ea9efec81146a6fd98756f7c2177dde9c4 (diff) |
Cleanup: shadow warning
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_filter_mesh.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_filter_mesh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c index ac307df34fd..4f22ad6a9b0 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c +++ b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c @@ -578,7 +578,6 @@ static int sculpt_mesh_filter_invoke(bContext *C, wmOperator *op, const wmEvent ss->filter_cache->enabled_axis[2] = deform_axis & MESH_FILTER_DEFORM_Z; if (RNA_enum_get(op->ptr, "type") == MESH_FILTER_RELAX) { - const int totvert = SCULPT_vertex_count_get(ss); ss->filter_cache->automask = MEM_mallocN(totvert * sizeof(float), "Relax filter edge automask"); for (int i = 0; i < totvert; i++) { |