• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PF_PUI_INVISIBLE not working

Explorer ,
Nov 12, 2024 Nov 12, 2024

Copy link to clipboard

Copied

Hi guys, when I want to hide parameter, PF_PUI_DISABLED works as expected, it greys out param, but when I want to hide it's not doing anything. This is within UserChangedParam function:

if (which_hitP->param_index == TEST){
if (params[TEST]->u.pd.value == 1) {
params[TEST]->uu.change_flags = PF_ChangeFlag_CHANGED_VALUE;
params[POSITION]->ui_flags |= PF_PUI_INVISIBLE; //PF_PUI_DISABLED works
AEGP_SuiteHandler suites(in_data->pica_basicP);
ERR(suites.ParamUtilsSuite3()->PF_UpdateParamUI(in_data->effect_ref, POSITION, params[POSITION]));
}
}

Can someone please explain why  PF_PUI_INVISIBLE is not working like PF_PUI_DISABLED, thanks!

TOPICS
SDK

Views

66

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation