index 00f7ec19367bffd6109d5d4ee6cdfb7832d8f001..c9bbde8f2093191df4168c9c346d0f334caea7a5 100644 (file)
LPEGears::LPEGears(LivePathEffectObject *lpeobject) :
Effect(lpeobject),
- teeth(_("Teeth"), _("The number of teeth"), "teeth", &wr, this, 10),
- phi(_("Phi"), _("Tooth pressure angle (typically 20-25 deg). The ratio of teeth not in contact."), "phi", &wr, this, 5)
+ teeth(_("Teeth:"), _("The number of teeth"), "teeth", &wr, this, 10),
+ phi(_("Phi:"), _("Tooth pressure angle (typically 20-25 deg). The ratio of teeth not in contact."), "phi", &wr, this, 5)
{
/* Tooth pressure angle: The angle between the tooth profile and a perpendicular to the pitch
* circle, usually at the point where the pitch circle meets the tooth profile. Standard angles
*/
teeth.param_make_integer();
- teeth.param_set_range(3, NR_HUGE);
+ teeth.param_set_range(3, 1e10);
registerParameter( dynamic_cast<Parameter *>(&teeth) );
registerParameter( dynamic_cast<Parameter *>(&phi) );
}