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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2015-09-27 03:40:30 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-30 18:08:26 +0300
commitc3dbb533b2e4d1585f1deac98c60b9e9b35f3fe3 (patch)
tree22f18a47ae8e2d7620c339e97b587ffc5a49d587 /source
parent0191a618effe9c8a8466b33d7f4a035ee5d7d4f0 (diff)
Fix T46271: switching between textures in texture buttons not updating preview.
Diffstat (limited to 'source')
-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;