Cleanup: name enums

This commit is contained in:
Jacques Lucke 2022-03-17 12:42:01 +01:00
parent dd483215e5
commit 8f68cff01b
2 changed files with 3 additions and 3 deletions

View File

@ -602,10 +602,10 @@ typedef enum eBlurKernelType {
} eBlurKernelType;
/* Brush.falloff_shape */
enum {
typedef enum eBrushFalloffShape {
PAINT_FALLOFF_SHAPE_SPHERE = 0,
PAINT_FALLOFF_SHAPE_TUBE = 1,
};
} eBrushFalloffShape;
#define MAX_BRUSH_PIXEL_RADIUS 500
#define GP_MAX_BRUSH_PIXEL_RADIUS 1000

View File

@ -256,7 +256,7 @@ typedef struct Brush {
char gpencil_sculpt_tool;
/** Active grease pencil weight tool. */
char gpencil_weight_tool;
/** Active curves sculpt tool. */
/** Active curves sculpt tool (#eBrushCurvesSculptTool). */
char curves_sculpt_tool;
char _pad1[5];