Fix for bug #8410: dupliframes didn't render.

This commit is contained in:
Brecht Van Lommel 2008-03-03 17:16:29 +00:00
parent 13f70b8077
commit 27c9fb7c6b

@ -4389,7 +4389,7 @@ static int allow_render_object(Object *ob, int nolamps, int onlyselected, Object
if(!allow) if(!allow)
return 0; return 0;
} }
else if(ob->transflag & OB_DUPLI) else if((ob->transflag & OB_DUPLI) && !(ob->transflag & OB_DUPLIFRAMES))
return 0; return 0;
if(nolamps && (ob->type==OB_LAMP)) if(nolamps && (ob->type==OB_LAMP))