When adding a Mesh in python a file saved caused blender to segfault when reloading.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 19 Dec 2005 23:04:58 +0000 (23:04 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 19 Dec 2005 23:04:58 +0000 (23:04 +0000)
commitbbb00043cdc8fd12c643ed622e333cc95cdd02a4
treeda487fc65b1bdef0d89cefbda04fe2e1a4382eb4
parentb05433a095d00f510f7edddbd6711636cc774e24
When adding a Mesh in python a file saved caused blender to segfault when reloading.
turns out that oops->id->lib isnt initialized? anyhow
if (oops->id && oops->id->lib) // works
where
if (oops->id->lib) // crashes

so made the needed change in a few places.
source/blender/src/drawoops.c