From 94de4087e6dbc67426dd62be5c82f3069f8db597 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Dec 2023 11:04:47 +1100 Subject: [PATCH] Cleanup: assign values for enums that may be stored in blend files --- source/blender/editors/sculpt_paint/paint_hide.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)