mirror of https://github.com/axmolengine/axmol.git
Modify actionnode
This commit is contained in:
parent
a2e873d12a
commit
3206727b9c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue