diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-12 04:17:13 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-12 04:17:13 +0300 |
commit | 610a759ecc6e1070eb5e8b4fb5ae63d01d645554 (patch) | |
tree | 253c1c085c67548efeee7a07bc87153cd43febba /source/blender/makesrna/intern/rna_armature.c | |
parent | 144fb8ed1f43a83472270d4bdece36a2911188c1 (diff) |
Patch [#24763] NLA Track & Strip methods
Submitted by: Dan Eicher (dna)
<quote>
Adds:
AnimData.nla_tracks.new(prev)
* (optional) prev -- add new track after this track
AnimData.nla_tracks.remove(track)
AnimData.nla_tracks.active(track)
* (optional) track -- track to set active
* returns active track
NlaTrack.strips.new(name, start, action)
NOTE: fails if the strip can't fit in the track as opposed to the
operator which will create a new track and add the strip to that.
* name -- name for new strip
* start -- start frame of new strip
* action -- action to assign to strip
NlaTrack.strips.remove(strip)
</quote>
---
I've resolved the issue (noted in the original patch) regarding the
validation of the created strip by creating and using a "dummy
AnimData" block to solve the missing dependencies.
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
0 files changed, 0 insertions, 0 deletions