Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-10 04:44:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-10 04:44:24 +0300
commitcecd4fe2548c57d3ef11010e039410b793b675dd (patch)
treeb456c5b7328bb85334e7e55378d8c75580317a12 /source/blender/editors/space_graph/graph_edit.c
parent168a6a4bfc13cbe5c2fb510607b9565de3eb9472 (diff)
parent9df2b6da3a718323dbe9431c5a4b43fc309fa4b9 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/space_graph/graph_edit.c')
-rw-r--r--source/blender/editors/space_graph/graph_edit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c
index 08a5a6aeedd..e610aee4810 100644
--- a/source/blender/editors/space_graph/graph_edit.c
+++ b/source/blender/editors/space_graph/graph_edit.c
@@ -345,7 +345,7 @@ static void create_ghost_curves(bAnimContext *ac, int start, int end)
int filter;
/* free existing ghost curves */
- free_fcurves(&sipo->ghostCurves);
+ free_fcurves(&sipo->runtime.ghost_curves);
/* sanity check */
if (start >= end) {
@@ -396,7 +396,7 @@ static void create_ghost_curves(bAnimContext *ac, int start, int end)
gcu->color[2] = fcu->color[2] - 0.07f;
/* store new ghost curve */
- BLI_addtail(&sipo->ghostCurves, gcu);
+ BLI_addtail(&sipo->runtime.ghost_curves, gcu);
/* restore driver */
fcu->driver = driver;
@@ -463,11 +463,11 @@ static int graphkeys_clear_ghostcurves_exec(bContext *C, wmOperator *UNUSED(op))
sipo = (SpaceIpo *)ac.sl;
/* if no ghost curves, don't do anything */
- if (BLI_listbase_is_empty(&sipo->ghostCurves))
+ if (BLI_listbase_is_empty(&sipo->runtime.ghost_curves)) {
return OPERATOR_CANCELLED;
-
+ }
/* free ghost curves */
- free_fcurves(&sipo->ghostCurves);
+ free_fcurves(&sipo->runtime.ghost_curves);
/* update this editor only */
ED_area_tag_redraw(CTX_wm_area(C));