mayaegg: Fix animations not being created during egg traversal

Closes #1004
This commit is contained in:
Daniel 2020-08-31 23:53:31 +03:00 committed by rdb
parent fcfe3206eb
commit 1f504f6031

View File

@ -1572,7 +1572,8 @@ void MayaEggLoader::TraverseEggNode(EggNode *node, EggGroup *context, string del
mayaloader_cat.debug() << delim+delstring << "found an EggTable: " << node->get_name() << endl;
}
} else if (node->is_of_type(EggXfmSAnim::get_class_type())) {
//MayaAnim *anim = GetAnim(DCAST(EggXfmSAnim, node));
// Create a MayaAnim equivalent of the EggXfmSAnim
GetAnim(DCAST(EggXfmSAnim, node));
//anim->PrintData();
if (mayaloader_cat.is_debug()) {
mayaloader_cat.debug() << delim+delstring << "found an EggXfmSAnim: " << node->get_name() << endl;