mccreery Posted April 27, 2021 Share Posted April 27, 2021 I'm working on an effect plugin which doesn't work with any of the parallel rendering schedules, so I use: new EffectOptions() { RenderingSchedule = EffectRenderingSchedule.None } If the plugin takes a significant amount of time the progress bar is stuck in its "Initializing" state until the effect is complete. Is it possible to submit progress manually to the progress bar? Quote Link to comment Share on other sites More sharing options...
null54 Posted April 28, 2021 Share Posted April 28, 2021 11 hours ago, mccreery said: Is it possible to submit progress manually to the progress bar? Unfortunately, this is not currently possible. My Content Aware Fill plugin uses a hack to work around this limitation when the effect dialog is open, but it will show no progress in other cases. Rendering is performed in OnSetRenderInfo and the dialog subscribes to a progress event that it shows in its own progress bar. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.