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@pandora.be>2009-12-14 17:48:46 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-12-14 17:48:46 +0300
commite18b93419640551ad9156d27290896ca4b03aa86 (patch)
tree547aae16a0f7c86bd271e3f22bfeb762c8d331ec /source/blender/editors
parentd88c776614fb7ac0b391ca34713e69d2b9ed4665 (diff)
Fix #20354: sculpt mode crash when using smooth brush with multires level 0.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 0dd41fb559a..e6fe1a5153d 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1488,7 +1488,7 @@ struct MultiresModifierData *sculpt_multires_active(Object *ob)
if(nmd->mode & eModifierMode_Realtime)
break;
- if(!nmd && mmd->lvl != 1)
+ if(!nmd && mmd->sculptlvl > 0)
return mmd;
}
}