OFX supports setting min/max values of parameters via kOfxParamPropMin, kOfxParamPropMax. This is currently implemented in CppPluginSupport and its MfxParamDef class, but ignored by Blender host.
AFAICT, we need to add range callback functions via RNA_def_property_int_funcs(), RNA_def_property_float_funcs() in rna_def_modifier_openmesheffect() and store the min/max bounds in struct OpenMeshEffectParameterInfo, so that we can set them in the callback.
OFX supports setting min/max values of parameters via
kOfxParamPropMin
,kOfxParamPropMax
. This is currently implemented inCppPluginSupport
and itsMfxParamDef
class, but ignored by Blender host.AFAICT, we need to add range callback functions via
RNA_def_property_int_funcs()
,RNA_def_property_float_funcs()
inrna_def_modifier_openmesheffect()
and store the min/max bounds instruct OpenMeshEffectParameterInfo
, so that we can set them in the callback.