mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[cocos2dx] Temporarily enable culling by default.
This commit is contained in:
parent
727b3866d3
commit
e5b88aa4c0
@ -274,7 +274,7 @@ namespace spine {
|
||||
const cocos2d::Rect brect = computeBoundingRect(worldCoords, coordCount / 2);
|
||||
_boundingRect = brect;
|
||||
|
||||
const bool autoCullingEnable = cocos2d::Director::getInstance()->isAutoCullingEnable();
|
||||
const bool autoCullingEnable = true;
|
||||
if (autoCullingEnable && camera && cullRectangle(transform, brect, *camera))
|
||||
{
|
||||
VLA_FREE(worldCoords);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user