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:
Kent Mein 2003-10-02 20:56:09 +00:00
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);
}
}