Blender Git Loki
Git Commits -> Revision d59c2d1
Revision d59c2d1 by Bastien Montagne (master) April 4, 2018, 12:58 (GMT) |
Fix modifier freeing code re. ID refcounting. Free code should not handle ID refcounting at all. This has to be done at higher level, since in some case we want to free (temp) data that actually did not refcount at all its IDs. This change seems to be working OK, but as usual in that area, only lots of testing in real-case situation will say whether there are some hidden bugs or not. |
Commit Details:
Full Hash: d59c2d12b1226afa3789b0ef142f8f6cc9356ead
Parent Commit: 0c7ec58
Lines Changed: +39, -55
12 Modified Paths:
/source/blender/blenkernel/BKE_modifier.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+23, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -4) (Diff)
/source/blender/editors/object/object_add.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+0, -4) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+0, -4) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+1, -9) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+23, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -4) (Diff)
/source/blender/editors/object/object_add.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+0, -4) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+0, -4) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+1, -9) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+1, -9) (Diff)