diff options
author | Ton Roosendaal <ton@blender.org> | 2005-11-21 14:15:46 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-11-21 14:15:46 +0300 |
commit | d34ab0755e3ab7081ac95ac07b14d64d88142a20 (patch) | |
tree | 7da2f4f8b70c98672349e13fa13d71d8609fb737 /source/blender/src/transform_conversions.c | |
parent | ddba16a752a40b609dbd581e592bd3304174dfbc (diff) |
Bugfix #3430
Using Proportional edit on a Lattice with option "Outside" crashed.
Was caused by not checking for the hide flag while counting amount
of transformed elements in Lattice.
Diffstat (limited to 'source/blender/src/transform_conversions.c')
-rwxr-xr-x | source/blender/src/transform_conversions.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c index 29f6a02309d..354ab917dd0 100755 --- a/source/blender/src/transform_conversions.c +++ b/source/blender/src/transform_conversions.c @@ -1236,8 +1236,10 @@ static void createTransLatticeVerts(TransInfo *t) bp= editLatt->def; a= editLatt->pntsu*editLatt->pntsv*editLatt->pntsw; while(a--) { - if(bp->f1 & 1) countsel++; - if(propmode) count++; + if(bp->hide==0) { + if(bp->f1 & 1) countsel++; + if(propmode) count++; + } bp++; } |