Blender Git Loki

Git Commits -> Revision c395d04

Revision c395d04 by Lukas Toenne (master)
August 13, 2016, 14:35 (GMT)
Fix T49082: Intermediate update call when making links can change group socket layout.

Node tree update calls in the middle of a socket loop are dangerous, they can change sockets
on group nodes and link instances in particular. Updates should only happen after the operator
has finished.

Simply removed the extra convenience check for validity now. Worst case an invalid (red) link
is created which can be removed by the user as well and should simply be ignored by node systems.

The update system in nodes needs a complete rewrite to handle complex cases like this, where an
operator may need to react to changes during its execution.

Commit Details:

Full Hash: c395d044fcce02321f1689b8b025369fb2dbd6a6
Parent Commit: fcb78f2
Lines Changed: +3, -12

1 Modified Path:

/source/blender/editors/space_node/node_relationships.c (+3, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021