(02-29-2024, 02:03 PM)Ofnuts Wrote: For the time being, replace this line in the script (line 123):
by:Code:
pdb.gimp_file_save(exportImage,exportLayer,filePath,filePath,run_mode=RUN_INTERACTIVE if self.layerImageIndex==0 else RUN_WITH_LAST_VALS)
Code:
pdb.gimp_file_save(exportImage,exportLayer,filePath,filePath)
Warning: untested
works!
You want to change it in the plugin or keep the old way? Because the old way, see below, is not working here
Code:
RUN_WITH_LAST_VALS
Does this mean it would run with the same parameters when you run it for the 2nd time? This is not working here. When I run the plugin the 2nd time from my script, the "save as" dialog is shown again. Can you change it to "run with save as dialog the first time, but the next time run it with last used parameters"?
What does this line below mean exactly?
Code:
run_mode=RUN_INTERACTIVE if self.layerImageIndex==0 else RUN_WITH_LAST_VALS