[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19697] branches/blender2.5/blender/source /blender/editors/space_graph: 2.5 - Assorted tweaks in Graph Editor
Joshua Leung
aligorith at gmail.com
Mon Apr 13 02:46:32 CEST 2009
Revision: 19697
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19697
Author: aligorith
Date: 2009-04-13 02:46:32 +0200 (Mon, 13 Apr 2009)
Log Message:
-----------
2.5 - Assorted tweaks in Graph Editor
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/editors/space_graph/graph_buttons.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c
Modified: branches/blender2.5/blender/source/blender/editors/space_graph/graph_buttons.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_graph/graph_buttons.c 2009-04-12 23:05:40 UTC (rev 19696)
+++ branches/blender2.5/blender/source/blender/editors/space_graph/graph_buttons.c 2009-04-13 00:46:32 UTC (rev 19697)
@@ -147,9 +147,8 @@
/* 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;
}
Modified: branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c 2009-04-12 23:05:40 UTC (rev 19696)
+++ branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c 2009-04-13 00:46:32 UTC (rev 19697)
@@ -336,6 +336,7 @@
/* 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 @@
/* 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;
Modified: branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c 2009-04-12 23:05:40 UTC (rev 19696)
+++ branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c 2009-04-13 00:46:32 UTC (rev 19697)
@@ -228,9 +228,9 @@
/* 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;
More information about the Bf-blender-cvs
mailing list