Todo item:
Option menus (like Mapping options in texture) now show a tooltip on the button itself, explaining the selected option.
This commit is contained in:
@@ -2581,8 +2581,11 @@ static uiBut *ui_def_but_rna(uiBlock *block, int type, int retval, const char *s
|
||||
else
|
||||
BLI_dynstr_appendf(dynstr, "|%s %%x%d", item[i].name, item[i].value);
|
||||
|
||||
if(value == item[i].value)
|
||||
if(value == item[i].value) {
|
||||
icon= item[i].icon;
|
||||
if(!tip)
|
||||
tip= item[i].description;
|
||||
}
|
||||
}
|
||||
str= BLI_dynstr_get_cstring(dynstr);
|
||||
BLI_dynstr_free(dynstr);
|
||||
|
Reference in New Issue
Block a user