[Bf-blender-cvs] [7f5441b] master: Fix T49640: Cycles constant folding incorrect for texture coordinates.

Brecht Van Lommel noreply at git.blender.org
Wed Oct 12 18:51:10 CEST 2016


Commit: 7f5441b9167e46761c944584719a556d4604da46
Author: Brecht Van Lommel
Date:   Wed Oct 12 18:36:41 2016 +0200
Branches: master
https://developer.blender.org/rB7f5441b9167e46761c944584719a556d4604da46

Fix T49640: Cycles constant folding incorrect for texture coordinates.

===================================================================

M	intern/cycles/render/graph.cpp

===================================================================

diff --git a/intern/cycles/render/graph.cpp b/intern/cycles/render/graph.cpp
index ed8c705..131ec82 100644
--- a/intern/cycles/render/graph.cpp
+++ b/intern/cycles/render/graph.cpp
@@ -321,8 +321,8 @@ void ShaderGraph::finalize(Scene *scene,
 	 * modified afterwards. */
 
 	if(!finalized) {
-		clean(scene);
 		default_inputs(do_osl);
+		clean(scene);
 		refine_bump_nodes();
 
 		if(do_bump)




More information about the Bf-blender-cvs mailing list