Unable to give a layer group as a parameter to a python script
Submitted by Ofnuts
Link to original bug (#783742)
Description
Trying to pass a layer group as a PF_DRAWABLE argument (as the usual default active layer or as a supplementary argument) elicits:
TypeError: can't pickle GroupLayer objects
I have encountered this problem in two different scripts that used to work (for instance;: http://registry.gimp.org/node/26996)
It seems this is a regression in 2.8.18 or 2.8.20.
Version: 2.8.22