Commit: 1c844a694a06b620fdaef33e90ff46d035410f74
Author: Jacques Lucke
Date: Sun Mar 10 12:17:37 2019 +0100
Branches: functions
https://developer.blender.org/rB1c844a694a06b620fdaef33e90ff46d035410f74
cleanup
===================================================================
M source/blender/functions/FN-C.h
M source/blender/modifiers/intern/MOD_functiondeform.c
===================================================================
diff --git a/source/blender/functions/FN-C.h b/source/blender/functions/FN-C.h
index 4d6c33175fd..e97b8743959 100644
--- a/source/blender/functions/FN-C.h
+++ b/source/blender/functions/FN-C.h
@@ -73,7 +73,7 @@ void fn_tuple_destruct(FnTuple tuple);
void *fn_in##_##fn_out##_buffer =
alloca(fn_tuple_stack_prepare_size(body)); \
fn_tuple_prepare_stack(body, fn_in##_##fn_out##_buffer, &fn_in,
&fn_out);
-#define FN_TUPLE_CALL_DESTRUCT_STACK(fn_in, fn_out) \
+#define FN_TUPLE_CALL_DESTRUCT_STACK(body, fn_in, fn_out) \
fn_tuple_destruct(fn_in); \
fn_tuple_destruct(fn_out);
diff --git a/source/blender/modifiers/intern/MOD_functiondeform.c
b/source/blender/modifiers/intern/MOD_functiondeform.c
index 2a7092b9ed3..d483bbf7799 100644
--- a/source/blender/modifiers/intern/MOD_functiondeform.c
+++ b/source/blender/modifiers/intern/MOD_functiondeform.c
@@ -97,7 +97,7 @@ static void do_deformation(
clock_t end = clock();
printf("Time taken: %f s\n", (float)(end - start) /
(float)CLOCKS_PER_SEC);
- FN_TUPLE_CALL_DESTRUCT_STACK(fn_in, fn_out);
+ FN_TUPLE_CALL_DESTRUCT_STACK(body, fn_in, fn_out);
FN_function_free(fn);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs