Browse Source

fix for case of temp-hpr-fix 1

David Rose 21 years ago
parent
commit
1489a9304f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pandatool/src/softegg/softNodeDesc.cxx

+ 4 - 2
pandatool/src/softegg/softNodeDesc.cxx

@@ -554,8 +554,10 @@ get_joint_transform(SAA_Scene *scene,  EggGroup *egg_group, EggXfmSAnim *anim, b
     softegg_cat.spam() << "\t" << p << " " << h << " " << r << endl;
     softegg_cat.spam() << "\t" << x << " " << y << " " << z << endl;
 
-    // make sure the ordering is correct
-    anim->set_order(anim->get_standard_order());
+    // Encode the component multiplication ordering in the egg file.
+    // SoftImage always uses this order, regardless of the setting of
+    // temp-hpr-fix.
+    anim->set_order("sphrt");
 
     // Add each component by their names
     anim->add_component_data("i", i);