Enable annotations when GP object is selected.
authorAntonioya <blendergit@gmail.com>
Thu, 29 Nov 2018 20:59:29 +0000 (21:59 +0100)
committerAntonioya <blendergit@gmail.com>
Thu, 29 Nov 2018 20:59:57 +0000 (21:59 +0100)
commit0487089c3146755dd7a19238cd9595744c5fee65
tree7caa96196fe8de6802acd27392c19211f16da31c
parent6cfed6d7756801ed2e10a82615da2b6a20f38d3b
Enable annotations when GP object is selected.

Now when try to add annotation, if a grease pencil object is selected, first the object is unselected. This solution is not perfect but it's better than cancel the annotation.

Thanks Dalai for his help.
source/blender/editors/gpencil/annotate_paint.c