MJW Posted April 19, 2015 Share Posted April 19, 2015 A comment by BoltBait on a leveling plugin thread made me remember a feature I've wanted. It would be useful if there were a "final render" flag a plugin could test to see if the render code was out of the phase where the user was modifying the controls and instead doing the final render pass. That way, any information in the image that was added to help the user adjust the controls could be omitted. Or the image could be, for instance, rendered with anti-aliasing enabled. I have no idea how had it would be, or if it's even possible, but I do notice there always seems to be a render pass done after the plugin is closed with an OK. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted April 19, 2015 Share Posted April 19, 2015 I fully support this suggestion as I have asked Rick for it many times as far back as 21 September 2008. Of course, when using your own UI, it is easily possible. What we're asking for is a way to determine when the OK button is pressed when using Indirect UI. I imagine something like: if (IsCancelRequested) ...only for when the OK button has been pressed: if (IsFinalRender) ...or if (IsOKButtonPressed) ... Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
MJW Posted April 19, 2015 Author Share Posted April 19, 2015 (edited) This probably goes without saying, but the flag should also be set when the "repeat last effect" is used. Maybe it would make more sense for the flag to have the opposite sense, like "IsInteractive." Edited April 19, 2015 by MJW Quote 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.