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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2015-09-27 03:40:30 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2015-09-27 03:40:30 +0300
commit3bc16c3362d31add3c18490ec3650bed2a23958b (patch)
treee203112677ccc6ff1798f5f5f8fa3aa33e6ef5d2 /source/blender/editors/space_buttons
parentb0951f49547475e5f9749bc2db8fa2b30f7be13c (diff)
Fix T46271: switching between textures in texture buttons not updating preview.
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_texture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/buttons_texture.c b/source/blender/editors/space_buttons/buttons_texture.c
index b56ff850c35..6bdcee8aaef 100644
--- a/source/blender/editors/space_buttons/buttons_texture.c
+++ b/source/blender/editors/space_buttons/buttons_texture.c
@@ -539,6 +539,9 @@ static void template_texture_select(bContext *C, void *user_p, void *UNUSED(arg)
if (user->ptr.data == part->mtex[a])
part->texact = a;
}
+
+ if (sbuts && tex)
+ sbuts->preview = 1;
}
ct->user = user;