diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-10-30 19:38:32 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-10-30 19:38:32 +0300 |
commit | 00f3021b68e0df21af4cbad8691fe91abd2d250c (patch) | |
tree | 0a30561279687d76a53406695396e350f3528cbc /source/blender/src/buttons_editing.c | |
parent | baf98b098ca7ff03850fb4b2ce245081a55a76e9 (diff) |
Build fix (C90): Declaration after statement
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r-- | source/blender/src/buttons_editing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index f362fa815ce..6cbf14d47fb 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -5853,8 +5853,10 @@ void sculptmode_draw_interface_textures(uiBlock *block, unsigned short cx, unsig uiBlockBeginAlign(block); uiDefBut(block,LABEL,B_NOP,"",cx,cy,115,20,0,0,0,0,0,""); /* Padding */ } else { + ID *id = NULL; + mtex= sd->mtex[sd->texact]; - ID *id= NULL; + uiBlockBeginAlign(block); if(mtex && mtex->tex) id= &mtex->tex->id; |