Blender Git Commit Log
Git Commits -> Revision f2293df
Revision f2293df by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) October 7, 2015, 21:15 (GMT) |
Replace 'do_id_user' param of BKE_xxx_free() funcs by generic BKE_libblock_relink(). Heavily simplfies that freeing area, but again a rather risky and likely-to-break change. At least, NodeTree is known to be a trouble-maker here, due to how it seems to be 'owned' by its mat/tex/sce/etc. Have to dig deeper here, this is still quite unclear what exactly happens with those, and how to handle them correctly. |
Commit Details:
Full Hash: f2293df9a6ce6423703170ec0a8aa901640ec5bc
Parent Commit: 1daa502
Lines Changed: +188, -629
70 Modified Paths:
/source/blender/blenkernel/BKE_action.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_brush.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_camera.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_curve.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_font.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lamp.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mask.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_material.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mball.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_particle.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_screen.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_sound.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_speaker.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_text.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_texture.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_world.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/brush.c (+2, -29) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -13) (Diff)
/source/blender/blenkernel/intern/curve.c (+2, -44) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/group.c (+2, -9) (Diff)
/source/blender/blenkernel/intern/image.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/key.c (+2, -13) (Diff)
/source/blender/blenkernel/intern/lamp.c (+4, -22) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/library.c (+44, -33) (Diff)
/source/blender/blenkernel/intern/library_query.c (+9, -6) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+5, -22) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/material.c (+6, -26) (Diff)
/source/blender/blenkernel/intern/mball.c (+2, -19) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -29) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/node.c (+5, -33) (Diff)
/source/blender/blenkernel/intern/object.c (+9, -46) (Diff)
/source/blender/blenkernel/intern/paint.c (+4, -16) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -26) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -42) (Diff)
/source/blender/blenkernel/intern/screen.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sound.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/speaker.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/text.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/texture.c (+4, -16) (Diff)
/source/blender/blenkernel/intern/world.c (+4, -21) (Diff)
/source/blender/compositor/operations/COM_MaskOperation.cpp (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_undo.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+2, -2) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+7, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_group.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_texture.c (+2, -2) (Diff)
/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_brush.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_camera.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_curve.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_font.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lamp.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mask.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_material.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mball.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_particle.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_screen.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_sound.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_speaker.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_text.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_texture.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_world.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/brush.c (+2, -29) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -13) (Diff)
/source/blender/blenkernel/intern/curve.c (+2, -44) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/group.c (+2, -9) (Diff)
/source/blender/blenkernel/intern/image.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/key.c (+2, -13) (Diff)
/source/blender/blenkernel/intern/lamp.c (+4, -22) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/library.c (+44, -33) (Diff)
/source/blender/blenkernel/intern/library_query.c (+9, -6) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+5, -22) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/material.c (+6, -26) (Diff)
/source/blender/blenkernel/intern/mball.c (+2, -19) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -29) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/node.c (+5, -33) (Diff)
/source/blender/blenkernel/intern/object.c (+9, -46) (Diff)
/source/blender/blenkernel/intern/paint.c (+4, -16) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -26) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -42) (Diff)
/source/blender/blenkernel/intern/screen.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sound.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/speaker.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/text.c (+2, -8) (Diff)
/source/blender/blenkernel/intern/texture.c (+4, -16) (Diff)
/source/blender/blenkernel/intern/world.c (+4, -21) (Diff)
/source/blender/compositor/operations/COM_MaskOperation.cpp (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_undo.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+2, -2) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+7, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_group.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_texture.c (+2, -2) (Diff)