- .add_enum_value(0,"nearest",_("Nearest Neighbor"))
- .add_enum_value(1,"linear",_("Linear"))
- .add_enum_value(2,"cosine",_("Cosine"))
- .add_enum_value(3,"spline",_("Spline"))
- .add_enum_value(4,"cubic",_("Cubic"))
+ .add_enum_value(RandomNoise::SMOOTH_DEFAULT, "nearest", _("Nearest Neighbor"))
+ .add_enum_value(RandomNoise::SMOOTH_LINEAR, "linear", _("Linear"))
+ .add_enum_value(RandomNoise::SMOOTH_COSINE, "cosine", _("Cosine"))
+ .add_enum_value(RandomNoise::SMOOTH_SPLINE, "spline", _("Spline"))
+ .add_enum_value(RandomNoise::SMOOTH_CUBIC, "cubic", _("Cubic"))