From c355aa06a8d4a921c29188081735b29722009416 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Thu, 2 Oct 2003 20:56:09 +0000 Subject: [PATCH] fixed default vars button for texture plugins http://projects.blender.org/tracker/index.php?func=detail&aid=546&group_id=9&atid=125 Kent --- source/blender/src/buttons.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/src/buttons.c b/source/blender/src/buttons.c index 68df4cf4e57..f8e0cc1975c 100644 --- a/source/blender/src/buttons.c +++ b/source/blender/src/buttons.c @@ -3920,6 +3920,7 @@ void texbuts(void) for(a=0; avars; 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); } }