[Bf-blender-cvs] [32b02c13d83] functions: operation hash for converters

Jacques Lucke noreply at git.blender.org
Sun Jan 19 12:45:58 CET 2020


Commit: 32b02c13d837636330b46f5ba8eff6025c029b5e
Author: Jacques Lucke
Date:   Sun Jan 19 11:10:34 2020 +0100
Branches: functions
https://developer.blender.org/rB32b02c13d837636330b46f5ba8eff6025c029b5e

operation hash for converters

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

M	source/blender/functions/intern/multi_functions/customizable.h

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

diff --git a/source/blender/functions/intern/multi_functions/customizable.h b/source/blender/functions/intern/multi_functions/customizable.h
index bcbd88e1279..15ca38b801f 100644
--- a/source/blender/functions/intern/multi_functions/customizable.h
+++ b/source/blender/functions/intern/multi_functions/customizable.h
@@ -16,6 +16,7 @@ template<typename FromT, typename ToT> class MF_Convert : public MultiFunction {
                                                      CPP_TYPE<ToT>().name());
     signature.single_input<FromT>("Input");
     signature.single_output<ToT>("Output");
+    signature.constant_operation_hash();
   }
 
   void call(IndexMask mask, MFParams params, MFContext UNUSED(context)) const override



More information about the Bf-blender-cvs mailing list