[Bf-blender-cvs] [c41a9d0e888] functions: fix fgraph tuple call

Jacques Lucke noreply at git.blender.org
Tue Jul 16 18:20:26 CEST 2019


Commit: c41a9d0e888f0613cbbdc84156c969e89e777bc7
Author: Jacques Lucke
Date:   Tue Jul 16 16:12:06 2019 +0200
Branches: functions
https://developer.blender.org/rBc41a9d0e888f0613cbbdc84156c969e89e777bc7

fix fgraph tuple call

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

M	source/blender/functions/backends/tuple_call/fgraph_tuple_call.cpp

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

diff --git a/source/blender/functions/backends/tuple_call/fgraph_tuple_call.cpp b/source/blender/functions/backends/tuple_call/fgraph_tuple_call.cpp
index 34ca1a997a7..2cdc476cd2e 100644
--- a/source/blender/functions/backends/tuple_call/fgraph_tuple_call.cpp
+++ b/source/blender/functions/backends/tuple_call/fgraph_tuple_call.cpp
@@ -517,7 +517,7 @@ class ExecuteFGraph : public TupleCallBody {
 
     uint target_id = target_ids[0];
     void *value_dst = storage.input_value_ptr(target_id);
-    type_info->copy_to_uninitialized(value_src, value_dst);
+    type_info->relocate_to_uninitialized(value_src, value_dst);
     storage.set_output_initialized(output_id, false);
     storage.set_input_initialized(target_id, true);
   }



More information about the Bf-blender-cvs mailing list