[Bf-blender-cvs] [fca1d14] master: Cycles: Fix wrong float3->float3 conversion node

Sergey Sharybin noreply at git.blender.org
Thu Oct 8 13:05:56 CEST 2015


Commit: fca1d14214dd12b722c7862b698f43c843474795
Author: Sergey Sharybin
Date:   Thu Oct 8 15:41:25 2015 +0500
Branches: master
https://developer.blender.org/rBfca1d14214dd12b722c7862b698f43c843474795

Cycles: Fix wrong float3->float3 conversion node

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

M	intern/cycles/render/nodes.cpp

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

diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp
index 206c2e3..1c32644 100644
--- a/intern/cycles/render/nodes.cpp
+++ b/intern/cycles/render/nodes.cpp
@@ -1675,7 +1675,7 @@ void ConvertNode::compile(SVMCompiler& compiler)
 			compiler.stack_assign(in);
 			compiler.stack_assign(out);
 
-			compiler.add_node(NODE_VALUE_V, in->stack_offset);
+			compiler.add_node(NODE_VALUE_V, out->stack_offset);
 			compiler.add_node(NODE_VALUE_V, in->value);
 		}
 	}




More information about the Bf-blender-cvs mailing list