diff options
Diffstat (limited to 'source/blender/editors')
6 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/cage3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/cage3d_gizmo.c index 644a4247d84..2cd73f613c1 100644 --- a/source/blender/editors/gizmo_library/gizmo_types/cage3d_gizmo.c +++ b/source/blender/editors/gizmo_library/gizmo_types/cage3d_gizmo.c @@ -516,7 +516,7 @@ static int gizmo_cage3d_modal(bContext *C, (point_local[2] - data->orig_mouse[2]); } else if (gz->highlight_part == ED_GIZMO_CAGE3D_PART_ROTATE) { - /* TODO (if needed) */ + /* Add this (if we need it). */ } else { /* scale */ diff --git a/source/blender/editors/mesh/editmesh_path.c b/source/blender/editors/mesh/editmesh_path.c index e7e27c2189f..2cb8da37260 100644 --- a/source/blender/editors/mesh/editmesh_path.c +++ b/source/blender/editors/mesh/editmesh_path.c @@ -698,10 +698,9 @@ static int edbm_shortest_path_pick_invoke(bContext *C, wmOperator *op, const wmE /* If nothing is selected, let's select the picked vertex/edge/face. */ if ((vc.em->bm->totvertsel == 0) && (eve || eed || efa)) { - /* TODO (dfelinto) right now we try to find the closest element twice. + /* TODO(dfelinto): right now we try to find the closest element twice. * The ideal is to refactor EDBM_select_pick so it doesn't - * have to pick the nearest vert/edge/face again. - */ + * have to pick the nearest vert/edge/face again. */ EDBM_select_pick(C, event->mval, true, false, false); return OPERATOR_FINISHED; } diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index ea084d70bf8..c70c0f7cd54 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -5671,7 +5671,7 @@ static void do_brush_action(Sculpt *sd, Object *ob, Brush *brush, UnifiedPaintSe SCULPT_stroke_is_first_brush_step(ss->cache) && !ss->cache->alt_smooth) { /* Dynamic-topology does not support Face Sets data, so it can't store/restore it from undo. */ - /* TODO (pablodp606): This check should be done in the undo code and not here, but the rest of + /* TODO(pablodp606): This check should be done in the undo code and not here, but the rest of * the sculpt code is not checking for unsupported undo types that may return a null node. */ if (BKE_pbvh_type(ss->pbvh) != PBVH_BMESH) { SCULPT_undo_push_node(ob, NULL, SCULPT_UNDO_FACE_SETS); diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 0743e841794..8fe4c364aa6 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -1754,7 +1754,7 @@ static bool outliner_id_operation_item_poll(bContext *C, if (!space_outliner || ELEM(space_outliner->outlinevis, SO_SCENES, SO_VIEW_LAYER)) { return true; } - /* TODO (dalai): enable in the few cases where this can be supported + /* TODO(dalai): enable in the few cases where this can be supported (i.e., when we have a valid parent for the tselem). */ return false; } diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 4fdfc18c9ff..d7ef03453f3 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -931,7 +931,7 @@ static void view3d_main_region_listener( switch (wmn->data) { case ND_SHADING: case ND_NODES: - /* TODO(sergey) This is a bit too much updates, but needed to + /* TODO(sergey): This is a bit too much updates, but needed to * have proper material drivers update in the viewport. * * How to solve? diff --git a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c index 5eb106a0d6b..8f3d40584aa 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c @@ -241,7 +241,7 @@ static void axis_geom_draw(const wmGizmo *gz, const float axis_depth_bias = 0.01f; const float sphere_scale = 1.15f; - /* TODO(fclem) Is there a way to get the widget radius? */ + /* TODO(fclem): Is there a way to get the widget radius? */ const float widget_pix_size = 40.0f * U.dpi_fac; #ifdef USE_AXIS_FONT |