Projects > cpp > Issues > Bug #698

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

Create Issue on Github

CCSprite::init() is excuted twice in all CCSprite's static methods

Bug #698 [Closed]
zhangxm 2011-08-28 19:08 . Updated over 4 years ago

CCSprite::init() should be virtual, so the inherited from it can override it.

zhangxm 2011-08-28 19:42
  • Status changed from New to In Progress
  • Assignee set to zhangxm
zhangxm 2011-08-28 20:36
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:06d33e1dfb159b0d0bd257b6416e85301237960f.

zhangxm 2011-08-28 20:36

Applied in changeset commit:41d51217d7842e771bcb7df2438e017cbbda6c95.

walzer@cocos2d-x.org 2011-08-29 01:31
  • Subject changed from CCSPrite::init() is excued twice in all CCSprite's static method to CCSprite::init() is excued twice in all CCSprite's static method
walzer@cocos2d-x.org 2011-08-29 01:32
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2011-10-20 01:09
  • Subject changed from CCSprite::init() is excued twice in all CCSprite's static method to CCSprite::init() is excuted twice in all CCSprite's static methods
walzer@cocos2d-x.org 2012-05-25 08:02
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.9.2)

Atom PDF

Status:Closed
Start date:2011-08-28
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:-
Target version:-

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