fix for some errors when unlinking.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 1 Oct 2012 07:54:37 +0000 (07:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 1 Oct 2012 07:54:37 +0000 (07:54 +0000)
commit1a19cbb166ce66b427a2dd0d0f9e65b1863e35b0
treeec30f45228f4a89f307ea60fccd0eb35a1b6fd3b
parent323ad98496cc4b5b95be69d1a81c2bb07ff5bf56
fix for some errors when unlinking.
- movieclip unlink didn't clear node ID pointers from the scene (leaving dangling pointers).
- mask datablock unlink was clearning references from scene nodes twice.
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/mask.c
source/blender/blenkernel/intern/movieclip.c
source/blender/nodes/intern/node_common.c