Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-10-30 19:38:32 +0300
committerMartin Poirier <theeth@yahoo.com>2008-10-30 19:38:32 +0300
commit00f3021b68e0df21af4cbad8691fe91abd2d250c (patch)
tree0a30561279687d76a53406695396e350f3528cbc /source
parentbaf98b098ca7ff03850fb4b2ce245081a55a76e9 (diff)
Build fix (C90): Declaration after statement
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/buttons_editing.c4
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;