Page MenuHome

Added NlaStrip.fcurves.find(data_path, array_index=0)
ClosedPublic

Authored by Sybren A. Stüvel (sybren) on Jul 23 2015, 11:28 AM.

Details

Summary

This is the same as D1427 / 89e5c756665c1e7e622ddbd5deece0dda4ce7724
except for NlaStrip.fcurves instead of Action.fcurves. It makes finding
a specific fcurve in Python much easier, as you don't need a Python-side
loop any more.

Diff Detail

Repository
rB Blender
Branch
master

Event Timeline

Sybren A. Stüvel (sybren) retitled this revision from to Added NlaStrip.fcurves.find(data_path, array_index=0).
Sybren A. Stüvel (sybren) updated this object.

I've extended the D1427 demo file to include strip.fcurves.find(...):

Looks good :)

source/blender/makesrna/intern/rna_nla.c
478

It would be better to call this NlaStripFCurves, to avoid confusion with Sequencer strips

Sybren A. Stüvel (sybren) edited edge metadata.

strip -> NLA strip

Joshua Leung (aligorith) edited edge metadata.
This revision is now accepted and ready to land.Jul 23 2015, 2:48 PM
This revision was automatically updated to reflect the committed changes.