mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cocos2dx] Fixed up reference to isAutoCullEnable().
This commit is contained in:
parent
b648d3af99
commit
aab88a7a6f
@ -129,7 +129,7 @@ SkeletonAnimation::~SkeletonAnimation () {
|
||||
}
|
||||
|
||||
void SkeletonAnimation::update (float deltaTime) {
|
||||
if (_updateOnlyIfVisible && (isAutoCulled() || !isVisible())) return;
|
||||
if (_updateOnlyIfVisible && !isVisible()) return;
|
||||
|
||||
super::update(deltaTime);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user