forked from bartvdbraak/blender
fix [#28096] Custom gradient for weightpainting in mask mode not working properly.
This commit is contained in:
parent
2dc826f083
commit
b948459031
@ -1116,8 +1116,9 @@ void init_userdef_do_versions(void)
|
||||
if(U.pad_rot_angle==0)
|
||||
U.pad_rot_angle= 15;
|
||||
|
||||
if(U.flag & USER_CUSTOM_RANGE)
|
||||
vDM_ColorBand_store(&U.coba_weight); /* signal for derivedmesh to use colorband */
|
||||
/* signal for derivedmesh to use colorband */
|
||||
/* run incase this was on and is now off in the user prefs [#28096] */
|
||||
vDM_ColorBand_store((U.flag & USER_CUSTOM_RANGE) ? (&U.coba_weight):NULL);
|
||||
|
||||
if (bmain->versionfile <= 191) {
|
||||
strcpy(U.plugtexdir, U.textudir);
|
||||
|
Loading…
Reference in New Issue
Block a user