Fix T46271: switching between textures in texture buttons not updating preview.

This commit is contained in:
Brecht Van Lommel 2015-09-27 02:40:30 +02:00 committed by Sergey Sharybin
parent 0191a618ef
commit c3dbb533b2
1 changed files with 3 additions and 0 deletions

View File

@ -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;