diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-08 13:40:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-08 13:40:34 +0400 |
commit | 65f454a16029dbe963b4700b6e4187671b81a4fe (patch) | |
tree | e6a13c4fee7c0f350d3daf2757406b23567bdba9 /source | |
parent | 32e0612bc3984db0eaca9ffaaf13705751a49c6c (diff) |
Movie Clip Editor: manual calibration will now respect GP layer's hidden flag
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_clip/clip_draw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c index de43b30d4f4..49fa7837de6 100644 --- a/source/blender/editors/space_clip/clip_draw.c +++ b/source/blender/editors/space_clip/clip_draw.c @@ -1178,6 +1178,11 @@ static void draw_distortion(SpaceClip *sc, ARegion *ar, MovieClip *clip, int wid while(layer) { bGPDframe *frame= layer->frames.first; + if(layer->flag & GP_LAYER_HIDE) { + layer= layer->next; + continue; + } + glColor4fv(layer->color); glLineWidth(layer->thickness); glPointSize((float)(layer->thickness + 2)); |