Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python_fu_ofn_export_layers question
#4
I won't change my plugin (or at least the change needed is a bit more complicated, and will require some testing...).

run_mode=RUN_INTERACTIVE if self.layerImageIndex==0 else RUN_WITH_LAST_VALS: on the first layer (for a given execution of the script) the export plugin is called with RUN_INTERACTIVE to pop out a dialog, and for all other layers it is called with RUN_WITH_LAST_VALS so it doesn't pop out the dialog and uses the values from the first dialog.
Reply


Messages In This Thread
RE: python_fu_ofn_export_layers question - by Ofnuts - 02-29-2024, 11:59 PM

Forum Jump: