Inconsistency in the numeric type of a PF_SPINNER parameter
Submitted by Ofnuts
Created attachment 355319 Sample python script
See attached test-types script.
When called interactively (with the auto-generated parameter dialog), the script is called with "float" values (which is expected since the step can be fractional).
However, the plugin browser documents the PF_SPINNER parameters as being of type INT32, and when the plugin is called by some other code via the PDB, "float" parameters are truncated and cast to the "int" type.
Calling the script in the UI:
Fractional spinner: 1.50 (`<type 'float'>`), Integer spinner: 3.00 (`<type 'float'>`)
Fractional spinner: 1.00 (`<type 'int'>`), Integer spinner: 2.00 (`<type 'int'>`)
Attachment 355319, "Sample python script":