fixed a lot of interface update issues.
authorRob Haarsma <phaseIV@zonnet.nl>
Mon, 5 May 2003 12:18:22 +0000 (12:18 +0000)
committerRob Haarsma <phaseIV@zonnet.nl>
Mon, 5 May 2003 12:18:22 +0000 (12:18 +0000)
big thanks to broken !

source/blender/src/editarmature.c
source/blender/src/editcurve.c
source/blender/src/editfont.c
source/blender/src/editmesh.c
source/blender/src/headerbuttons.c

index 1227bbb2fddc4dbbace1def9a47c66310e766900..d062925861cd53ecdb8483225e7f233b12fffe61 100644 (file)
@@ -1523,7 +1523,7 @@ void add_primitiveArmature(int type)
        
        countall();
        allqueue(REDRAWVIEW3D, 0);
-       allqueue(REDRAWBUTSEDIT, 0);
+       allqueue(REDRAWBUTSALL, 0);
        allqueue(REDRAWBUTSHEAD, 0);
        allqueue(REDRAWBUTSCONSTRAINT, 0);
        allqueue(REDRAWNLA, 0);
index ddb9e83b555250077a598f3bed7976236852699c..742dcbcb112c84eae6df6f444223bde3005d1972 100644 (file)
@@ -3796,7 +3796,7 @@ void add_primitiveCurve(int stype)
        BLI_addtail(&editNurb, nu);
        makeDispList(G.obedit);
        
-       allqueue(REDRAWBUTSEDIT, 0);
+       allqueue(REDRAWBUTSALL, 0);
        
        countall();
        allqueue(REDRAWVIEW3D, 0);
@@ -3829,7 +3829,7 @@ void add_primitiveNurb(int type)
        BLI_addtail(&editNurb,nu);
        makeDispList(G.obedit);
        
-       allqueue(REDRAWBUTSEDIT, 0);
+       allqueue(REDRAWBUTSALL, 0);
        
        countall();
        allqueue(REDRAWVIEW3D, 0);
index 8e98a0ed8df60e30bb7d2c822d0d81b96fddd06e..8df636ae5f402a8434ba8bb087b3ad60f76cf5b9 100644 (file)
@@ -627,6 +627,7 @@ void add_primitiveFont(int dummy_argument)
        
        make_editText();
        allqueue(REDRAWVIEW3D, 0);
+       allqueue(REDRAWBUTSALL, 0);
 }
 
 void to_upper(void)
index b169ebf3fa315f19f9c94c2f9ac3e3bc45c835d0..806f31bcf5c7e3eca8c2f7fcbe1812fcaf106a57 100644 (file)
@@ -4539,7 +4539,7 @@ void add_primitiveMesh(int type)
        allqueue(REDRAWIPO, 0);
        allqueue(REDRAWHEADERS, 0);
        allqueue(REDRAWINFO, 1);        /* 1, because header->win==0! */        
-       allqueue(REDRAWBUTSEDIT, 0);
+       allqueue(REDRAWBUTSALL, 0);
        makeDispList(G.obedit);
 
        if (type==13) notice("Oooh Oooh Oooh");
index 6626b0a16bf8d77804cddf46ab185c93622dd56d..8e3116b061d97e66fdc71404ba490342d396d381 100644 (file)
@@ -2200,6 +2200,7 @@ void do_info_buttons(unsigned short event)
                        
                        set_scene(sce);
                }
+               BIF_preview_changed(G.buts);
 
                break;
        case B_INFODELSCE: