GP: Disable Draw Modes if enable Annotation
authorAntonioya <blendergit@gmail.com>
Wed, 5 Dec 2018 15:31:29 +0000 (16:31 +0100)
committerAntonioya <blendergit@gmail.com>
Wed, 5 Dec 2018 15:31:43 +0000 (16:31 +0100)
commit6dcb474dd4b6de529dd1fb93b4e69208de44eb1d
tree7d343228ac7f693615f1064f3e73fceff2bbcee7
parent3e1ca9a693be8b0b50ddb8aa766fd9852541f270
GP: Disable Draw Modes if enable Annotation

When enable annotations with a grease pencil object, the GP Object must be set to Object mode because the annotation Draw and the GP draw are incompatible.
source/blender/editors/gpencil/annotate_paint.c