Fix for bug #8267: vector blur results in horizontal lines.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 17 Feb 2008 20:36:13 +0000 (20:36 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 17 Feb 2008 20:36:13 +0000 (20:36 +0000)
commit601c7cc318df35fc57d7c18428114a0d59bc73d1
tree6ae3b5f688364bfa1d08b4f26e31783340a3722e
parent5163811290e6f9dbe1b4d4e9b5910fd3fae58e2c
Fix for bug #8267: vector blur results in horizontal lines.

Vector blur was averaging z-values between pixels, which could give
wrong z-test results. While averaging is needed for speed vectors
to avoid holes, for z-values it is not required and not doing it
seems to avoid artifacts in specific cases.
source/blender/render/intern/source/zbuf.c