LineArt: Fix (Unreported) Crash when loading objects.
Fix mesh freeing call for obi->original_me so the address is correct.
This commit is contained in:
@@ -1692,7 +1692,7 @@ static void lineart_geometry_object_load(LineartObjectInfo *obi, LineartRenderBu
|
||||
}
|
||||
|
||||
if (obi->free_use_mesh) {
|
||||
BKE_id_free(NULL, &obi->original_me);
|
||||
BKE_id_free(NULL, obi->original_me);
|
||||
}
|
||||
|
||||
if (rb->remove_doubles) {
|
||||
|
||||
Reference in New Issue
Block a user