[Bf-blender-cvs] [f903835370b] master: Fix Windows Build

Pablo Dobarro noreply at git.blender.org
Thu Nov 21 20:19:01 CET 2019


Commit: f903835370bca79a7a0a287f6246b2d107fbe6d9
Author: Pablo Dobarro
Date:   Thu Nov 21 20:18:04 2019 +0100
Branches: master
https://developer.blender.org/rBf903835370bca79a7a0a287f6246b2d107fbe6d9

Fix Windows Build

I forgot to change the old BLI_task functions for the new BKE_pbvh
functions in Topology Slide/Relax.

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

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 ff559acf361..9ae91947a38 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -3269,11 +3269,11 @@ static void do_topology_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totn
   BKE_pbvh_parallel_range_settings(&settings, (sd->flags & SCULPT_USE_OPENMP), totnode);
   if (ss->cache->alt_smooth) {
     for (int i = 0; i < 4; i++) {
-      BLI_task_parallel_range(0, totnode, &data, do_topology_relax_task_cb_ex, &settings);
+      BKE_pbvh_parallel_range(0, totnode, &data, do_topology_relax_task_cb_ex, &settings);
     }
   }
   else {
-    BLI_task_parallel_range(0, totnode, &data, do_topology_slide_task_cb_ex, &settings);
+    BKE_pbvh_parallel_range(0, totnode, &data, do_topology_slide_task_cb_ex, &settings);
   }
 }



More information about the Bf-blender-cvs mailing list