Fix T40543: Duplicators draw with 'Render Only'

This commit is contained in:
Campbell Barton 2014-06-09 15:55:18 +10:00
parent c04c6a3b83
commit 04c2e5d593

@ -6924,7 +6924,9 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short
if (ob->restrictflag & OB_RESTRICT_VIEW) { if (ob->restrictflag & OB_RESTRICT_VIEW) {
return; return;
} }
else if ((ob->restrictflag & OB_RESTRICT_RENDER) && render_override) { else if (render_override && ((ob->restrictflag & OB_RESTRICT_RENDER) ||
(ob->transflag & OB_DUPLI)))
{
return; return;
} }
} }