Rick Brewster Posted November 29, 2022 Share Posted November 29, 2022 If the effect is marked as configurable, why is it not using a token? Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
midora Posted November 30, 2022 Author Share Posted November 30, 2022 Without the flag there was no dialog. We talked about tool dialogs which do not need a configuration (and no progress bar). It worked without creating a token. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted November 30, 2022 Share Posted November 30, 2022 25 minutes ago, midora said: It worked without creating a token. Without creating a token, how does Ctrl+F (repeat effect) work? Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
midora Posted November 30, 2022 Author Share Posted November 30, 2022 Why should anyone call ctrl-f on a tool if ctrl-f never opens a dialog? BTW: Because these kind of tools never exit with ok they do not appear in the ctrl-f menu. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 5, 2022 Share Posted December 5, 2022 In this case you can use a non-null but otherwise empty token. Just create an empty class that derives from EffectConfigToken. @midora, This is your weekly reminder to stop doing weird/hacky stuff in plugins. I'll be blocking the current version of the plugin in the next 5.0 build, and you'll need to release updated versions of your plugins. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
midora Posted December 6, 2022 Author Share Posted December 6, 2022 It was just not required to add a token up to now. There was no abstract definition or documentation which forced you to do it. I try to keep sw minimal. I asked about tool plugins which do not modify the image (to avoid the useless call of copying the current content in Render()) i.e. by a configuration flag. Why is this not possible? I had no intention to make you developer life more difficult 😉 These tools have been used for years without any issue. If they now fail in 5.0 then something has changed in the internal handling of plugins and they are no longer compatible. You can spent some time to keep them alive or not and block them. Or discuss a better solution for these kind of plugins. That's on your side. Quote Link to comment Share on other sites More sharing options...
midora Posted December 9, 2022 Author Share Posted December 9, 2022 I would expect that creating an empty dummy token in 5.0 would also solve the issue. Non-tool plugins would just override this token. Quote Link to comment Share on other sites More sharing options...
nofearek9 Posted January 29 Share Posted January 29 (edited) hello is anywhere still available the plugin for older version fs paint.net (4.3) ? *edit* found it,thanks for the plugin. Edited January 29 by nofearek9 Quote paint.net Win7 installations : https://usersdrive.com/l2h06hnyx92h.html 64bit https://usersdrive.com/8z1xgwago7oz.html 32bit https://usersdrive.com/0rzuln3jpldx.html 64bit portable 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.