From 1da7ef121e00fbf1bcf61b1c61cad2f8bdc127e6 Mon Sep 17 00:00:00 2001 From: lvlong Date: Thu, 2 Apr 2015 09:33:48 +0800 Subject: [PATCH] _aabbDirty = true --- cocos/3d/CCSprite3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/3d/CCSprite3D.cpp b/cocos/3d/CCSprite3D.cpp index 49cc87bf89..3297b64b6a 100644 --- a/cocos/3d/CCSprite3D.cpp +++ b/cocos/3d/CCSprite3D.cpp @@ -241,7 +241,7 @@ bool Sprite3D::loadFromFile(const std::string& path, NodeDatas* nodedatas, MeshD Sprite3D::Sprite3D() : _skeleton(nullptr) , _blend(BlendFunc::ALPHA_NON_PREMULTIPLIED) -, _aabbDirty(false) +, _aabbDirty(true) , _lightMask(-1) , _shaderUsingLight(false) {