diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-08 13:27:10 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-08 13:27:10 +0300 |
commit | 23c070dd41138cc973e8e64f87dfa3c9eb629939 (patch) | |
tree | 8a926e99ddc6f716627a647f6676e4706b038c29 /source/blender/editors/space_nla | |
parent | 7f3e8b6da8e03e9cb3c47ce8eef92e532a86eed5 (diff) |
Small assorted harmless code cleanup tweaks before a round of cleanups aimed at fixing a few bugs in animation editor filtering.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c index 3d20cfe54ba..885521fe8c0 100644 --- a/source/blender/editors/space_nla/nla_channels.c +++ b/source/blender/editors/space_nla/nla_channels.c @@ -279,7 +279,7 @@ static int mouse_nla_channels (bAnimContext *ac, float x, int channel_index, sho break; case ANIMTYPE_NLAACTION: { - AnimData *adt= BKE_animdata_from_id(ale->owner); /* this won't crash, right? */ + AnimData *adt= BKE_animdata_from_id(ale->id); if (x >= (v2d->cur.xmax-NLACHANNEL_BUTTON_WIDTH)) { if (nlaedit_is_tweakmode_on(ac) == 0) { |