Fix crash due to shared paint cursor function. It is necessary to check
authorAntony Riakiotakis <kalast@gmail.com>
Sat, 18 May 2013 15:51:40 +0000 (15:51 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Sat, 18 May 2013 15:51:40 +0000 (15:51 +0000)
commitef40cdc1671ce1fb21e8ac52bfe6369d47868902
treeb26628ba5af210d4f41c6e43f21f73069b400146
parent1c314aae73342995bf47622bc48b518f8d71b402
Fix crash due to shared paint cursor function. It is necessary to check
if we really are in sculpt mode context since the active object may be
in sculpt mode while cursor is in the 2d paint editor.
source/blender/editors/sculpt_paint/paint_cursor.c