Bugfix, the lock button in the uv editor didn't work, the 3d view would

always redraw even if it was disabled (only on non-apple).
This commit is contained in:
2005-08-11 13:08:08 +00:00
parent 65c5eb6e09
commit 2cb9c4db0c

View File

@@ -4848,16 +4848,18 @@ void force_draw(int header)
screen_swapbuffers(); screen_swapbuffers();
#ifndef __APPLE__ #ifndef __APPLE__
/* de the afterqueuetest for backbuf draw */ if(tempsa->spacetype==SPACE_VIEW3D) {
sa= G.curscreen->areabase.first; /* de the afterqueuetest for backbuf draw */
while(sa) { sa= G.curscreen->areabase.first;
if(sa->spacetype==SPACE_VIEW3D) { while(sa) {
if(afterqtest(sa->win, BACKBUFDRAW)) { if(sa->spacetype==SPACE_VIEW3D) {
areawinset(sa->win); if(afterqtest(sa->win, BACKBUFDRAW)) {
backdrawview3d(0); areawinset(sa->win);
backdrawview3d(0);
}
} }
sa= sa->next;
} }
sa= sa->next;
} }
#endif #endif
if(curarea!=tempsa) areawinset(tempsa->win); if(curarea!=tempsa) areawinset(tempsa->win);