diff --git a/source/blender/editors/sculpt_paint/paint_hide.cc b/source/blender/editors/sculpt_paint/paint_hide.cc index 8bedeeca3ea..ce457aefa1c 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.cc +++ b/source/blender/editors/sculpt_paint/paint_hide.cc @@ -54,15 +54,15 @@ namespace blender::ed::sculpt_paint::hide { enum class VisAction { - Hide, - Show, + Hide = 0, + Show = 1, }; enum VisArea { - Inside, - Outside, - All, - Masked, + Inside = 0, + Outside = 1, + All = 2, + Masked = 3, }; static bool action_to_hide(const VisAction action)