diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-18 14:24:34 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-18 14:24:34 +0400 |
commit | 11186184aa7af143e72c539be0ed06c3ef37a146 (patch) | |
tree | 9be7e1160f0bcf9484526068327e99f237907b41 /source/blender/blenkernel/BKE_object.h | |
parent | 8da43c5aaf5a0628da8f1523cc902ab82bdd5e20 (diff) |
Fix #35404: crash in file save with python code that accesses mesh from panel.
On file save the mesh gets loads from the editmesh but the derived mesh caches
wer not cleared. This usually happens through the depsgraph but it needs to be
done manually here. Most changes are some refactoring to deduplicate derived
mesh freeing code.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 8870355a919..db93e4f419e 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -66,7 +66,7 @@ void BKE_object_free_bulletsoftbody(struct Object *ob); void BKE_object_update_base_layer(struct Scene *scene, struct Object *ob); void BKE_object_free(struct Object *ob); -void BKE_object_free_display(struct Object *ob); +void BKE_object_free_derived_caches(struct Object *ob); bool BKE_object_support_modifier_type_check(struct Object *ob, int modifier_type); |