[Bf-taskforce25] Operator standardization

Nathan Letwory jesterking at letwory.net
Mon Feb 2 03:04:25 CET 2009


2009/2/2 Campbell Barton <ideasman42 at gmail.com>:
> Reply inline...
> yesterday, I looked over the props and found for percent, 1 used
> "percentage" others "percent", some were floats, most ints. Im not
> really fussed but Id like to try keep some of these variable inputs
> consistent.
> I settled on percent, float since a python script may want to run an
> operator like vertex to sphere with a percentage of 66.6666. and I
> dont see any reason to force using ints.

For this probably better would be to adher to 0.0 - 1.0 convention.
Then the python script would give 0.666666. This is also what Ton
tried to communicate in IRC the other day.

/Nathan


More information about the Bf-taskforce25 mailing list