Blender Git Loki

Git Commits -> Revision 72515d6

Revision 72515d6 by Bastien Montagne
April 16, 2018, 09:20 (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: 72515d650fa3fd32c53d2925a4a7291a0afdf024
Parent Commit: 220bcfb
Committed By: Gaia Clary
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021