Blender Git Loki
Git Commits -> Revision 5797a5f
Revision 5797a5f by Miguel Porces (master) March 16, 2019, 19:21 (GMT) |
Fix ID user counting issues with NodeCustomGroup. User counting now happens before init() and after free() methods, so that the ID users are in a valid state when Python might modify them. ID user counting was moved into node.c and simplified. Patch by Miguel with further refactoring by Brecht. Ref D4370. |
Commit Details:
Full Hash: 5797a5fc65c87b69460d910a82d219b5e3ea12ad
Parent Commit: b9af4ef
Committed By: Brecht Van Lommel
Lines Changed: +73, -71
10 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+4, -4) (Diff)
/source/blender/blenkernel/intern/node.c (+56, -42) (Diff)
/source/blender/editors/space_node/node_edit.c (+2, -9) (Diff)
/source/blender/editors/space_node/node_group.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -3) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+3, -6) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+2, -2) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+56, -42) (Diff)
/source/blender/editors/space_node/node_edit.c (+2, -9) (Diff)
/source/blender/editors/space_node/node_group.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -3) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+3, -6) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+2, -2) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)