[Bf-blender-cvs] [0254219] master: Forgot to clean a line in last commit

Jens Verwiebe noreply at git.blender.org
Fri Mar 28 22:42:41 CET 2014


Commit: 025421950bfc11900ae86d1b4b71c8e894558dde
Author: Jens Verwiebe
Date:   Fri Mar 28 22:42:21 2014 +0100
https://developer.blender.org/rB025421950bfc11900ae86d1b4b71c8e894558dde

Forgot to clean a line in last commit

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 803869f..b2f76d7 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);




More information about the Bf-blender-cvs mailing list