diff options
author | Jacques Lucke <jacques@blender.org> | 2021-01-12 23:22:32 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-01-12 23:22:32 +0300 |
commit | 1339e7c44f1f9a1c9bc5d6cb0a5702a6fe73515e (patch) | |
tree | 219481d8935a75ad6e2b97fe16193af3f763bb32 /source/blender/editors/space_graph/graph_buttons.c | |
parent | b66fcd83f6cef55a87dc9835129f8956fd6c6742 (diff) | |
parent | 719bea0d6d06be579edee2fc3d12a7828bb8e101 (diff) |
Merge branch 'master' into experiment-point-distributiontemp-point-distribution-refactor-experiment
Diffstat (limited to 'source/blender/editors/space_graph/graph_buttons.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 920f1d346b9..51be5afafe5 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -181,7 +181,7 @@ static void graph_panel_properties(const bContext *C, Panel *panel) } /* F-Curve pointer */ - RNA_pointer_create(ale->id, &RNA_FCurve, fcu, &fcu_ptr); + RNA_pointer_create(ale->fcurve_owner_id, &RNA_FCurve, fcu, &fcu_ptr); /* user-friendly 'name' for F-Curve */ col = uiLayoutColumn(layout, false); @@ -366,7 +366,7 @@ static void graph_panel_key_properties(const bContext *C, Panel *panel) int unit = B_UNIT_NONE; /* RNA pointer to keyframe, to allow editing */ - RNA_pointer_create(ale->id, &RNA_Keyframe, bezt, &bezt_ptr); + RNA_pointer_create(ale->fcurve_owner_id, &RNA_Keyframe, bezt, &bezt_ptr); /* get property that F-Curve affects, for some unit-conversion magic */ RNA_id_pointer_create(ale->id, &id_ptr); |