Cleanup: use enum type for argument

This commit is contained in:
Campbell Barton 2022-08-12 11:02:37 +10:00
parent dfd2570d28
commit 42698b2dd9
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ using eGPCurveMappingPreset = enum eGPCurveMappingPreset {
GPCURVE_PRESET_CHISEL_STRENGTH = 5,
};
static void brush_gpencil_curvemap_reset(CurveMap *cuma, int tot, int preset)
static void brush_gpencil_curvemap_reset(CurveMap *cuma, int tot, eGPCurveMappingPreset preset)
{
if (cuma->curve) {
MEM_freeN(cuma->curve);