mirror of https://github.com/axmolengine/axmol.git
adjust comment message
This commit is contained in:
parent
5475a0fc02
commit
231cdcb906
|
@ -211,7 +211,7 @@ void ClippingNode::visit(Renderer *renderer, const Matrix &parentTransform, bool
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -1139,7 +1139,7 @@ void Label::visit(Renderer *renderer, const Matrix &parentTransform, bool parent
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -950,7 +950,7 @@ void Node::visit(Renderer* renderer, const Matrix &parentTransform, bool parentT
|
|||
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -100,7 +100,7 @@ void NodeGrid::visit(Renderer *renderer, const Matrix &parentTransform, bool par
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -140,7 +140,7 @@ void ParticleBatchNode::visit(Renderer *renderer, const Matrix &parentTransform,
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -401,7 +401,7 @@ void RenderTexture::visit(Renderer *renderer, const Matrix &parentTransform, boo
|
|||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
director->pushMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW);
|
||||
director->loadMatrix(MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW, _modelViewTransform);
|
||||
|
|
|
@ -155,7 +155,7 @@ void SpriteBatchNode::visit(Renderer *renderer, const Matrix &parentTransform, b
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -459,7 +459,7 @@ void Armature::visit(cocos2d::Renderer *renderer, const Matrix &parentTransform,
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -115,7 +115,7 @@ void BatchNode::visit(Renderer *renderer, const Matrix &parentTransform, bool pa
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -287,7 +287,7 @@ void ProtectedNode::visit(Renderer* renderer, const Matrix &parentTransform, boo
|
|||
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -755,7 +755,7 @@ void Layout::stencilClippingVisit(Renderer *renderer, const Matrix &parentTransf
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
|
@ -567,7 +567,7 @@ void ScrollView::visit(Renderer *renderer, const Matrix &parentTransform, bool p
|
|||
_transformUpdated = false;
|
||||
|
||||
// IMPORTANT:
|
||||
// To ease the migration to v3.0, we still support the kmMat4 stack,
|
||||
// To ease the migration to v3.0, we still support the Matrix stack,
|
||||
// but it is deprecated and your code should not rely on it
|
||||
Director* director = Director::getInstance();
|
||||
CCASSERT(nullptr != director, "Director is null when seting matrix stack");
|
||||
|
|
Loading…
Reference in New Issue