2.5 Bugfixes:

* Removed unnecessary define for context loop (editable posechannels)

* Fixed crash in animation-channel filtering - missing check for no world animation.
This commit is contained in:
Joshua Leung 2009-02-14 07:52:25 +00:00
parent f3fac33688
commit d875386b06
2 changed files with 1 additions and 2 deletions

View File

@ -95,7 +95,6 @@ enum {
CTX_DATA_VISIBLE_BONES,
CTX_DATA_EDITABLE_BONES,
CTX_DATA_VISIBLE_PCHANS,
CTX_DATA_EDITABLE_PCHANS,
};
typedef int bContextDataMember;

View File

@ -1094,7 +1094,7 @@ static int animdata_filter_dopesheet_scene (ListBase *anim_data, bDopeSheet *ads
}
/* world */
if ((wo) && !(ads->filterflag & ADS_FILTER_NOWOR)) {
if ((wo && wo->adt) && !(ads->filterflag & ADS_FILTER_NOWOR)) {
/* Animation or Drivers */
if ((ads->filterflag & ADS_FILTER_ONLYDRIVERS) == 0) {
AnimData *adt= wo->adt;