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>2010-08-18 22:00:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-18 22:00:52 +0400
commit5e530125582188ec658045da4acc74bdc6911992 (patch)
tree10b5b0e410ef8c384b8bcd7b22f365d4baf457f4 /source/blender/editors/space_graph/graph_buttons.c
parentcdd62d615003cfb1ed55a1d5c974c7a9a692440d (diff)
utility function for updating animation system values when RNA changes.
- any numnber of attributes are supported for renaming, eg: modifiers["Foo.Bar"].prop.bar - the path is resolved in blender so each attribute is type checked against the naming list. - inherited properties are supported by recursively checking parent classes names aganst the name list. - fcurves and drivers are currently supported.
Diffstat (limited to 'source/blender/editors/space_graph/graph_buttons.c')
-rw-r--r--source/blender/editors/space_graph/graph_buttons.c2
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 b333846ac96..14f684dd9e3 100644
--- a/source/blender/editors/space_graph/graph_buttons.c
+++ b/source/blender/editors/space_graph/graph_buttons.c
@@ -150,7 +150,7 @@ static void graph_panel_view(const bContext *C, Panel *pa)
uiItemR(row, &sceneptr, "frame_current", 0, "Cursor X", 0);
uiItemEnumO(row, "GRAPH_OT_snap", "To Keys", 0, "type", GRAPHKEYS_SNAP_CFRA);
row= uiLayoutSplit(subcol, 0.7, 1);
- uiItemR(row, &spaceptr, "cursor_value", 0, "Cursor Y", 0);
+ uiItemR(row, &spaceptr, "cursor_position_y", 0, "Cursor Y", 0);
uiItemEnumO(row, "GRAPH_OT_snap", "To Keys", 0, "type", GRAPHKEYS_SNAP_VALUE);
}