Merge branch 'master' into blender2.8
This commit is contained in:
commit
cf1cf105a0
|
@ -5679,7 +5679,13 @@ static void direct_link_object(FileData *fd, Object *ob)
|
|||
CLAMP(ob->rotmode, ROT_MODE_MIN, ROT_MODE_MAX);
|
||||
|
||||
if (ob->sculpt) {
|
||||
ob->sculpt = MEM_callocN(sizeof(SculptSession), "reload sculpt session");
|
||||
if (ob->mode & OB_MODE_ALL_SCULPT) {
|
||||
ob->sculpt = MEM_callocN(sizeof(SculptSession), "reload sculpt session");
|
||||
ob->sculpt->mode_type = ob->mode;
|
||||
}
|
||||
else {
|
||||
ob->sculpt = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
link_list(fd, &ob->lodlevels);
|
||||
|
|
Loading…
Reference in New Issue