[Bf-blender-cvs] [61e5f39] object_nodes: Removed unused code.

Lukas Tönne noreply at git.blender.org
Thu Dec 10 11:13:46 CET 2015


Commit: 61e5f39eb8afb84eb507b6e7073283fda8247e0b
Author: Lukas Tönne
Date:   Thu Dec 10 11:13:29 2015 +0100
Branches: object_nodes
https://developer.blender.org/rB61e5f39eb8afb84eb507b6e7073283fda8247e0b

Removed unused code.

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

M	source/blender/blenvm/bvm/bvm_eval.h

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

diff --git a/source/blender/blenvm/bvm/bvm_eval.h b/source/blender/blenvm/bvm/bvm_eval.h
index 04fe0b1..840f64c 100644
--- a/source/blender/blenvm/bvm/bvm_eval.h
+++ b/source/blender/blenvm/bvm/bvm_eval.h
@@ -48,26 +48,6 @@ struct Function;
 
 #define BVM_STACK_SIZE 4095
 
-#if 0
-struct EvalResult {
-	typedef unordered_map<string, Value> ValueMap;
-	
-	template <typename T>
-	bool get(const string &name, T data) const
-	{
-		ValueMap::const_iterator it = m_values.find(name);
-		if (it == m_values.end())
-			return false;
-		
-		const Value *value = it->second;
-		return value->get<T>(data);
-	}
-	
-private:
-	ValueMap m_values;
-};
-#endif
-
 struct EvalGlobals {
 	typedef std::vector<Object *> ObjectList;




More information about the Bf-blender-cvs mailing list