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

This commit is contained in:
2015-09-27 02:40:30 +02:00
parent b0951f4954
commit 3bc16c3362

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;