2
0
cxgeorge 23 жил өмнө
parent
commit
4640563259

+ 1 - 1
pandatool/src/egg-palettize/textureImage.cxx

@@ -334,7 +334,7 @@ post_txa_file() {
     _properties._magfilter = _request._magfilter;
   }
 
-  _properties._anisotropic_degree = max(_request._anisotropic_degree, _properties._anisotropic_degree);
+  _properties._anisotropic_degree = _request._anisotropic_degree;
 
   if (_properties._color_type == (PNMFileType *)NULL) {
     _properties._color_type = _request._properties._color_type;

+ 1 - 1
pandatool/src/egg-palettize/textureProperties.cxx

@@ -188,7 +188,7 @@ update_properties(const TextureProperties &other) {
   _minfilter = union_filter(_minfilter, other._minfilter);
   _magfilter = union_filter(_magfilter, other._magfilter);
 
-  _anisotropic_degree = max(_anisotropic_degree, other._anisotropic_degree);
+  _anisotropic_degree = other._anisotropic_degree;
   printf("set aniso degree to %d\n",_anisotropic_degree);
 
   if (_color_type == (PNMFileType *)NULL) {