m_bIgnoreAnchorPointForPosition

I have seen the comment—“//”whole screen" objects. like Scenes and Layers, should set m_bIgnoreAnchorPointForPosition to false, m_bIgnoreAnchorPointForPosition(false)" in CCNode.cpp. But i find m_bIgnoreAnchorPointForPosition is set to true in CCLayer’s constructor. why set m_bIgnoreAnchorPointForPosition to true since the document suggests false?

I’m confused with following codes:
@
if (m_bIgnoreAnchorPointForPosition)
{
x = m_tAnchorPointInPoints.x;
y
= m_tAnchorPointInPoints.y;
}
@
I think we should change the name of m_bIgnoreAnchorPointForPosition to m_bNeedAnchorPointForPosition if we add the anchor point’s position to x,y.

And now, i am confused with m_bIgnoreAnchorPointForPosition. what’s the function of m_bIgnoreAnchorPointForPosition?

Is there anybody can help me?

I suppose the comment is typing error. It should be like this:// “whole screen” objects. like Scenes and Layers, should set m_bIgnoreAnchorPointForPosition to true.