- added Panel for 'anim playback settings'

- removed draw rect from avi coded settings (should become label but)
- changing texture settings, now also updates lamp/material/world
  preview when thats open
This commit is contained in:
2003-10-23 16:52:54 +00:00
parent 9a625925da
commit 0c177df766
5 changed files with 121 additions and 102 deletions

View File

@@ -315,9 +315,26 @@ static void draw_tex_crop(Tex *tex)
}
void BIF_all_preview_changed(void)
{
ScrArea *sa;
SpaceButs *sbuts;
sa= G.curscreen->areabase.first;
while(sa) {
if(sa->spacetype==SPACE_BUTS) {
sbuts= sa->spacedata.first;
sbuts->cury= 0;
addafterqueue(sa->win, RENDERPREVIEW, 1);
}
sa= sa->next;
}
}
void BIF_preview_changed(SpaceButs *sbuts)
{
/* can be called when nu buttonswindow visible */
/* can be called when no buttonswindow visible */
if(sbuts) {
sbuts->cury= 0;
addafterqueue(sbuts->area->win, RENDERPREVIEW, 1);