diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-01-30 13:43:44 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-01-30 13:43:44 +0300 |
commit | e0a625937ba132cd1629dc307082f2f7abf93705 (patch) | |
tree | cbe8480bc95f39c29190d6858b7d11007f57427e /source/blender/src/drawaction.c | |
parent | 5714c84c54b73ceb67f8eb2d73dfc8783e98b1d4 (diff) |
Bugfix for Action Editor Optimisations:
Horizontal keyframe filtering is now optional per editor (off by default). This option may be removed in future, but currently it's there so that users can use it at their own risk. Apparently this has been causing people grief.
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r-- | source/blender/src/drawaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 64af3041155..aac13231c50 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -1256,8 +1256,8 @@ static ActKeysInc *init_aki_data() aki.start= G.v2d->cur.xmin - 10; aki.end= G.v2d->cur.xmax + 10; - /* only pass pointer for Action Editor (for now) */ - if (curarea->spacetype == SPACE_ACTION) + /* only pass pointer for Action Editor if enabled (for now) */ + if ((curarea->spacetype == SPACE_ACTION) && (G.saction->flag & SACTION_HORIZOPTIMISEON)) return &aki; else return NULL; |