Hiya! I would submit a pull request, but Toxes aren't the most GitHub friendly format. Let me know if there's a better way to contribute than the following.
I've found that when promoting a custom par, sometimes (weirdly, only sometimes) only the first parameter in a group will get the correct default value promoted. It seems to happen when the pargroup being promoted is itself promoted from a child OP's built-ins.
Adding this to customParPromoterExt after line 91 (new_pars = new_par.pars()) seems to do the trick:
for i, old_par in enumerate(pg):
new_pars[i].val = old_par.val
new_pars[i].default = old_par.default
Hiya! I would submit a pull request, but Toxes aren't the most GitHub friendly format. Let me know if there's a better way to contribute than the following.
I've found that when promoting a custom par, sometimes (weirdly, only sometimes) only the first parameter in a group will get the correct default value promoted. It seems to happen when the pargroup being promoted is itself promoted from a child OP's built-ins.
Adding this to
customParPromoterExt
after line 91 (new_pars = new_par.pars()
) seems to do the trick:Thanks for all your work on these great tools!