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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-07 18:27:56 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-07 18:38:07 +0300
commite00a00db527490c3a33ab775fc1757adadd2cc2d (patch)
treefe6d846c91fa97e56037178e4deeb3feb48da53a /source/blender/draw/modes
parentad84f22628d7ca1e3ade81ee5282edb2527e793a (diff)
Cleanup: rename some sculpt variables for clarity
Diffstat (limited to 'source/blender/draw/modes')
-rw-r--r--source/blender/draw/modes/sculpt_mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c
index 1b196cd8bb7..f83a8f542c6 100644
--- a/source/blender/draw/modes/sculpt_mode.c
+++ b/source/blender/draw/modes/sculpt_mode.c
@@ -155,8 +155,8 @@ static void SCULPT_cache_populate(void *vedata, Object *ob)
if (ob->sculpt) {
const DRWContextState *draw_ctx = DRW_context_state_get();
- if ((ob == draw_ctx->obact) &&
- (BKE_sculptsession_use_pbvh_draw(ob, draw_ctx->v3d) || !ob->sculpt->modifiers_active)) {
+ if ((ob == draw_ctx->obact) && (BKE_sculptsession_use_pbvh_draw(ob, draw_ctx->v3d) ||
+ !ob->sculpt->deform_modifiers_active)) {
PBVH *pbvh = ob->sculpt->pbvh;
if (pbvh && pbvh_has_mask(pbvh)) {
DRW_shgroup_call_sculpt(stl->g_data->mask_overlay_grp, ob, false, true, false);