Merge pull request #6859 from andyque/fixLayoutVisit

issue #5183, fix Layout visit issue
This commit is contained in:
minggo 2014-05-21 15:24:00 +08:00
commit 017b738f21
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ bool Layout::isClippingEnabled()
void Layout::visit(Renderer *renderer, const Mat4 &parentTransform, bool parentTransformUpdated)
{
if (!_enabled)
if (!_visible)
{
return;
}