Blender Git Loki

Git Commits -> Revision d730e51

Revision d730e51 by Brecht Van Lommel (master)
April 24, 2019, 10:44 (GMT)
Nodes: avoid slow and unecessary node group updates on file read

On file read we need to update group nodes in case the group they refer to
has changed its inputs and outputs. This had O(n^2) time complexity and was
updating all datablocks even if they did not change.

Commit Details:

Full Hash: d730e512ac56bd68c75f8c44ff186b51010db4c7
Parent Commit: 6242147
Lines Changed: +118, -123

20 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+7, -9) (Diff)
/source/blender/blenkernel/intern/library_remap.c (+2, -9) (Diff)
/source/blender/blenkernel/intern/node.c (+41, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+6, -24) (Diff)
/source/blender/editors/space_node/node_group.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+3, -3) (Diff)
/source/blender/nodes/composite/nodes/node_composite_common.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+2, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_scale.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_switchview.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_common.c (+34, -42) (Diff)
/source/blender/nodes/NOD_common.h (+3, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_common.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+4, -4) (Diff)
/source/blender/nodes/texture/nodes/node_texture_common.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021