Blender Git Loki
Git Commits -> Revision 8f57815
Revision 8f57815 by Alexander Gavrilov (master) August 22, 2019, 12:46 (GMT) |
Fix T68971: Copy As New Driver from Material node creates a bad reference. NodeTree structures of materials and some other data blocks are effectively node group data block objects that are contained inside the parent block. Thus, direct references to them are only valid while blender is running, and are lost on save. Fix Copy As New Driver to create a reference that goes through the owner data block, by adding a new runtime field to bNodeTree. |
Commit Details:
Full Hash: 8f578150eaf494a03bed7389046e44f2bdf7d748
Parent Commit: 443586f
Lines Changed: +62, -21
11 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+10, -8) (Diff)
/source/blender/editors/animation/drivers.c (+30, -0) (Diff)
/source/blender/editors/include/ED_keyframing.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -4) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_group.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+10, -8) (Diff)
/source/blender/editors/animation/drivers.c (+30, -0) (Diff)
/source/blender/editors/include/ED_keyframing.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -4) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_group.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+3, -0) (Diff)