diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-07 18:07:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-07 18:08:06 +0300 |
commit | a488a21f4fa0202c1760a8f77ec2752510f1fe76 (patch) | |
tree | 6a3dc04fa36b340f3c5ab9e671e1b64ea645d1b7 /source/blender/editors/space_clip/clip_ops.c | |
parent | 9c41ff4d461cf0d3d56589844e544db79de7313b (diff) |
Fix T64257: Scrubbing in the Clip Editor Graph Editor doesn't work
While intent of such action is not very clear, there is no real
reason to forbid it.
Diffstat (limited to 'source/blender/editors/space_clip/clip_ops.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index 3f971c4444a..a6b1db1aa83 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -955,10 +955,10 @@ static bool change_frame_poll(bContext *C) { /* prevent changes during render */ if (G.is_rendering) { - return 0; + return false; } - - return ED_space_clip_poll(C); + SpaceClip *space_clip = CTX_wm_space_clip(C); + return space_clip != NULL; } static void change_frame_apply(bContext *C, wmOperator *op) |