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.
This commit is contained in:
2005-11-21 11:15:46 +00:00
parent ddba16a752
commit d34ab0755e

View File

@@ -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++;
}