GPencil: Cleanup typo error
This commit is contained in:
parent
2ad0ae8dad
commit
59e001cbf6
|
@ -106,7 +106,7 @@ static void deformStroke(GpencilModifierData *md,
|
|||
}
|
||||
|
||||
/* Hardness (at stroke level). */
|
||||
if (mmd->modify_color == GP_MODIFY_COLOR_HARDENESS) {
|
||||
if (mmd->modify_color == GP_MODIFY_COLOR_HARDNESS) {
|
||||
gps->hardeness *= mmd->hardeness;
|
||||
CLAMP(gps->hardeness, 0.0f, 1.0f);
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ typedef enum eModifyColorGpencil_Flag {
|
|||
GP_MODIFY_COLOR_BOTH = 0,
|
||||
GP_MODIFY_COLOR_STROKE = 1,
|
||||
GP_MODIFY_COLOR_FILL = 2,
|
||||
GP_MODIFY_COLOR_HARDENESS = 3,
|
||||
GP_MODIFY_COLOR_HARDNESS = 3,
|
||||
} eModifyColorGpencil_Flag;
|
||||
|
||||
typedef enum eOpacityModesGpencil_Flag {
|
||||
|
|
|
@ -144,7 +144,7 @@ static const EnumPropertyItem modifier_modify_opacity_items[] = {
|
|||
{GP_MODIFY_COLOR_BOTH, "BOTH", 0, "Stroke and Fill", "Modify fill and stroke colors"},
|
||||
{GP_MODIFY_COLOR_STROKE, "STROKE", 0, "Stroke", "Modify stroke color only"},
|
||||
{GP_MODIFY_COLOR_FILL, "FILL", 0, "Fill", "Modify fill color only"},
|
||||
{GP_MODIFY_COLOR_HARDENESS, "HARDENESS", 0, "Hardness", "Modify stroke hardness"},
|
||||
{GP_MODIFY_COLOR_HARDNESS, "HARDNESS", 0, "Hardness", "Modify stroke hardness"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue