From 1f504f60310beccb1b5a4f72e93e05751bd4dcbb Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 31 Aug 2020 23:53:31 +0300 Subject: [PATCH] mayaegg: Fix animations not being created during egg traversal Closes #1004 --- pandatool/src/mayaegg/mayaEggLoader.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandatool/src/mayaegg/mayaEggLoader.cxx b/pandatool/src/mayaegg/mayaEggLoader.cxx index a60e5d2372..a6ec611d7a 100644 --- a/pandatool/src/mayaegg/mayaEggLoader.cxx +++ b/pandatool/src/mayaegg/mayaEggLoader.cxx @@ -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;