forked from bartvdbraak/blender
Fix T40543: Duplicators draw with 'Render Only'
This commit is contained in:
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) {
|
||||
return;
|
||||
}
|
||||
else if ((ob->restrictflag & OB_RESTRICT_RENDER) && render_override) {
|
||||
else if (render_override && ((ob->restrictflag & OB_RESTRICT_RENDER) ||
|
||||
(ob->transflag & OB_DUPLI)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user