Răsfoiți Sursa

[cocos2dx] Fixed up reference to isAutoCullEnable().

badlogic 6 ani în urmă
părinte
comite
aab88a7a6f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);