Blender Git Loki

Git Commits -> Revision 7212ebd

Revision 7212ebd by Bastien Montagne (master)
July 11, 2016, 19:30 (GMT)
Remove usercount handling from BKE_id_expand_local.

Idea looked good, but we have too much custom situations here (some half-fake-sub-ID
being copied with their 'owner', animdata, etc.), let's let datablock copy functions
handle that themselves.

Also allows to safely call BKE_id_expand_local from all copy functions now (only when
copying linked data).

Commit Details:

Full Hash: 7212ebd09f9720883581221be923ae5e97ff5d76
Parent Commit: 3b8e060
Lines Changed: +77, -60

24 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/brush.c (+11, -3) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/curve.c (+10, -2) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/lamp.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/library.c (+5, -18) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/mask.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/mball.c (+6, -3) (Diff)
/source/blender/blenkernel/intern/mesh.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/speaker.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/world.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021