mirror of https://github.com/axmolengine/axmol.git
delete useless code
This commit is contained in:
parent
dae4385b61
commit
ee6253319a
|
@ -579,9 +579,6 @@ void BoneNode::visitSkins(cocos2d::Renderer* renderer, BoneNode* bone)
|
|||
_director->pushMatrix(cocos2d::MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW);
|
||||
_director->loadMatrix(cocos2d::MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW, bone->_modelViewTransform);
|
||||
|
||||
bool visibleByCamera = bone->isVisitableByVisitingCamera();
|
||||
|
||||
int i = 0;
|
||||
if (!bone->_boneSkins.empty())
|
||||
{
|
||||
bone->sortAllChildren();
|
||||
|
|
|
@ -161,11 +161,7 @@ void SkeletonNode::visit(cocos2d::Renderer *renderer, const cocos2d::Mat4& paren
|
|||
_director->pushMatrix(cocos2d::MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW);
|
||||
_director->loadMatrix(cocos2d::MATRIX_STACK_TYPE::MATRIX_STACK_MODELVIEW, _modelViewTransform);
|
||||
|
||||
bool visibleByCamera = isVisitableByVisitingCamera();
|
||||
|
||||
int i = 0;
|
||||
|
||||
|
||||
if (!_children.empty())
|
||||
{
|
||||
sortAllChildren();
|
||||
|
|
Loading…
Reference in New Issue