diff options
Diffstat (limited to 'source/blender/src')
-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; |