Browse Source

fixes a bug where transforms were not being reset between files

Chris Brunner 16 years ago
parent
commit
9e6bab46ab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pandatool/src/mayaprogs/mayaToEgg_server.cxx

+ 2 - 0
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 = "";