Fix #35365 Texture cloning not behaving correctly in perspective view
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 26 Jun 2013 14:28:39 +0000 (14:28 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 26 Jun 2013 14:28:39 +0000 (14:28 +0000)
commit3b0328436f039a2274caf9c58588b3318a0eed44
tree1f216ca5d82c1d5bd594151b274a514cbe22000f
parent42940807ee47cf27fc1b88e28b52439ff9488a25
Fix #35365 Texture cloning not behaving correctly in perspective view

This issue was caused by doing pespective interpolation of clone uv
coordinates in perspective view. To fix this we need to use perspective
correction for screen coordinates, but return regular barycentric
weights back for clone layer uv coordinate interpolation.
source/blender/editors/sculpt_paint/paint_image_proj.c