diff --git a/source/blender/editors/sculpt_paint/paint_mask.cc b/source/blender/editors/sculpt_paint/paint_mask.cc index 31fe9ee6a24..ad9db549ccd 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.cc +++ b/source/blender/editors/sculpt_paint/paint_mask.cc @@ -16,7 +16,6 @@ #include "BLI_bit_span_ops.hh" #include "BLI_enumerable_thread_specific.hh" #include "BLI_math_base.hh" -#include "BLI_math_geom.h" #include "BLI_span.hh" #include "BLI_utildefines.h" #include "BLI_vector.hh" @@ -711,7 +710,6 @@ void PAINT_OT_mask_lasso_gesture(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_DEPENDS_ON_CURSOR; - /* Properties. */ WM_operator_properties_gesture_lasso(ot); gesture::operator_properties(ot); @@ -732,7 +730,6 @@ void PAINT_OT_mask_box_gesture(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER; - /* Properties. */ WM_operator_properties_border(ot); gesture::operator_properties(ot); @@ -753,7 +750,6 @@ void PAINT_OT_mask_line_gesture(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER; - /* Properties. */ WM_operator_properties_gesture_straightline(ot, WM_CURSOR_EDIT); gesture::operator_properties(ot); diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.cc b/source/blender/editors/sculpt_paint/sculpt_face_set.cc index 1e3bee61441..8bf3fb12bd9 100644 --- a/source/blender/editors/sculpt_paint/sculpt_face_set.cc +++ b/source/blender/editors/sculpt_paint/sculpt_face_set.cc @@ -1840,7 +1840,6 @@ void SCULPT_OT_face_set_lasso_gesture(wmOperatorType *ot) ot->flag = OPTYPE_DEPENDS_ON_CURSOR; - /* Properties. */ WM_operator_properties_gesture_lasso(ot); gesture::operator_properties(ot); } @@ -1859,7 +1858,6 @@ void SCULPT_OT_face_set_box_gesture(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER; - /* Properties. */ WM_operator_properties_border(ot); gesture::operator_properties(ot); } diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.hh b/source/blender/editors/sculpt_paint/sculpt_intern.hh index b3825f829a6..fc20a68bdb6 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.hh +++ b/source/blender/editors/sculpt_paint/sculpt_intern.hh @@ -56,8 +56,6 @@ struct wmKeyMap; struct wmOperator; struct wmOperatorType; -/* Updates */ - /* -------------------------------------------------------------------- */ /** \name Sculpt Types * \{ */ @@ -134,8 +132,6 @@ enum eBoundaryAutomaskMode { AUTOMASK_INIT_BOUNDARY_FACE_SETS = 2, }; -/* Undo */ - namespace blender::ed::sculpt_paint::undo { enum class Type { @@ -756,8 +752,6 @@ void SCULPT_tag_update_overlays(bContext *C); /** \name Stroke Functions * \{ */ -/* Stroke */ - /** * Do a ray-cast in the tree to find the 3d brush location * (This allows us to ignore the GL depth buffer) @@ -1820,8 +1814,6 @@ void SCULPT_OT_set_pivot_position(wmOperatorType *ot); /** \name Filter Operators * \{ */ -/* Mesh Filter. */ - namespace blender::ed::sculpt_paint::filter { void SCULPT_OT_mesh_filter(wmOperatorType *ot); @@ -1833,8 +1825,6 @@ namespace blender::ed::sculpt_paint::cloth { void SCULPT_OT_cloth_filter(wmOperatorType *ot); } -/* Color Filter. */ - namespace blender::ed::sculpt_paint::color { void SCULPT_OT_color_filter(wmOperatorType *ot); } @@ -1877,8 +1867,6 @@ void SCULPT_OT_dynamic_topology_toggle(wmOperatorType *ot); /** \name Brushes * \{ */ -/* Pose Brush. */ - namespace blender::ed::sculpt_paint::pose { /** @@ -1906,8 +1894,6 @@ void ik_chain_free(SculptPoseIKChain *ik_chain); } -/* Boundary Brush. */ - namespace blender::ed::sculpt_paint::boundary { /** diff --git a/source/blender/editors/sculpt_paint/sculpt_project.cc b/source/blender/editors/sculpt_paint/sculpt_project.cc index 25d381f9202..3d3bf580254 100644 --- a/source/blender/editors/sculpt_paint/sculpt_project.cc +++ b/source/blender/editors/sculpt_paint/sculpt_project.cc @@ -133,6 +133,7 @@ static int project_gesture_line_exec(bContext *C, wmOperator *op) gesture::apply(*C, *gesture_data, *op); return OPERATOR_FINISHED; } + void SCULPT_OT_project_line_gesture(wmOperatorType *ot) { ot->name = "Project Line Gesture"; @@ -147,8 +148,8 @@ void SCULPT_OT_project_line_gesture(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER; - /* Properties. */ WM_operator_properties_gesture_straightline(ot, WM_CURSOR_EDIT); gesture::operator_properties(ot); } + } // namespace blender::ed::sculpt_paint::project