[Bf-python] Timeline.marks

Toni Alatalo antont at kyperjokki.fi
Tue Nov 15 13:50:29 CET 2005


On Thursday 27 October 2005 15:25, Toni Alatalo wrote:
> On Wednesday 26 October 2005 15:23, Toni Alatalo wrote:
> > marks = [(frame, name) for frame, name in tl.iteritems()
> >                 if name[:len(prefix)] == prefix]
> this is still flawed: there can be several markers at the same time.
> currently the API returns only one per frame.

this issue is unresolved still right?

better settle somehow before the 2.40 API is frozen..

~Toni

> so perhaps it should return a dict where framenums are mapped to lists of
> markers/names?
>
> internally it is the other way around, that there is just a list of markers
> which have framenums assigned, but perhaps this way is better for the
> api..?
>
> ~Toni
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python



More information about the Bf-python mailing list