From 2cb9c4db0c3d560933dee0c481fcf09064d6e5ec Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 11 Aug 2005 13:08:08 +0000 Subject: [PATCH] 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). --- source/blender/src/space.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/source/blender/src/space.c b/source/blender/src/space.c index d552a102ef3..841a3fed66c 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -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);