diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:41:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:53:26 +0300 |
commit | 0469f2392f0653f2fcecc840122d74f9e0e83bff (patch) | |
tree | 5cbbdb6241024eb9f2413e4df7f9f61b836eeb2f /source/blender | |
parent | 55bffa82da30a186bd952d0c140829374c2992e4 (diff) |
Cleanup: remove outdated/redundant comments
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 1 | ||||
-rw-r--r-- | source/blender/editors/mask/mask_select.c | 1 | ||||
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 6694535e3af..dc0650af7a7 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1188,7 +1188,6 @@ static void panel_draw_aligned_widgets(const uiStyle *style, /* Draw text label. */ if (panel->drawname[0] != '\0') { - /* + 0.001f to avoid flirting with float inaccuracy .*/ const rcti title_rect = { .xmin = widget_rect.xmin + (panel->labelofs / aspect) + scaled_unit * 1.1f, .xmax = widget_rect.xmax, diff --git a/source/blender/editors/mask/mask_select.c b/source/blender/editors/mask/mask_select.c index 5c369afc4cd..3bb05a27c54 100644 --- a/source/blender/editors/mask/mask_select.c +++ b/source/blender/editors/mask/mask_select.c @@ -92,7 +92,6 @@ bool ED_mask_select_check(const Mask *mask) return false; } -/* 'sel' select */ void ED_mask_spline_select_set(MaskSpline *spline, const bool do_select) { if (do_select) { diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 3a05cde7aa1..d736510abd0 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -61,7 +61,6 @@ static CustomData *mesh_customdata_get_type(Mesh *me, const char htype, int *r_t BMesh *bm = (me->edit_mesh) ? me->edit_mesh->bm : NULL; int tot; - /* this */ switch (htype) { case BM_VERT: if (bm) { |