diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-06 01:13:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-06 01:14:25 +0400 |
commit | 39ad2cd8f8ae97f58f9ddbe7462b5249df4e4692 (patch) | |
tree | f18577e3b6e202496138c9e0bf6516aa8b63dd76 /source/blender/editors/space_view3d | |
parent | 0f91f56ce3e8bcb6d0600ffabf4ced53c02ca81f (diff) |
Fix lamps drawing only partially in OpenGL render.
It should draw lamps entirely, this happened due to hack to hide object centers.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 08c70992a64..5a7c6172472 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -7336,7 +7336,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short } else if ((dflag & DRAW_CONSTCOLOR) == 0) { /* we don't draw centers for duplicators and sets */ - if (U.obcenter_dia > 0) { + if (U.obcenter_dia > 0 && !(G.f & G_RENDER_OGL)) { /* check > 0 otherwise grease pencil can draw into the circle select which is annoying. */ drawcentercircle(v3d, rv3d, ob->obmat[3], do_draw_center, ob->id.lib || ob->id.us > 1); } |