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();
#ifndef __APPLE__
/* de the afterqueuetest for backbuf draw */
sa= G.curscreen->areabase.first;
while(sa) {
if(sa->spacetype==SPACE_VIEW3D) {
if(afterqtest(sa->win, BACKBUFDRAW)) {
areawinset(sa->win);
backdrawview3d(0);
if(tempsa->spacetype==SPACE_VIEW3D) {
/* de the afterqueuetest for backbuf draw */
sa= G.curscreen->areabase.first;
while(sa) {
if(sa->spacetype==SPACE_VIEW3D) {
if(afterqtest(sa->win, BACKBUFDRAW)) {
areawinset(sa->win);
backdrawview3d(0);
}
}
sa= sa->next;
}
sa= sa->next;
}
#endif
if(curarea!=tempsa) areawinset(tempsa->win);