Bug fix: if a file is saved with sculptmode on and a brush with a texture is enabled, the brush image must be loaded before it can be used.
This commit is contained in:
@@ -1299,6 +1299,7 @@ void sculptmode_update_tex()
|
||||
ri->pr_rectx = 128; /* FIXME: might want to allow higher/lower sizes */
|
||||
ri->pr_recty = 128;
|
||||
|
||||
BKE_image_get_ibuf(sd->mtex[sd->texact]->tex->ima, NULL);
|
||||
BIF_previewrender(&sd->mtex[sd->texact]->tex->id, ri, NULL, PR_ICON_RENDER);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user