Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-02 21:40:39 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-02 21:40:39 +0400
commit3c3c2cd53c3aa08d091ada93d337d6b99a546b08 (patch)
tree8d6f3d1ac47fbc708c9fbd83a5c7b5fb83315583 /source/blender/editors
parenta89ef76136b8a529e1a4755a8b411da93ed81651 (diff)
Fix issue with texture painting: Tex slot scale was being applied twice.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/paint_cursor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c
index 07993db7ae4..1a5ccc8f8bd 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -238,12 +238,6 @@ static int load_tex(Brush *br, ViewContext *vc, float zoom, bool col, bool prima
y = len * sinf(angle);
}
- x *= mtex->size[0];
- y *= mtex->size[1];
-
- x += mtex->ofs[0];
- y += mtex->ofs[1];
-
if (col) {
float rgba[4];