diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh b/source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh index 76f4a7bbdc5..902fd7515e4 100644 --- a/source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh +++ b/source/blender/editors/sculpt_paint/sculpt_texture_paint_intern.hh @@ -41,13 +41,12 @@ struct PixelsPackage { }; struct Pixel { + /** object local position of the pixel on the surface. */ float3 pos; - float2 uv; Pixel &operator+=(const Pixel &other) { pos += other.pos; - uv += other.uv; return *this; } @@ -55,7 +54,6 @@ struct Pixel { { Pixel result; result.pos = pos - other.pos; - result.uv = uv - other.uv; return result; } }; |