Blender Git Loki
Git Commits -> Revision 34ed58d
Revision 34ed58d by Alexander Gavrilov (master) August 28, 2019, 18:52 (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 datablock 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 datablock, by adding a new ID flag to mark private pseudo-datablocks. Also fix functions that return full paths to structures and properties, e.g. used in python tooltips. Functions for paths from ID to struct or property can't be changed because of Animation Data related code. Reviewers: mont29 Differential Revision: https://developer.blender.org/D5559 |
Commit Details:
Full Hash: 34ed58dcaffd957f50380f4115d2cb9c46de31ee
Parent Commit: 69a966a
Lines Changed: +189, -36
13 Modified Paths:
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+24, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+11, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+18, -8) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+2, -2) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -1) (Diff)
/source/blender/editors/space_text/space_text.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+98, -15) (Diff)
/source/blender/makesrna/RNA_access.h (+20, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+24, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+11, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+18, -8) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+2, -2) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -1) (Diff)
/source/blender/editors/space_text/space_text.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+98, -15) (Diff)
/source/blender/makesrna/RNA_access.h (+20, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)