Cleanup: assign values for enums that may be stored in blend files

This commit is contained in:
Campbell Barton
2023-12-01 11:04:47 +11:00
parent afa9a6904d
commit 94de4087e6

View File

@@ -54,15 +54,15 @@
namespace blender::ed::sculpt_paint::hide { namespace blender::ed::sculpt_paint::hide {
enum class VisAction { enum class VisAction {
Hide, Hide = 0,
Show, Show = 1,
}; };
enum VisArea { enum VisArea {
Inside, Inside = 0,
Outside, Outside = 1,
All, All = 2,
Masked, Masked = 3,
}; };
static bool action_to_hide(const VisAction action) static bool action_to_hide(const VisAction action)