Fix T52195: Sculpt from Python fails
authorCampbell Barton <ideasman42@gmail.com>
Fri, 28 Jul 2017 19:59:17 +0000 (05:59 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 28 Jul 2017 20:05:43 +0000 (06:05 +1000)
commitf3782c0a9e44cc56680b0682d0eb78d2974bb593
treed2661aa47888707f5be7cfd1ef710cf8cb065a36
parente2a7e1e4940109c09de2b0e2fc22029de3636936
Fix T52195: Sculpt from Python fails

When calling sculpt from Python,
setting 3D 'location' but not 2D 'mouse' stopped working in 2.78.

Now check if the operator is running non-interactively and
skip the mouse-over check.
source/blender/editors/sculpt_paint/sculpt.c