Commit: d12f6a90b19084fa0ab1689a01b11a7b6cfa1cca Author: Clément Foucault Date: Wed Jun 10 13:36:34 2020 +0200 Branches: master https://developer.blender.org/rBd12f6a90b19084fa0ab1689a01b11a7b6cfa1cca
Fix T77599 Image UV editor use linear interpolation =================================================================== M source/blender/editors/screen/glutil.c =================================================================== diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index a9380debbdc..8df1172dda1 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -147,6 +147,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state, glPixelStorei(GL_UNPACK_ROW_LENGTH, img_w); glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, texid); + glBindSampler(0, 0); /* don't want nasty border artifacts */ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
