Merge pull request #10904 from pipu/fixed_widget_reader_actiontag

Optimize parse action tag for node and widget.
This commit is contained in:
minggo 2015-03-17 14:18:22 +08:00
commit aa573a9553
2 changed files with 0 additions and 3 deletions

View File

@ -512,7 +512,6 @@ namespace cocostudio
node->setColor(color);
node->setTag(tag);
node->setUserObject(timeline::ActionTimelineData::create(actionTag));
ObjectExtensionData* extensionData = ObjectExtensionData::create();
extensionData->setCustomProperty(customProperty);

View File

@ -799,8 +799,6 @@ namespace cocostudio
extensionData->setActionTag(actionTag);
node->setUserObject(extensionData);
widget->setUserObject(timeline::ActionTimelineData::create(actionTag));
bool touchEnabled = options->touchEnabled() != 0;
widget->setTouchEnabled(touchEnabled);