diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-09 07:18:18 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-09 07:18:18 +0300 |
commit | c7a7aee004d96d3502d8246d9bf78f34a6dd5a0b (patch) | |
tree | 1782c18ffd129f9ba6d9d201fe6dd91050cf1587 /source/blender/render/intern/texture_margin.cc | |
parent | eab988c9f68c122b63ca5fd27bc251c1bb8a2da1 (diff) |
Cleanup: use own username in code-comment tags
Diffstat (limited to 'source/blender/render/intern/texture_margin.cc')
-rw-r--r-- | source/blender/render/intern/texture_margin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/texture_margin.cc b/source/blender/render/intern/texture_margin.cc index 37ef9213615..92146155437 100644 --- a/source/blender/render/intern/texture_margin.cc +++ b/source/blender/render/intern/texture_margin.cc @@ -558,8 +558,8 @@ static void generate_margin(ImBuf *ibuf, for (int a = 0; a < 3; a++) { const float *uv = mloopuv[lt->tri[a]].uv; - /* NOTE(campbell): workaround for pixel aligned UVs which are common and can screw up our - * intersection tests where a pixel gets in between 2 faces or the middle of a quad, + /* NOTE(@campbellbarton): workaround for pixel aligned UVs which are common and can screw up + * our intersection tests where a pixel gets in between 2 faces or the middle of a quad, * camera aligned quads also have this problem but they are less common. * Add a small offset to the UVs, fixes bug T18685. */ vec[a][0] = (uv[0] - uv_offset[0]) * (float)ibuf->x - (0.5f + 0.001f); |