Cleanup: Move enum definition out of header
This commit is contained in:
@@ -52,6 +52,18 @@
|
||||
using blender::Span;
|
||||
using blender::Vector;
|
||||
|
||||
enum PartialVisAction {
|
||||
PARTIALVIS_HIDE,
|
||||
PARTIALVIS_SHOW,
|
||||
};
|
||||
|
||||
enum PartialVisArea {
|
||||
PARTIALVIS_INSIDE,
|
||||
PARTIALVIS_OUTSIDE,
|
||||
PARTIALVIS_ALL,
|
||||
PARTIALVIS_MASKED,
|
||||
};
|
||||
|
||||
/* Return true if the element should be hidden/shown. */
|
||||
static bool is_effected(PartialVisArea area,
|
||||
float planes[4][4],
|
||||
|
||||
@@ -454,18 +454,6 @@ enum BrushStrokeMode {
|
||||
|
||||
/* paint_hide.cc */
|
||||
|
||||
enum PartialVisAction {
|
||||
PARTIALVIS_HIDE,
|
||||
PARTIALVIS_SHOW,
|
||||
};
|
||||
|
||||
enum PartialVisArea {
|
||||
PARTIALVIS_INSIDE,
|
||||
PARTIALVIS_OUTSIDE,
|
||||
PARTIALVIS_ALL,
|
||||
PARTIALVIS_MASKED,
|
||||
};
|
||||
|
||||
void PAINT_OT_hide_show(wmOperatorType *ot);
|
||||
|
||||
/* `paint_mask.cc` */
|
||||
|
||||
Reference in New Issue
Block a user