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:
authorJens Verwiebe <info@jensverwiebe.de>2014-03-29 01:42:21 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-03-29 01:42:21 +0400
commit025421950bfc11900ae86d1b4b71c8e894558dde (patch)
tree0b7ff2eee95a628ab780eeaea42a9416fa0de87e /source/blender
parent00a9e77259528d7e4d74101546e17a2396deac39 (diff)
Forgot to clean a line in last commit
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 803869fa505..b2f76d7ee3d 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -990,8 +990,7 @@ static float tex_strength(SculptSession *ss, Brush *br,
thread_num = 0;
#ifdef _OPENMP
- if (sd->flags & SCULPT_USE_OPENMP)
- thread_num = omp_get_thread_num();
+ thread_num = omp_get_thread_num();
#endif
avg = paint_get_tex_pixel(&br->mtex, x, y, ss->tex_pool, thread_num);