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:
authorTon Roosendaal <ton@blender.org>2005-11-21 14:15:46 +0300
committerTon Roosendaal <ton@blender.org>2005-11-21 14:15:46 +0300
commitd34ab0755e3ab7081ac95ac07b14d64d88142a20 (patch)
tree7da2f4f8b70c98672349e13fa13d71d8609fb737 /source/blender/src/transform_conversions.c
parentddba16a752a40b609dbd581e592bd3304174dfbc (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-xsource/blender/src/transform_conversions.c6
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++;
}