diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-14 17:48:46 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-14 17:48:46 +0300 |
commit | e18b93419640551ad9156d27290896ca4b03aa86 (patch) | |
tree | 547aae16a0f7c86bd271e3f22bfeb762c8d331ec /source | |
parent | d88c776614fb7ac0b391ca34713e69d2b9ed4665 (diff) |
Fix #20354: sculpt mode crash when using smooth brush with multires level 0.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
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; } } |