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:
parent
f3fac33688
commit
d875386b06
|
@ -95,7 +95,6 @@ enum {
|
|||
CTX_DATA_VISIBLE_BONES,
|
||||
CTX_DATA_EDITABLE_BONES,
|
||||
CTX_DATA_VISIBLE_PCHANS,
|
||||
CTX_DATA_EDITABLE_PCHANS,
|
||||
};
|
||||
|
||||
typedef int bContextDataMember;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue