calling "Apply deform" from toolbox, with no active object, crashed.
This commit is contained in:
Ton Roosendaal
2005-11-05 15:45:26 +00:00
parent 629d954ef3
commit 74791c9ed5

View File

@@ -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) {