apoch / curvature

A full-featured editor for working with Utility-based AI
Other
264 stars 23 forks source link

Bug: consideration wizard Parameterization tab text is wrong for enumerations #48

Closed apoch closed 6 years ago

apoch commented 6 years ago

When a consideration uses an input axis that has an enumeration constraint, the Consideration Wizard dialog talks about scaling the input value from 0 to 1 by dividing by the parameter. This prose is correct for fixed-range params but wrong for enumerations. Detect if the parameter being chosen is an enumeration and dynamically change the prose as necessary.