Issue #10842: Commit GEGL-based tools before merging
This patch attempts to resolve #10842 (closed).
In the initial NDE implementation, we prevented merging filters if the Warp, Cage, or Gradient Tool were active to prevent active tool-based filters from crashing when cleared.
This patch removes this limitation by automatically committing the tool before merging the rest of the filter stack. This applies the tool-based filter correctly and then merges the rest of the filter stack as normal.
@pixelmixer Hi! Let me know if this works as you expected.