mirror of https://github.com/axmolengine/axmol.git
fix a logical bug in CCRenderTExture
This commit is contained in:
parent
7d4ca88deb
commit
14dbe091c8
|
@ -492,7 +492,7 @@ void CCRenderTexture::visit()
|
|||
{
|
||||
// override visit.
|
||||
// Don't call visit on its children
|
||||
if (m_bVisible)
|
||||
if (!m_bVisible)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue