X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Foverlay.cpp;h=39428a166d57ff4f622521b21471d9b9092e9eab;hb=dc3b2bce73df40ea885a1960a825e5cd3a33c045;hp=3f2d621d6b8aade208f8517488a0f3585f2117fc;hpb=3b3099eb9e6d14e2a0495ea78144a734a102112f;p=r2c2.git diff --git a/source/3d/overlay.cpp b/source/3d/overlay.cpp index 3f2d621..39428a1 100644 --- a/source/3d/overlay.cpp +++ b/source/3d/overlay.cpp @@ -98,6 +98,9 @@ void Overlay3D::render(const GL::Tag &tag) const for(map::const_iterator i=icons.begin(); i!=icons.end(); ++i) { + if(!i->first->is_visible()) + continue; + const Icon &icon = *i->second; Point node = i->first->get_node();