[Bf-blender-cvs] [73bbfe5] object_nodes: Removed unused code.

Lukas Tönne noreply at git.blender.org
Tue Nov 24 09:44:35 CET 2015


Commit: 73bbfe5711a6eac291c2d415569279bd6b0965a0
Author: Lukas Tönne
Date:   Fri Nov 20 09:58:33 2015 +0100
Branches: object_nodes
https://developer.blender.org/rB73bbfe5711a6eac291c2d415569279bd6b0965a0

Removed unused code.

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

M	source/blender/blenvm/compile/bvm_codegen.cc

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

diff --git a/source/blender/blenvm/compile/bvm_codegen.cc b/source/blender/blenvm/compile/bvm_codegen.cc
index 177242d..3c51cee 100644
--- a/source/blender/blenvm/compile/bvm_codegen.cc
+++ b/source/blender/blenvm/compile/bvm_codegen.cc
@@ -268,25 +268,6 @@ void BVMCompiler::codegen_constant(const Value *value)
 	}
 }
 
-#if 0
-StackIndex BVMCompiler::codegen_link(const TypeDesc &from, StackIndex stack_from,
-                                     const TypeDesc &to, StackIndex stack_to)
-{
-	if (to.assignable(from)) {
-		switch (to.base_type) {
-			case BVM_FLOAT:
-				push_opcode(OP_PASS_FLOAT);
-				break;
-			case BVM_FLOAT3:
-				push_opcode(OP_PASS_FLOAT3);
-				break;
-		}
-		push_stack_index(stack_from);
-		push_stack_index(stack_to);
-	}
-}
-#endif
-
 typedef std::vector<const NodeInstance *> NodeList;
 typedef std::set<const NodeInstance *> NodeSet;




More information about the Bf-blender-cvs mailing list