- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user