diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-09-27 03:40:30 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-09-27 03:40:30 +0300 |
commit | 3bc16c3362d31add3c18490ec3650bed2a23958b (patch) | |
tree | e203112677ccc6ff1798f5f5f8fa3aa33e6ef5d2 /source/blender | |
parent | b0951f49547475e5f9749bc2db8fa2b30f7be13c (diff) |
Fix T46271: switching between textures in texture buttons not updating preview.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_texture.c | 3 |
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; |