diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:47:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 03:23:46 +0300 |
commit | cea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch) | |
tree | fa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/editors/mask | |
parent | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff) |
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r-- | source/blender/editors/mask/mask_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index 9504a8783a0..dcd5b90bc04 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -722,8 +722,8 @@ void ED_mask_draw_region( /* find window pixel coordinates of origin */ UI_view2d_view_to_region(®ion->v2d, 0.0f, 0.0f, &x, &y); - /* w = BLI_rctf_size_x(&v2d->tot); */ - /* h = BLI_rctf_size_y(&v2d->tot); */ + // w = BLI_rctf_size_x(&v2d->tot); + // h = BLI_rctf_size_y(&v2d->tot); zoomx = (float)(BLI_rcti_size_x(®ion->winrct) + 1) / BLI_rctf_size_x(®ion->v2d.cur); zoomy = (float)(BLI_rcti_size_y(®ion->winrct) + 1) / BLI_rctf_size_y(®ion->v2d.cur); @@ -835,7 +835,7 @@ void ED_mask_draw_frames( mask_layer_shape = mask_layer_shape->next) { int frame = mask_layer_shape->frame; - /* draw_keyframe(i, CFRA, sfra, framelen, 1); */ + // draw_keyframe(i, CFRA, sfra, framelen, 1); int height = (frame == cfra) ? 22 : 10; int x = (frame - sfra) * framelen; immVertex2i(pos, x, region_bottom); |