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.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user