diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-20 22:39:18 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-20 22:39:18 +0300 |
commit | b0b310e65d0851e87272caeb7cf6fb0119212a44 (patch) | |
tree | 527a3c8214d96f1ffb45d71c251d224df5efacc0 /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | c1b76285eef7ab907431c7a539df4b91d969f69e (diff) |
Cleanup: remove remainings of OMP in sculptpaint area.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index 5d9afb18bdf..27025280b4c 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -156,7 +156,7 @@ static int mask_flood_fill_exec(bContext *C, wmOperator *op) BLI_task_parallel_range( 0, totnode, &data, mask_flood_fill_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT)); + ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_THREADED_LIMIT)); if (multires) multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED); @@ -300,7 +300,7 @@ int ED_sculpt_mask_box_select(struct bContext *C, ViewContext *vc, const rcti *r BLI_task_parallel_range( 0, totnode, &data, mask_box_select_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT)); + ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_THREADED_LIMIT)); if (nodes) MEM_freeN(nodes); @@ -480,7 +480,7 @@ static int paint_mask_gesture_lasso_exec(bContext *C, wmOperator *op) BLI_task_parallel_range( 0, totnode, &data, mask_gesture_lasso_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && (totnode > SCULPT_OMP_LIMIT))); + ((sd->flags & SCULPT_USE_OPENMP) && (totnode > SCULPT_THREADED_LIMIT))); if (nodes) MEM_freeN(nodes); |