diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-06-26 18:50:19 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-06-26 18:50:19 +0400 |
commit | 10d775df3d31ce7622ebb74ed7276cff5f1ffe90 (patch) | |
tree | 6c3601d01071009d5593eaf67b279fbcc658cd84 /source/blender/collada/ArmatureImporter.h | |
parent | 5663d85e563f3d6cba8c08982b7899bb2569411f (diff) |
AnimChannels Filtering Refactor - Part 4
This commit is aimed at cleaning up the filtering code by changing the
filtering idiom/pattern used. While the old code used a "check then
do" approach, the new code does a "grab then assimilate".
The main benefits are that:
* the code duplication that used to exist has now been removed, making
it easier to add new channel types for data
* a recursive "peeking" ability now means that the old problems with
data existing deep in the tree (i.e. figuring out whether a channel
should be shown based on whether it will have any descendents) should
now work much better than before.
In the process, I've found and fixed a few previously unnoticed bugs
with how some channels were constructed, so hopefully things work a
bit better now.
TODO's:
* Action-Group filtering stuff hasn't been refactored yet. This was
causing some grief in the past, so I still need to check this
carefully.
* Material Nodes support (missing in trunk) should be easy to slot in
now :)
Diffstat (limited to 'source/blender/collada/ArmatureImporter.h')
0 files changed, 0 insertions, 0 deletions