GP: Cleanup Paint Poll method
authorAntonioya <blendergit@gmail.com>
Wed, 13 Feb 2019 15:48:16 +0000 (16:48 +0100)
committerAntonioya <blendergit@gmail.com>
Wed, 13 Feb 2019 15:48:41 +0000 (16:48 +0100)
commit46c871b4aee88e43ce6677bafdea63839abf242a
tree411f7ef42e0c3a85ac1d3a2948d80f0b7887219d
parentcf92d83c0a33873155571f8fe6ca5de28c834a75
GP: Cleanup Paint Poll method

The poll was checking things related to all annotations, but now the check must be only for grease pencil objects and 3D view.
source/blender/editors/gpencil/gpencil_paint.c