07-27-2018, 07:12 PM
No, you didn't: )
You should be using PF_PALETTE instead of PF_STRING. Of course you script only gets a string, but you get a real palette selector in the auto-built dialog.
Also, as a rule, there should be exactly as many args in your python function as you declared PF_* args in the registration list (unless you function takes default parms of course).
You should be using PF_PALETTE instead of PF_STRING. Of course you script only gets a string, but you get a real palette selector in the auto-built dialog.
Also, as a rule, there should be exactly as many args in your python function as you declared PF_* args in the registration list (unless you function takes default parms of course).