MJW Posted June 16, 2021 Share Posted June 16, 2021 This is likely the same issue as the long coveted ability to detect the final rendering pass, but in case it's different and possible I'll ask anyway. Is there some way in a IndirectUI plugin to something once, as the plugin exits? I'm writing a little CodeLab plugin that writes text to clipboard in PreRender() using Services.GetService<IClipboardService>().SetText(text). The Render() routine does nothing but copy src to dst. The plugin has controls which change what gets written to the clipboard. It works fine if the slider controls aren't changed, but if they're moved around, it crashes with some kind of clipboard-access error. Presumably it doesn't like all the repeated writing to the clipboard. I was hoping (against hope) that there's some way of writing to the clipboard once, as the plugin exits (though not, of course, if it's cancelled). Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.