[Bf-blender-cvs] [71747fa] object_nodes: Fix for incorrect output type displace element.index.
Lukas Tönne
noreply at git.blender.org
Tue Jan 12 14:50:40 CET 2016
Commit: 71747fa395abeeee2a56f9169061cdb1fa25ec64
Author: Lukas Tönne
Date: Tue Jan 12 14:39:15 2016 +0100
Branches: object_nodes
https://developer.blender.org/rB71747fa395abeeee2a56f9169061cdb1fa25ec64
Fix for incorrect output type displace element.index.
===================================================================
M source/blender/blenvm/compile/bvm_nodegraph.cc
===================================================================
diff --git a/source/blender/blenvm/compile/bvm_nodegraph.cc b/source/blender/blenvm/compile/bvm_nodegraph.cc
index 2e1ef46..f322549a 100644
--- a/source/blender/blenvm/compile/bvm_nodegraph.cc
+++ b/source/blender/blenvm/compile/bvm_nodegraph.cc
@@ -1667,7 +1667,7 @@ static void register_opcode_node_types()
nt->add_input("mesh_in", TYPE_MESH, __empty_mesh__);
nt->add_input("vector", TYPE_FLOAT3, float3(0.0f, 0.0f, 0.0f), INPUT_EXPRESSION);
nt->add_output("mesh_out", TYPE_MESH);
- nt->add_output("element.index", TYPE_FLOAT3, OUTPUT_LOCAL);
+ nt->add_output("element.index", TYPE_INT, OUTPUT_LOCAL);
nt->add_output("element.location", TYPE_FLOAT3, OUTPUT_LOCAL);
nt = NodeGraph::add_kernel_node_type("MESH_BOOLEAN");
More information about the Bf-blender-cvs
mailing list