Fix for crash due to last commit.
This commit is contained in:
@@ -79,6 +79,9 @@ void ED_editors_exit(bContext *C)
|
||||
{
|
||||
Main *bmain= CTX_data_main(C);
|
||||
Scene *sce;
|
||||
|
||||
if(!bmain)
|
||||
return;
|
||||
|
||||
/* frees all editmode undos */
|
||||
undo_editmode_clear();
|
||||
|
||||
Reference in New Issue
Block a user