Bugfix #3355
calling "Apply deform" from toolbox, with no active object, crashed.
This commit is contained in:
@@ -631,6 +631,8 @@ void object_apply_deform(Object *ob)
|
||||
{
|
||||
char *err= NULL;
|
||||
|
||||
if(ob==NULL) return;
|
||||
|
||||
if(ob->type==OB_MESH) {
|
||||
Mesh *me= ob->data;
|
||||
if(me->id.us>1) {
|
||||
|
||||
Reference in New Issue
Block a user