Modify actionnode

This commit is contained in:
CaiWenzhi 2013-12-26 17:01:31 +08:00
parent a2e873d12a
commit 3206727b9c
1 changed files with 1 additions and 5 deletions

View File

@ -151,10 +151,6 @@ void ActionNode::initActionNodeFromRoot(Object* root)
{
Node* rootNode = dynamic_cast<Node*>(root);
if (rootNode != NULL)
{
log("Need a definition of <initActionNodeFromRoot> for gameObject");
}
else
{
Widget* rootWidget = dynamic_cast<Widget*>(root);
if (rootWidget != NULL)
@ -165,7 +161,7 @@ void ActionNode::initActionNodeFromRoot(Object* root)
setObject(widget);
}
}
}
}
}
void ActionNode::setUnitTime(float fTime)