# HG changeset patch # User helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1276778292 0 # Node ID 5987f78a2364995c037163e675426d3d3c3fd54f # Parent 718e154a43c84bd840a29ca4f33a8b969755c6ff * setVisible() should work again. The fix is a bit hacky but works for the moment. fixes [ticket:471] diff -r 718e154a43c8 -r 5987f78a2364 engine/core/view/renderers/instancerenderer.cpp --- a/engine/core/view/renderers/instancerenderer.cpp Wed Jun 16 16:07:20 2010 +0000 +++ b/engine/core/view/renderers/instancerenderer.cpp Thu Jun 17 12:38:12 2010 +0000 @@ -126,6 +126,10 @@ InstanceVisual* visual = instance->getVisual(); RenderItem& vc = **instance_it; unsigned char trans = visual->getTransparency(); + bool visible = visual->isVisible(); + + if(!visible) + continue; /** * the instance transparency value take precedence. If it's 0 use the layer trans