== NLA Visibility Tweak ==

In a few cases, it may be helpful to turn off the 'only show objects that are
in visible scene layers in the nla' trick. By default though, this is still on. Find
the switch in the View menu of NLA editor.
This commit is contained in:
2007-01-17 03:24:21 +00:00
parent ffa0cfc9d9
commit a3c9ae8a88
3 changed files with 16 additions and 4 deletions

View File

@@ -761,7 +761,7 @@ int nla_filter (Base *base)
{
Object *ob = base->object;
if(base->lay & G.scene->lay) {
if ((G.snla->flag & SNLA_ALLKEYED) || (base->lay & G.scene->lay)) {
if(ob->action || ob->nlastrips.first)
return 1;