Blender Git Loki

Git Commits -> Revision 4fb730d

Revision 4fb730d by Lukas Toenne (master)
February 21, 2011, 18:18 (GMT)
Fixed do_versions for node groups which contain nodes that have changed sockets. do_versions is running before the lib_verify_nodetree function updates socket lists of nodes. This means that when adding unlinked sockets in do_versions to restore older node groups, the new sockets are not taken into account. To fix this a temporary node tree flag has been introduced, which delays actual group socket do_version until the group tree internal nodes have been updated. After that the unlinked group sockets are exposed (like old node groups did), then the external sockets look up the new index, so that external links to group instances are preserved.

Commit Details:

Full Hash: 4fb730d6d0f20db2d35b36237d5778a40bdec076
SVN Revision: 35038
Parent Commit: 33887fa
Lines Changed: +102, -4

3 Modified Paths:

/source/blender/blenkernel/intern/node.c (+9, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+85, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021