diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-02 15:15:24 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-02 15:15:24 +0400 |
commit | 0a374e667999e7cbb4fa465f256bda89dce87d03 (patch) | |
tree | c598d2769c1de195685e3fa939da683a3f7ffe26 /source/blender/editors/space_graph/graph_utils.c | |
parent | fbb47e86044be300357eda6d5ade98b97d5654e9 (diff) |
Anim Bugfixes:
* Add F-Modifiers (for Graph Editor) was using a buggy poll() method. Silly typo.
* Bone groups now get duplicated when duplicating an armature object
Diffstat (limited to 'source/blender/editors/space_graph/graph_utils.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_utils.c b/source/blender/editors/space_graph/graph_utils.c index 25087441b6a..ee4e371e1f1 100644 --- a/source/blender/editors/space_graph/graph_utils.c +++ b/source/blender/editors/space_graph/graph_utils.c @@ -292,7 +292,6 @@ int graphop_selected_fcurve_poll (bContext *C) ListBase anim_data = {NULL, NULL}; ScrArea *sa= CTX_wm_area(C); int filter, items; - short found = 0; /* firstly, check if in Graph Editor */ // TODO: also check for region? @@ -311,7 +310,7 @@ int graphop_selected_fcurve_poll (bContext *C) /* cleanup and return findings */ BLI_freelistN(&anim_data); - return found; + return 1; } /* ************************************************************** */ |