Projects > cpp > Issues > Bug #248

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

Create Issue on Github

crashed in CCSprite::setDisplayFrame

Bug #248 [Closed]
walzer@cocos2d-x.org 2010-12-09 18:29 . Updated over 12 years ago

read this thread http://www.cocos2d-x.org/boards/6/topics/113?r=115

The next code snippet crashes:

frames = CCAnimation::animationWithName("frames");
frames->addFrameWithFileName(...)
sprite->addAnimation(frames);
sprite->setDisplayFrame("frames", 0);

Platform: win32

walzer@cocos2d-x.org 2010-12-09 19:31
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:“07d66c1919c6f13b76ca044b99a66dd9512ffc9f”.

walzer@cocos2d-x.org 2010-12-09 20:11

Applied in changeset commit:“07d66c1919c6f13b76ca044b99a66dd9512ffc9f”.

walzer@cocos2d-x.org 2010-12-09 21:24

Applied in changeset commit:“07d66c1919c6f13b76ca044b99a66dd9512ffc9f”.

walzer@cocos2d-x.org 2010-12-09 22:03

Applied in changeset commit:“07d66c1919c6f13b76ca044b99a66dd9512ffc9f”.

walzer@cocos2d-x.org 2010-12-11 01:49
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:18
  • Project changed from cocos2d-x to cpp
  • Target version deleted (cocos2d-0.99.4-x-0.7.1)

Atom PDF

Status:Closed
Start date:2010-12-09
Priority:Normal
Due date:
Assignee:walzer@cocos2d-x.org
% Done:

100%

Category:-
Target version:-