Blender Git Commit Log
Git Commits -> Revision a8e4aae
Revision a8e4aae by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) July 17, 2017, 13:16 (GMT) |
Extend a bit 'NO_MAIN'/'NO_USER_REFCOUNT'/etc. flags to ID allocation itself. No real reason we keep this only to copying, creating ID outside of database is handy as well! Also, add helpers to add/remove an ID from Main, and to set/clear its 'user refcounting' status. Those will be useful in future complex ID manipulation cases (like static override...). |
Commit Details:
Full Hash: a8e4aae09104d596798aefc9ce7ff3836a2425a1
Parent Commit: a70e941
Lines Changed: +231, -134
43 Modified Paths:
/source/blender/blenkernel/BKE_library.h (+17, -13) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/camera.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idprop.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lamp.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+147, -54) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/mask.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/speaker.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/tracking.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/world.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/io/io_cache.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/camera.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idprop.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lamp.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+147, -54) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/mask.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/speaker.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/tracking.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/world.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/io/io_cache.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)