Fixes for GPencil Copy and Paste
authorJoshua Leung <aligorith@gmail.com>
Mon, 9 May 2016 07:41:48 +0000 (19:41 +1200)
committerJoshua Leung <aligorith@gmail.com>
Mon, 9 May 2016 07:42:34 +0000 (19:42 +1200)
commit3ce31633796cd1139cff96eaa4697d6d6f8ba10e
tree864dc4c3930c01460ee25faa3ee02b532d1693c8
parentd6555d936cb15c3d64836ca1446bfc7b065b4aa0
Fixes for GPencil Copy and Paste

* Fix "Attempt to free NULL pointer" when copying strokes for the first time

* Fix poll callback on "paste" operator, so that it is possible to paste
  strokes when there are no editable strokes visible.
source/blender/editors/gpencil/gpencil_edit.c