forked from bartvdbraak/blender
fix for crash reading from a freed scene when exiting blender.
This commit is contained in:
parent
d574fb95ad
commit
929bba2bac
@ -411,6 +411,7 @@ void RE_FreeRender(Render *re)
|
|||||||
|
|
||||||
/* main dbase can already be invalid now, some database-free code checks it */
|
/* main dbase can already be invalid now, some database-free code checks it */
|
||||||
re->main = NULL;
|
re->main = NULL;
|
||||||
|
re->scene = NULL;
|
||||||
|
|
||||||
RE_Database_Free(re); /* view render can still have full database */
|
RE_Database_Free(re); /* view render can still have full database */
|
||||||
free_sample_tables(re);
|
free_sample_tables(re);
|
||||||
|
Loading…
Reference in New Issue
Block a user