Blender Git Loki

Git Commits -> Revision 2af81d4

Revision 2af81d4 by Lukas Toenne (master)
October 24, 2012, 12:57 (GMT)
Fix #32835, Reroute node on shading nodes connection gives wrong renders.

Problem here is that muted nodes and reroute nodes are supposed to be removed from the execution node tree during the localize function. However, this is function is apparently only used during preview renders and must be considered a hack (is there anything that is not a hack in BI?)

Now the mute/reroute check happens in the node tree exec functions still used by BI and the legacy compositor and texture nodes. It uses the same internal_connect function from nodes to assign input stack indices directly to outputs (which also avoids overhead). Localize function also still does this. Cycles/Tile should also implement muting/reroute in their intermediate node layers by using this function, then it could be removed from localize too.

Commit Details:

Full Hash: 2af81d4a5ec9e7898ce92584a220074cc4549130
SVN Revision: 51584
Parent Commit: 0a3e0b8
Lines Changed: +37, -10

2 Modified Paths:

/source/blender/nodes/intern/node_exec.c (+37, -8) (Diff)
/source/blender/nodes/intern/node_exec.h (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021