diff options
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 5 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_header.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index ce72697f288..a59ec1fd4c8 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -147,9 +147,8 @@ static void do_graph_region_driver_buttons(bContext *C, void *arg, int event) /* rebuild depsgraph for the new deps */ DAG_scene_sort(scene); - /* TODO: which one? we need some way of sending these updates since curves from non-active ob could be being edited */ - //DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); - //DAG_object_flush_update(scene, ob, OB_RECALC_OB); + /* force an update of depsgraph */ + ED_anim_dag_flush_update(C); } break; } diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 18cb5a88c26..3aea32d64e7 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -336,6 +336,7 @@ void GRAPHEDIT_OT_ghost_curves_create (wmOperatorType *ot) /* identifiers */ ot->name= "Create Ghost Curves"; ot->idname= "GRAPHEDIT_OT_ghost_curves_create"; + ot->description= "Create snapshot (Ghosts) of selected F-Curves as background aid for active Graph Editor."; /* api callbacks */ ot->exec= graphkeys_create_ghostcurves_exec; @@ -378,6 +379,7 @@ void GRAPHEDIT_OT_ghost_curves_clear (wmOperatorType *ot) /* identifiers */ ot->name= "Create Ghost Curves"; ot->idname= "GRAPHEDIT_OT_ghost_curves_clear"; + ot->description= "Clear F-Curve snapshots (Ghosts) for active Graph Editor."; /* api callbacks */ ot->exec= graphkeys_clear_ghostcurves_exec; diff --git a/source/blender/editors/space_graph/graph_header.c b/source/blender/editors/space_graph/graph_header.c index e19c0702b3d..ee4b5d59696 100644 --- a/source/blender/editors/space_graph/graph_header.c +++ b/source/blender/editors/space_graph/graph_header.c @@ -228,9 +228,9 @@ void graph_header_buttons(const bContext *C, ARegion *ar) /* ghost curves */ // XXX these icons need to be changed if (sipo->ghostCurves.first) - uiDefIconButO(block, BUT, "GRAPHEDIT_OT_ghost_curves_clear", WM_OP_INVOKE_REGION_WIN, ICON_OUTLINER_DATA_CURVE, xco,yco,XIC,YIC, "Clear F-Curve snapshots (Ghosts)"); + uiDefIconButO(block, BUT, "GRAPHEDIT_OT_ghost_curves_clear", WM_OP_INVOKE_REGION_WIN, ICON_OUTLINER_DATA_CURVE, xco,yco,XIC,YIC, "Clear F-Curve snapshots (Ghosts) for this Graph Editor instance"); else - uiDefIconButO(block, BUT, "GRAPHEDIT_OT_ghost_curves_create", WM_OP_INVOKE_REGION_WIN, ICON_OUTLINER_OB_CURVE, xco,yco,XIC,YIC, "Create snapshot (Ghosts) of selected F-Curves as background aid"); + uiDefIconButO(block, BUT, "GRAPHEDIT_OT_ghost_curves_create", WM_OP_INVOKE_REGION_WIN, ICON_OUTLINER_OB_CURVE, xco,yco,XIC,YIC, "Create snapshot (Ghosts) of selected F-Curves as background aid for this Graph Editor instance"); xco+= XIC; |