Hi
I'm slightly mistified, I wonder if anyone can point me at a feature of the SDK that I'm missing or a glaring bug that I can't spot. I'm adding some controls to my effect, some of which cannot be animated. I set PF_ParamFlag_CANNOT_TIME_VARY and for some controls this works and for some it does nothing leaving the stopwatch icon still next to the parameter in AE. A code snippet is below, the top control correectly uses the def.flags, the bottom one doesn't and is still animatable in AE. These two params are adjacent in the real code too. I just can't figure it out. Any suggestions very welcome
Phil
//slider to select rotation amount
AEFX_CLR_STRUCT(def);
def.flags=PF_ParamFlag_CANNOT_TIME_VARY;
PF_ADD_FLOAT_SLIDER( STR(StrID_param_rotation_amount_index),
min_offset,
max_offset,
min_rotation_slider,
max_rotation_slider,
0,
default_offset,
PF_Precision_HUNDREDTHS,
0,
0,
pfm_rotation_amount_index);
//slider to select horizontal offset
AEFX_CLR_STRUCT(def);
def.flags=PF_ParamFlag_CANNOT_TIME_VARY;
PF_ADD_FLOAT_SLIDER( STR(StrID_param_horizontal_offset_index),
min_offset,
max_offset,
min_hoffset_slider,
max_hoffset_slider,
0,
default_offset,
PF_Precision_HUNDREDTHS,
0,
0,
pfm_horizontal_offset_index);