diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-10 18:21:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-01-10 18:22:53 +0300 |
commit | 0f1775205ecfee9de21053eb1d187bfa641ba6aa (patch) | |
tree | 12e7f72714f65c15c2c511349e04e07002a9ca67 /source/blender/editors/space_graph | |
parent | ba2b26af31ca7e1a8d547cf308be2c1afbe7a4f5 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |