fixed a lot of interface update issues.

big thanks to broken !
This commit is contained in:
Rob Haarsma 2003-05-05 12:18:22 +00:00
parent 8718b91af0
commit 94ff0ea3be
5 changed files with 6 additions and 4 deletions

@ -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);

@ -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);

@ -627,6 +627,7 @@ void add_primitiveFont(int dummy_argument)
make_editText();
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSALL, 0);
}
void to_upper(void)

@ -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");

@ -2200,6 +2200,7 @@ void do_info_buttons(unsigned short event)
set_scene(sce);
}
BIF_preview_changed(G.buts);
break;
case B_INFODELSCE: