Blender Git Loki
Git Commits -> Revision 0da3e97
Revision 0da3e97 by Antonis Ryakiotakis (master) March 21, 2014, 18:37 (GMT) |
Fix T39279 Vertex paint modes do not work well with mirror modifier Issue here is that coordinates used for projection would not fit the closest candidate. So it was possible to paint against the mirrored part of the mesh, which would get clipped on reprojection. Fix avoids reprojection by storing squared distance, and screen space coordinates, which we will need again later anyway. Also we now always paint against the closest vertex always. This is ensured because squared distances for uninitialized vertices will be MAXFLOAT, thus failing the strength test. |
Commit Details:
Full Hash: 0da3e974338b3971e9a4982b2fbf59579b232cff
Parent Commit: 44dc723
Lines Changed: +82, -88