Cleanup: Sculpt: Remove useless comments
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user