Sculpt: Fix crash when using grab brush
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 3 May 2018 15:42:46 +0000 (17:42 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 3 May 2018 15:42:46 +0000 (17:42 +0200)
commit7d6180364041553e49a9d3b25de57c73299da8a0
tree6f3167419451e57b928e71a6cb155dce170abbe2
parente684e0ec959f47402e1de4d6dde2551901a2d89d
Sculpt: Fix crash when using grab brush

Was wrong paint structure deducted from context.

Test plan:

With default cube, go to sculpt mode, switch to grab brush
and try to sculpt.
source/blender/blenkernel/intern/paint.c