You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cocos/2d/CCScene.h
+6-6
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ class CC_DLL Scene : public Node
156
156
157
157
std::vector<Camera*> _cameras; //weak ref to Camera
158
158
Camera* _defaultCamera; //weak ref, default camera created by scene, _cameras[0], Caution that the default camera can not be added to _cameras before onEnter is called
159
-
bool _cameraOrderDirty; // order is dirty, need sort
159
+
bool _cameraOrderDirty = true; // order is dirty, need sort
160
160
EventListenerCustom* _event;
161
161
162
162
std::vector<BaseLight *> _lights;
@@ -201,12 +201,12 @@ class CC_DLL Scene : public Node
0 commit comments