Эх сурвалжийг харах

[cocos2dx] Fixed up reference to isAutoCullEnable().

badlogic 6 жил өмнө
parent
commit
aab88a7a6f

+ 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);