forked from bartvdbraak/blender
Fix for r53610, check that ob->sculpt is valid before using it
This commit is contained in:
parent
75f05ebe62
commit
a4c6e36aac
@ -137,7 +137,7 @@ MultiresModifierData *sculpt_multires_active(Scene *scene, Object *ob)
|
||||
Mesh *me = (Mesh *)ob->data;
|
||||
ModifierData *md;
|
||||
|
||||
if (ob->sculpt->bm) {
|
||||
if (ob->sculpt && ob->sculpt->bm) {
|
||||
/* can't combine multires and dynamic topology */
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user