Blender Git Commit Log

Git Commits -> Revision e0d4047

Revision e0d4047 by Dalai Felinto (master)
July 23, 2014, 14:46 (GMT)
Bake-API: Test for cyclic node connection

If the active image node contributes to the final material shader
(meaning it's either directly or indirectly connected to an Output Node)
the user will receive an alert about circular dependency.

Similar to what we do for Blender internal the baking will still happen,
but the user will receive the alert which should prevent the image
saving to happen if the result was not intentional.

Core function to check for node output written by Lukas Toenne.

Reviewers: lukastoenne, campbellbarton

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

Commit Details:

Full Hash: e0d40471364aafca967b6ebd5266ae7d7f78dee4
Parent Commit: 8d3bfef
Lines Changed: +63, -10

8 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+3, -0) (Diff)
/source/blender/editors/include/ED_uvedit.h (+1, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+16, -3) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+2, -2) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+5, -2) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_common.c (+34, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021