diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-06-05 15:51:27 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-06-05 15:51:27 +0400 |
commit | 308b567e9c2c36ddb3e9571e4d064a8954f83607 (patch) | |
tree | 7dbe4d47936ad5b9ed381bc99a0db8d6fd6c2ccc /source/blender/editors/space_nla/nla_intern.h | |
parent | 5c21c176fa0a571f3ba47af8ad2c7906a5dc375f (diff) |
NLA SoC: NLA-Evaluation Bugfixes
* Fixed an evil bug where the last frame of a strip was always incorrectly evaluated.
This was because these frames were not being included in the strip's 'range' as defined by the IN_RANGE() testing macro, which only considers the given range as an open interval (i.e. non-inclusive of boundary points). I've added a new macro, IN_RANGE_INCL(), which is inclusive of boundary points, since this is a common test in many other parts of the code.
* When an AnimData block is in 'tweaking' mode, the tracks following (and including the active track) are now correctly skipped during evaluation.
* Finished coding the option of setting a single NLA-track per NLA-block to play 'solo' (i.e. only that track is enabled for evaluation).
To enable this, simply click on one of the grey 'dots' beside the NLA-track names, turning this dot yellow. The 'yellow' dot means that the track will play by itself (even the 'active action' gets silenced). Only one track per AnimData block can play solo at a time. To disable, simply click on the 'yellow' dot again.
NOTE: this currently uses the View3D layer-status icons. We probably need some special ones for these later (coloured vs grey star?)
* Also (not related to evaluation) made the selection operators for the NLA Editor only work when not in tweaking mode, since in tweaking mode they can potentially result in data being resolved inappropriately when leaving tweaking mode.
Diffstat (limited to 'source/blender/editors/space_nla/nla_intern.h')
-rw-r--r-- | source/blender/editors/space_nla/nla_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/nla_intern.h b/source/blender/editors/space_nla/nla_intern.h index a7188a7cccd..3d8cb7548c0 100644 --- a/source/blender/editors/space_nla/nla_intern.h +++ b/source/blender/editors/space_nla/nla_intern.h @@ -30,6 +30,9 @@ /* internal exports only */ +/* **************************************** */ +/* Macros, etc. only used by NLA */ + /* -------------- NLA Channel Defines -------------- */ /* NLA channel heights */ |