Projects > cpp > Issues > Bug #467

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

Create Issue on Github

CCLayer:m_eTouchDelegateType = ccTouchDeletateAllBit all the time

Bug #467 [Closed]
walzer@cocos2d-x.org 2011-04-24 00:11 . Updated almost 13 years ago

read this post: http://www.cocos2d-x.org/boards/7/topics/1275?r=1278
CCLayer:m_eTouchDelegateType = ccTouchDeletateAllBit all the time, which makes an error logic if adding standard touch delegate at CCTouchDispatcher::m_tLock = ture. It happens when you try to add a new standard touch delegate in a touch event.

TouchLayer.zip (169 kB) walzer@cocos2d-x.org, 2011-04-24 00:47

walzer@cocos2d-x.org 2011-04-24 00:47

It’s fixed at https://github.com/cocos2d/cocos2d-x/commit/f9e3a92aa92aae1e0078e722eb8957889b74b25d
TouchLayer.zip is a simple test written for this bug, before build and run, you need to copy the lastest cocos2dx & CocosDenshion into TouchLayer/libs/ folder.

walzer@cocos2d-x.org 2011-04-24 02:43
  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:f9e3a92aa92aae1e0078e722eb8957889b74b25d.

walzer@cocos2d-x.org 2011-05-02 19:48
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2012-05-25 08:11
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-0.99.5-x-0.8.3)

Atom PDF

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

100%

Category:-
Target version:-