Explorar o código

[cocos2dx] Fixed up reference to isAutoCullEnable().

badlogic %!s(int64=6) %!d(string=hai) anos
pai
achega
aab88a7a6f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);