From 0f1775205ecfee9de21053eb1d187bfa641ba6aa Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 10 Jan 2019 16:21:40 +0100 Subject: Use proper ID to create FModifier RNA pointer Allows to do simple DEG tag, without extra checks for ID type. Will solve possible missing updates when modifying f-curve modifier of a shared action. --- source/blender/editors/space_graph/graph_buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_graph/graph_buttons.c') diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index ef0e4f7d6f3..72ff0712a23 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -1142,7 +1142,7 @@ static void graph_panel_modifiers(const bContext *C, Panel *pa) col = uiLayoutColumn(pa->layout, true); uiLayoutSetActive(col, active); - ANIM_uiTemplate_fmodifier_draw(col, ale->id, ale->fcurve_owner_id, &fcu->modifiers, fcm); + ANIM_uiTemplate_fmodifier_draw(col, ale->fcurve_owner_id, &fcu->modifiers, fcm); } MEM_freeN(ale); -- cgit v1.2.3