From 9e6bab46abdfe4632f1b694c4640e1cf1a00afe3 Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Wed, 10 Feb 2010 23:06:59 +0000 Subject: [PATCH] fixes a bug where transforms were not being reset between files --- pandatool/src/mayaprogs/mayaToEgg_server.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandatool/src/mayaprogs/mayaToEgg_server.cxx b/pandatool/src/mayaprogs/mayaToEgg_server.cxx index 757937203a..b70fd0e33d 100755 --- a/pandatool/src/mayaprogs/mayaToEgg_server.cxx +++ b/pandatool/src/mayaprogs/mayaToEgg_server.cxx @@ -295,6 +295,8 @@ run() { _excludes.clear(); _ignore_sliders.clear(); _force_joints.clear(); + _got_transform = false; + _transform = LMatrix4d::ident_mat(); _data->clear(); _animation_convert = AC_none; _character_name = "";