forked from bartvdbraak/blender
fixed default vars button for texture plugins
http://projects.blender.org/tracker/index.php?func=detail&aid=546&group_id=9&atid=125 Kent
This commit is contained in:
parent
ae17f63be8
commit
c355aa06a8
@ -3920,6 +3920,7 @@ void texbuts(void)
|
||||
for(a=0; a<pit->vars; a++, varstr++) {
|
||||
xco= 350 + 140*(a/6);
|
||||
yco= 110 - 20*(a % 6);
|
||||
pit->data[a] = varstr->def;
|
||||
uiDefBut(block, varstr->type, B_PLUGBUT+a, varstr->name, (short)xco,(short)yco,137,19, &(pit->data[a]), varstr->min, varstr->max, 100, 0, varstr->tip);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user