Cleanup: assign values for enums that may be stored in blend files
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user