快速登录:  

Forum: VirtualDJ Technical Support

话题: Return parameters disapearing and queries becoming wrong

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

NicotuxHome userMember since 2014
Just detected with b6242 (before to upgrade to b6255) may come from older build
Some verbs i.e. "effect_has_slider" or ""get_effect_name" don't return value anymore
They can't be used (as they used to before) as simple queries in scripts like visibility="effect_has_slider"
they now need to be query "effect_has_slider?true:false" braking a lot of scripts and skins
in a way to be correct when no slider exist... needs to test against '' (empty string) as well making thing really complicated
The same, display can't be used directly (i.e. as a name or status of a button)
As they now return empty string instead of boolean or integer they are being detected as ....
THE SAME WAY THE "NON BUG" with uninitialized variables which broke many mappers and skins : not false not true ... but '' ... when it works ...
the following not working (visibility and novisibility both don't work and do the same)
visibility="get_effect_name"
visibility="get_effect_name '' "
visibility="get_effect_name '' ? false : true" doesn't work anymore
visibility="effect_name '' ? false : true"

visible with "old" skin in 1slots fxmode without effect loaded : 3 knobs appear

need to set visibility="get_effect_name & param_cast text & not param_equal ''"
insead NORMAL visibility="get_effect_name"
 

发表时间 Fri 15 Jan 21 @ 3:04 am


(陈旧帖子或论坛版块会自动关闭)