fixed a lot of interface update issues.

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

View File

@@ -1523,7 +1523,7 @@ void add_primitiveArmature(int type)
countall(); countall();
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSALL, 0);
allqueue(REDRAWBUTSHEAD, 0); allqueue(REDRAWBUTSHEAD, 0);
allqueue(REDRAWBUTSCONSTRAINT, 0); allqueue(REDRAWBUTSCONSTRAINT, 0);
allqueue(REDRAWNLA, 0); allqueue(REDRAWNLA, 0);

View File

@@ -3796,7 +3796,7 @@ void add_primitiveCurve(int stype)
BLI_addtail(&editNurb, nu); BLI_addtail(&editNurb, nu);
makeDispList(G.obedit); makeDispList(G.obedit);
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSALL, 0);
countall(); countall();
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
@@ -3829,7 +3829,7 @@ void add_primitiveNurb(int type)
BLI_addtail(&editNurb,nu); BLI_addtail(&editNurb,nu);
makeDispList(G.obedit); makeDispList(G.obedit);
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSALL, 0);
countall(); countall();
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);

View File

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

View File

@@ -4539,7 +4539,7 @@ void add_primitiveMesh(int type)
allqueue(REDRAWIPO, 0); allqueue(REDRAWIPO, 0);
allqueue(REDRAWHEADERS, 0); allqueue(REDRAWHEADERS, 0);
allqueue(REDRAWINFO, 1); /* 1, because header->win==0! */ allqueue(REDRAWINFO, 1); /* 1, because header->win==0! */
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSALL, 0);
makeDispList(G.obedit); makeDispList(G.obedit);
if (type==13) notice("Oooh Oooh Oooh"); if (type==13) notice("Oooh Oooh Oooh");

View File

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