diff --git a/source/blender/editors/sculpt_paint/paint_hide.cc b/source/blender/editors/sculpt_paint/paint_hide.cc index af27973a19f..5a428192fc1 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.cc +++ b/source/blender/editors/sculpt_paint/paint_hide.cc @@ -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], diff --git a/source/blender/editors/sculpt_paint/paint_intern.hh b/source/blender/editors/sculpt_paint/paint_intern.hh index 619633536a1..c910003602c 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.hh +++ b/source/blender/editors/sculpt_paint/paint_intern.hh @@ -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` */