Cleanup: use enum type for argument
This commit is contained in:
parent
dfd2570d28
commit
42698b2dd9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue