UV Snap To Pixels With Too Small UVs

Hi,

I’m having a problem with snapping UV coordinates to pixels. If the UV is too thin its vertices will snap to the same position, thus losing its area.


Is there a way to make sure there’s a 1 pixel minimum length when snapping UV to pixels?

I ended up writing a pixel snapping script that can handle this case.