Blender Git Loki

Git Commits -> Revision 16b165e

Revision 16b165e by Chris Want (master)
July 6, 2012, 16:55 (GMT)
Fix for bug 32017.

There was some bad recursion introduced recently that caused crashes
when a Material node is the same material as the material itself (e.g.,
if Material.001 has a node with Material.001).

This commit attempt to correct this by keeping track of the material
at the root of the node tree, and doesn't recurse further if it
encounters it again within the nodetree.

Joshua, please review!

Commit Details:

Full Hash: 16b165eed5e929f8f6ea2917fa4cb803e0c1dcc0
SVN Revision: 48687
Parent Commit: 5f792b0
Lines Changed: +19, -10

2 Modified Paths:

/source/blender/blenkernel/intern/depsgraph.c (+9, -5) (Diff)
/source/blender/blenkernel/intern/material.c (+10, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021