소스 검색

[cocos2dx] Fixed up reference to isAutoCullEnable().

badlogic 6 년 전
부모
커밋
aab88a7a6f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      spine-cocos2dx/src/spine/SkeletonAnimation.cpp

+ 1 - 1
spine-cocos2dx/src/spine/SkeletonAnimation.cpp

@@ -129,7 +129,7 @@ SkeletonAnimation::~SkeletonAnimation () {
 }
 
 void SkeletonAnimation::update (float deltaTime) {
-	if (_updateOnlyIfVisible && (isAutoCulled() || !isVisible())) return;
+	if (_updateOnlyIfVisible && !isVisible()) return;
 
 	super::update(deltaTime);