delete useless code

This commit is contained in:
geron-cn 2015-08-05 23:07:42 +08:00
parent dae4385b61
commit ee6253319a
2 changed files with 0 additions and 7 deletions

View File

@ -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();

View File

@ -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();