Fix T46271: switching between textures in texture buttons not updating preview.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user