02-29-2024, 12:33 AM
Experience shows that people hardly read the docs or can't find them on Google, or can't find how the doc apply to their problem. And seasoned coders don't need the same doc as beginners....
No need to restart Gimp, unless the change impacts the registration (adding/changing parameters to the script). When Gimp (re-)starts it checks if the files have changed since the previous registrations and runs them to re-register if so. Usually, I write a script that just register an empty function, and then I add code to the function little by little.
Script-fus are different animals, the script-fu executor has to be told to check for new code versions (hence the refresh) but it can update the registration data without restarting Gimp.
(02-28-2024, 11:59 PM)gimpygirl Wrote: Another question: do I need to restart GIMP for each code change in a plugin?
There is for script-fu a refresh menu-item but not for python-fu
No need to restart Gimp, unless the change impacts the registration (adding/changing parameters to the script). When Gimp (re-)starts it checks if the files have changed since the previous registrations and runs them to re-register if so. Usually, I write a script that just register an empty function, and then I add code to the function little by little.
Script-fus are different animals, the script-fu executor has to be told to check for new code versions (hence the refresh) but it can update the registration data without restarting Gimp.