- fixed very very old but in TOG button (it didnt check the values

correctly for deciding whether its pressed or not
- added 'add new' buttons to material & texture menus
  is done by std_lib buttons in headerbuttons.c, now only for this.
  doing it for ipowindow, sound, etc. has some weird consequences, save
  that for later
- verified usage of 'setting2' color for databuttons only
This commit is contained in:
2003-10-27 16:13:45 +00:00
parent c69636b288
commit 5ca0051419
5 changed files with 44 additions and 22 deletions

View File

@@ -963,7 +963,7 @@ static void ui_is_but_sel(uiBut *but)
case TOGR:
case TOG3:
case ICONTOG:
if(value!=0.0) push= 1;
if(value!=but->min) push= 1;
break;
case TOGN:
if(value==0.0) push= 1;