Hello,
I find if the ex0 is -1000,and the default val=1,in dialog,it will show 0 in the box.
c1.join(['type=spinedit', 'val=1', 'ex0=-1000', 'ex1=1000000', 'ex2=1', 'pos=200,24,294,0'])]
I find it in the cuda_number_utils, but it seems due to the dlg_custom method.
dlg_custom default val bug
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: dlg_custom default val bug
I fixed it: in Cud + in Number_Utils plugin.
in plugin, we must set 'val' _after_ setting 'ex0' / 'ex1'.
update plugin now (from addons-manager) and try.
thanks.
in plugin, we must set 'val' _after_ setting 'ex0' / 'ex1'.
update plugin now (from addons-manager) and try.
thanks.