diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-09 09:55:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-09 09:55:18 +0400 |
commit | 04c2e5d5931976a7029b4dcc8d8e745a0cb8d85a (patch) | |
tree | 367e6ae39150554e449b21331f11ba96d729425c /source/blender/editors/space_view3d/drawobject.c | |
parent | c04c6a3b8330901c12dc8c1695818497efa785cd (diff) |
Fix T40543: Duplicators draw with 'Render Only'
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 2f3c416d335..0510ecda70b 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -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; } } |