Added missing null check to convertmenu
Remported by alxarch. If you remove the active object and then tried alt-c it would crash. Kent
This commit is contained in:
@@ -2828,6 +2828,7 @@ void convertmenu(void)
|
||||
if(G.scene->id.lib) return;
|
||||
|
||||
obact= OBACT;
|
||||
if (obact == NULL) return;
|
||||
if(!obact->flag & SELECT) return;
|
||||
if(G.obedit) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user