From bcba0f64212863c5e32063b317d2bcacebf396c2 Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Wed, 26 Nov 2003 19:30:12 +0000 Subject: [PATCH] matched the same vRepeat condition to texture repeat/clamp as the original soft2egg --- pandatool/src/softegg/softToEggConverter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandatool/src/softegg/softToEggConverter.cxx b/pandatool/src/softegg/softToEggConverter.cxx index 7df5f94f24..46999d7681 100755 --- a/pandatool/src/softegg/softToEggConverter.cxx +++ b/pandatool/src/softegg/softToEggConverter.cxx @@ -2024,7 +2024,7 @@ apply_texture_properties(EggTexture &tex, int uRepeat, int vRepeat) { tex.set_magfilter(EggTexture::FT_linear); EggTexture::WrapMode wrap_u = uRepeat > 0 ? EggTexture::WM_repeat : EggTexture::WM_clamp; - EggTexture::WrapMode wrap_v = vRepeat > 0 ? EggTexture::WM_repeat : EggTexture::WM_clamp; + EggTexture::WrapMode wrap_v = vRepeat > 1 ? EggTexture::WM_repeat : EggTexture::WM_clamp; tex.set_wrap_u(wrap_u); tex.set_wrap_v(wrap_v);