Blender Git Loki
Git Commits -> Revision 8657963
Revision 8657963 by Bastien Montagne (master) November 9, 2015, 20:00 (GMT) |
Cleanup: avoid incrementing/decrementing id->us outside of BKE_library. We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...). |
Commit Details:
Full Hash: 865796375bcfa6be4288cca4243dddcb4092f70b
Parent Commit: cf959a8
Lines Changed: +278, -228
59 Modified Paths:
/source/blender/blenkernel/intern/anim_sys.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+9, -8) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+7, -6) (Diff)
/source/blender/blenkernel/intern/idprop.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/ipo.c (+19, -18) (Diff)
/source/blender/blenkernel/intern/lamp.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+7, -5) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+28, -19) (Diff)
/source/blender/blenkernel/intern/mball.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/mesh.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+10, -6) (Diff)
/source/blender/blenkernel/intern/particle.c (+7, -5) (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 (+4, -4) (Diff)
/source/blender/blenkernel/intern/texture.c (+14, -14) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -4) (Diff)
/source/blender/collada/DocumentImporter.cpp (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -1) (Diff)
/source/blender/editors/curve/editfont.c (+3, -2) (Diff)
/source/blender/editors/mesh/meshtools.c (+4, -2) (Diff)
/source/blender/editors/object/object_add.c (+22, -22) (Diff)
/source/blender/editors/object/object_edit.c (+8, -4) (Diff)
/source/blender/editors/object/object_relations.c (+16, -12) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+5, -5) (Diff)
/source/blender/editors/sound/sound_ops.c (+1, -1) (Diff)
/source/blender/editors/space_action/action_data.c (+2, -2) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -2) (Diff)
/source/blender/editors/space_logic/logic_window.c (+5, -3) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_generics.c (+2, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+4, -4) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+9, -8) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+7, -6) (Diff)
/source/blender/blenkernel/intern/idprop.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/ipo.c (+19, -18) (Diff)
/source/blender/blenkernel/intern/lamp.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+7, -5) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+28, -19) (Diff)
/source/blender/blenkernel/intern/mball.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/mesh.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+10, -6) (Diff)
/source/blender/blenkernel/intern/particle.c (+7, -5) (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 (+4, -4) (Diff)
/source/blender/blenkernel/intern/texture.c (+14, -14) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -4) (Diff)
/source/blender/collada/DocumentImporter.cpp (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -1) (Diff)
/source/blender/editors/curve/editfont.c (+3, -2) (Diff)
/source/blender/editors/mesh/meshtools.c (+4, -2) (Diff)
/source/blender/editors/object/object_add.c (+22, -22) (Diff)
/source/blender/editors/object/object_edit.c (+8, -4) (Diff)
/source/blender/editors/object/object_relations.c (+16, -12) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+5, -5) (Diff)
/source/blender/editors/sound/sound_ops.c (+1, -1) (Diff)
/source/blender/editors/space_action/action_data.c (+2, -2) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -2) (Diff)
/source/blender/editors/space_logic/logic_window.c (+5, -3) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_generics.c (+2, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+4, -4) (Diff)