Projects > cpp > Issues > Bug #573

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCLayerColor does not init its m_tColor, which will show random color

Bug #573 [Closed]
walzer@cocos2d-x.org 2011-07-04 23:30 . Updated about 2 years ago

CCLayerColor does not init m_tColor member in the constructor, it will cause a random color in this case.

(慎用CCLayerColor,其背景色值没有初始化,如果没有设置颜色,会产生随机图像。如果不需要纯色背景,直接用CCLAYER或者别的)

Reported by ND

walzer@cocos2d-x.org 2011-07-05 01:06
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:d6ab8568c580b3d5e1a0e9013585b97e7084c03a.

walzer@cocos2d-x.org 2011-07-11 18:43
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:10
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.0-x-0.9.0)
ionliga 2014-11-28 14:52

The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received

Pokerstar88.com Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Olb365.com Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya | Jasa SEO | Agen Sbobet

Atom PDF

Status:Closed
Start date:2011-07-04
Priority:Normal
Due date:
Assignee:walzer@cocos2d-x.org
% Done:

100%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.