diff options
author | YimingWu <xp8110@outlook.com> | 2021-08-25 06:00:29 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-08-25 06:05:48 +0300 |
commit | 891e3e98eb6e4b60132abd93376daf8902b33cb4 (patch) | |
tree | 071211a82e4016c0e05f0464c7c67164ff66c17a /source/blender/gpencil_modifiers/intern | |
parent | a2e0f714f28559c85082ef039d9f7d829c5afdf3 (diff) |
LineArt: Fix (Unreported) Crash when loading objects.
Fix mesh freeing call for obi->original_me so the address is correct.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index 99e3d59a57f..c71cde8ec43 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -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) { |