ALT+C on mesh without modifier crashed.
This commit is contained in:
Ton Roosendaal 2005-10-24 20:03:53 +00:00
parent 066b0b1c7d
commit 0482f325b5

@ -2226,7 +2226,8 @@ void convertmenu(void)
if(nr>0) ok= 1;
}
else if(ob->type==OB_MESH) {
nr= pupmenu("Convert Modifiers to%t|Mesh (Keep Original)%x1|Mesh (Delete Original)%x2");
if(ob->modifiers.first)
nr= pupmenu("Convert Modifiers to%t|Mesh (Keep Original)%x1|Mesh (Delete Original)%x2");
if(nr>0) ok= 1;
}
if(ok==0) return;