Blender Git Commit Log

Git Commits -> Revision 25bd01f

Revision 25bd01f by Lukas Stockner (master)
July 27, 2016, 13:56 (GMT)
Avoid creating multiple outputs connected to the same socket when creating a node group

This patch fixes the annoyance that when creating a node group where one of its nodes is connected
to several other nodes, a separate output will be created for each link, even though they're all
connected to the same socket in the group.
Now, before adding an output for an outgoing link, the existing outputs are checked to find whether
any output is already connected to the same socket. If such an output is found, it is reused instead of
creating a new one.

Reviewers: Severin

Subscribers: Blendify

Differential Revision: https://developer.blender.org/D1836

Commit Details:

Full Hash: 25bd01f2f7793f8af4e14c8385a653cc424f75e5
Parent Commit: d7bd64d
Committed By: Sergey Sharybin
Lines Changed: +30, -15

1 Modified Path:

/source/blender/editors/space_node/node_group.c (+30, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021