Browse Source

use transform_2d

David Rose 20 years ago
parent
commit
5f53420a10
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/mayaegg/mayaToEggConverter.cxx

+ 1 - 1
pandatool/src/mayaegg/mayaToEggConverter.cxx

@@ -2430,7 +2430,7 @@ apply_texture_properties(EggTexture &tex, const MayaShaderColorDef &color_def) {
   
   
   LMatrix3d mat = color_def.compute_texture_matrix();
   LMatrix3d mat = color_def.compute_texture_matrix();
   if (!mat.almost_equal(LMatrix3d::ident_mat())) {
   if (!mat.almost_equal(LMatrix3d::ident_mat())) {
-    tex.set_transform(mat);
+    tex.set_transform_2d(mat);
   }
   }
 }
 }