diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-11 17:19:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-11 17:19:05 +0300 |
commit | 114ce86167b0000428304c5675719cfff3a771d7 (patch) | |
tree | a84c3ab3b5a0d451fea25ff33d1649e3b5b35e7d /source/blender/src/edit.c | |
parent | 910ef6ca754579d7f605603ab1d737c89f8579c3 (diff) |
display real fps in 3d view option
replace 1 with SELECT
edited DVar texture tooltip
Diffstat (limited to 'source/blender/src/edit.c')
-rw-r--r-- | source/blender/src/edit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 2e4b89869c4..fcd38ef16a7 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -728,7 +728,7 @@ void countall() a= nu->pntsu*nu->pntsv; while(a--) { G.totvert++; - if(bp->f1 & 1) G.totvertsel++; + if(bp->f1 & SELECT) G.totvertsel++; bp++; } } @@ -752,7 +752,7 @@ void countall() a= editLatt->pntsu*editLatt->pntsv*editLatt->pntsw; while(a--) { G.totvert++; - if(bp->f1 & 1) G.totvertsel++; + if(bp->f1 & SELECT) G.totvertsel++; bp++; } } @@ -1109,12 +1109,12 @@ static void make_trans_verts(float *min, float *max, int mode) bp= nu->bp; while(a--) { if(bp->hide==0) { - if((mode & 1) || (bp->f1 & 1)) { + if((mode & 1) || (bp->f1 & SELECT)) { VECCOPY(tv->oldloc, bp->vec); tv->loc= bp->vec; tv->val= &(bp->alfa); tv->oldval= bp->alfa; - tv->flag= bp->f1 & 1; + tv->flag= bp->f1 & SELECT; tv++; tottrans++; } @@ -1147,11 +1147,11 @@ static void make_trans_verts(float *min, float *max, int mode) a= editLatt->pntsu*editLatt->pntsv*editLatt->pntsw; while(a--) { - if((mode & 1) || (bp->f1 & 1)) { + if((mode & 1) || (bp->f1 & SELECT)) { if(bp->hide==0) { VECCOPY(tv->oldloc, bp->vec); tv->loc= bp->vec; - tv->flag= bp->f1 & 1; + tv->flag= bp->f1 & SELECT; tv++; tottrans++; } |