diff --git a/pandatool/src/egg-palettize/textureImage.cxx b/pandatool/src/egg-palettize/textureImage.cxx index 71919ed08e..b40fa25d16 100644 --- a/pandatool/src/egg-palettize/textureImage.cxx +++ b/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; diff --git a/pandatool/src/egg-palettize/textureProperties.cxx b/pandatool/src/egg-palettize/textureProperties.cxx index 3564c7cd1d..148a9768de 100644 --- a/pandatool/src/egg-palettize/textureProperties.cxx +++ b/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) {