[dispatcher] Comments self->setTouchPriority. Need to be fixed.

This commit is contained in:
James Chen 2013-09-12 21:12:20 +08:00
parent 57b0a66bda
commit 3605fce2e3
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ static int tolua_cocos2d_Layer_registerScriptTouchHandler(lua_State* tolua_S)
if (!isMultiTouches)
touchesMode = Touch::DispatchMode::ONE_BY_ONE;
self->setTouchMode(touchesMode);
self->setTouchPriority(priority);
// self->setTouchPriority(priority);
self->setSwallowsTouches(swallowTouches);
ScriptHandlerMgr::getInstance()->addObjectHandler((void*)self, handler, ScriptHandlerMgr::HandlerType::TOUCHES);
return 0;