Fix issue reported by Campbell: Move texture existence check out of loop
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 23 Apr 2013 11:02:36 +0000 (11:02 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 23 Apr 2013 11:02:36 +0000 (11:02 +0000)
commit47b172d39d3d3bb212f2d158848f33443a1277ab
tree4b1b396e9eef2206acc8097b58b412d29166d8ce
parenta992ef13be46ac0028b62ccb73828c2c08bbea4c
Fix issue reported by Campbell: Move texture existence check out of loop
and exit ovelay display early. Avoids possible garbage value reading.
Thanks!
source/blender/editors/sculpt_paint/paint_cursor.c