Blender Git Loki

Git Commits -> Revision 5b33115

Revision 5b33115 by Sergey Sharybin (master)
December 15, 2015, 16:01 (GMT)
Cycles: Fix wrong assert failure happening after recent de-duplicate

This is actually intended behavior to return NULL when the socket is not
found. It's used in certain BSDF nodes to query whether some inputs exists
or not.

Perhaps we can be more explicit here and have dedicated logic to query
socket existance and keep assert in place.

In any case, even if we lost assert() for the constant fold now it's
still somewhat better than duplicated code. Perhaps.

Commit Details:

Full Hash: 5b331150709616fc5aee9c1af228d48175032ea0
Parent Commit: baaf10c
Lines Changed: +2, -2

1 Modified Path:

/intern/cycles/render/graph.cpp (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021