Commit: 4f686995c8ee8531580820bd0dc7d5976221e4fc
Author: Jacques Lucke
Date: Thu Feb 21 13:40:49 2019 +0100
Branches: functions
https://developer.blender.org/rB4f686995c8ee8531580820bd0dc7d5976221e4fc
read from original tree
===================================================================
M source/blender/modifiers/intern/MOD_functiondeform.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_functiondeform.c
b/source/blender/modifiers/intern/MOD_functiondeform.c
index 6f12bf47470..7663c11cd08 100644
--- a/source/blender/modifiers/intern/MOD_functiondeform.c
+++ b/source/blender/modifiers/intern/MOD_functiondeform.c
@@ -54,7 +54,7 @@
static FnFunction get_current_function(FunctionDeformModifierData *fdmd)
{
- bNodeTree *tree = fdmd->function_tree;
+ bNodeTree *tree = (bNodeTree *)DEG_get_original_id(fdmd->function_tree);
if (tree == NULL) return NULL;
return FN_tree_to_function(tree);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs