• Michael Natterer's avatar
    app: add member "default_run_mode" to GimpGeglProcedure · 38341992
    Michael Natterer authored
    which determines if a filter is applied directly (RUN_NONINTERACTIVE)
    or asynchronously using GimpOperationTool (RUN_INTERACTIVE).
    Split filter actions in two groups, one for direct apply and one for
    interactive apply, which have separate callbacks that create
    GimpGeglProcedures with the right default_run_mode set.
    (After doing this distinction automatically based on the existance of
    editable properties, I figured will might want direct apply also for
    filters that do have properties, such as e.g. dilate and erode, which
    are just value-propagate with some constant property values)
filters-commands.h 1.66 KB