Bug #2266
authorTon Roosendaal <ton@blender.org>
Tue, 1 Mar 2005 16:19:19 +0000 (16:19 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 1 Mar 2005 16:19:19 +0000 (16:19 +0000)
- top header count updates correct now using SHIFT+F4 databrowse
- same for switching layers in 3d window

source/blender/src/filesel.c
source/blender/src/header_view3d.c

index b105906e07992776e129429665745b170d437ceb..c673fb934bb5525cdc05bd8a02829baca22efe74 100644 (file)
@@ -2358,6 +2358,7 @@ static void filesel_select_objects(SpaceFile *sfile)
                        base->flag= base->object->flag;
                        base= base->next;
                }
+               countall();
                allqueue(REDRAWVIEW3D, 0);
        }
        else if( strcmp(sfile->dir, "Scene/")==0 ) {
index 35a012fd79df375b5f41ba55c3a4c1190628bbbc..462c1208da776fd4d2a21444b8142442a1a02dff 100644 (file)
@@ -3758,10 +3758,12 @@ void do_view3d_buttons(short event)
                                G.vd->layact= G.vd->lay;
                                scrarea_queue_headredraw(curarea);
                        }
+                       
+                       if(G.vd->scenelock) handle_view3d_lock();
+                       
                        scrarea_queue_winredraw(curarea);
                        countall();
 
-                       if(G.vd->scenelock) handle_view3d_lock();
                        allqueue(REDRAWOOPS, 0);
                }
                break;