[Bf-committers] Can't copy Greasepencil datablock

Joshua Leung aligorith at gmail.com
Tue Feb 10 10:55:33 CET 2015


Ah... so it was you who was asking about this!

I ran across the root cause the other day while checking on some unrelated
stuff but couldn't find this email to confirm whether it was in fact what
you were asking about. :)

On Tue, Feb 10, 2015 at 10:37 PM, Thomas Volkmann <lists at thomasvolkmann.com>
wrote:

> Ok, it is not implemented. So the documentation in the SDK is wrong.
> Can someone please implement it? I would do it myself, but it it beyond my
> skillset. I try to script a greasepencil addon, but not being able to copy
> a
> datablock just makes it impossible.
>
> Thanks
>
>
> > Thomas Volkmann <lists at thomasvolkmann.com> hat am 6. Februar 2015 um
> 14:16
> > geschrieben:
> >
> >
> > Hi,
> >
> > I try to create a copy af a Greasepencil datablock, but without success.
> In
> > the
> > API it says that GreasePencil is inheriting ID.copy(), but that doesn't
> work
> > for
> > me.
> >
> http://www.blender.org/api/blender_python_api_2_73a_release/bpy.types.GreasePencil.html
> >
> > Also at ID.copy() it says: Create a copy of this datablock (not
> supported for
> > all datablocks) ...is that the case? How can I see wich datablocks are
> not
> > supported?
> >
> > Thanks,
> > Thomas
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list