Jump to content

Merge Layers (with installer)


Recommended Posts

Just posting to say that I've downloaded the latest source and added the ability to merge two layers into one (implemented the same way as Merge Down, for you Photoshop people). Once I clean everything up, I will provide a diff to the current source package. I hope that you like it and perhaps even want to include it in a future version of PDN.

Here is the diff. Make sure to add the two new files MergeLayerHistoryAction.cs and SplitLayerHistoryAction.cs to your paintdotnet project.

http://home.case.edu/bes7/MergeDown.patch.gz

Here's an installer in case anyone wants to use this feature without compiling their own. Please download it if you get a chance and try to break the Merge Layer feature, thanks!

http://home.case.edu/bes7/PaintDotNet_2 ... geDown.zip

EDIT: Paint.NET v2.70 with Merge Layer Down is now available! Additionally, the auto-update feature will now check for new versions of PDN with Merge Layer Down instead of the official PDN.

--Brandon

Link to comment
Share on other sites

That's odd - I didn't go anywhere near that code. Furthermore, I just checked by opening first the official build and then my build, and the Open Recent... menu looks the same in both - items are numbered properly, and sized to their thumbnails. I'll look into the code and see if I can find something. Thanks :)

--Brandon

Link to comment
Share on other sites

  • 2 weeks later...

Yes that's correct. I just followed the format for the version.txt file and pointed the updater to the new URL. I'm not sure if more has to be done - I basically read through the comments and source for the updater and followed along. Just seemed like it would be nice for users to get future updates automatically. Though it's no secret that I would much prefer to see this patch make it into the mainline code - there's really no use maintaining two different distributions and it's a planned feature anyhow.

--Brandon

Link to comment
Share on other sites

There are no more planned updates for the v2.xx tree. The next planned update will be v3.0, which is many months away.

bsiegel, Keep in mind that any update you want to publish on your own must be signed with a code signing certificate. Paint.NET clients will refuse any zip that contains an update exe that is not signed, and it would be an extremely poor idea to disable that check in your patch. It's probably a better idea to leave them pointed at the standard update manifest, and to publish your own updates in this thread.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...