index 4725573d7afdd75448929ea537332bbdb7b95b45..aee4c127a4d5de19609ca227ebb82f043f9568c4 100644 (file)
LPEConstructGrid::LPEConstructGrid(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
- nr_x(_("Size X"), _("The size of the grid in X direction."), "nr_x", &wr, this, 5),
- nr_y(_("Size Y"), _("The size of the grid in Y direction."), "nr_y", &wr, this, 5)
+ nr_x(_("Size X:"), _("The size of the grid in X direction."), "nr_x", &wr, this, 5),
+ nr_y(_("Size Y:"), _("The size of the grid in Y direction."), "nr_y", &wr, this, 5)
{
registerParameter( dynamic_cast<Parameter *>(&nr_x) );
registerParameter( dynamic_cast<Parameter *>(&nr_y) );
nr_x.param_make_integer();
nr_y.param_make_integer();
- nr_x.param_set_range(1, NR_HUGE);
- nr_y.param_set_range(1, NR_HUGE);
+ nr_x.param_set_range(1, 1e10);
+ nr_y.param_set_range(1, 1e10);
}
LPEConstructGrid::~LPEConstructGrid()