[Bf-blender-cvs] [04c0c92f870] functions: use less generic tbb include
Jacques Lucke
noreply at git.blender.org
Sat Dec 28 13:28:18 CET 2019
Commit: 04c0c92f87050eaeb431d3826d134a9062c7332d
Author: Jacques Lucke
Date: Sat Dec 28 13:28:06 2019 +0100
Branches: functions
https://developer.blender.org/rB04c0c92f87050eaeb431d3826d134a9062c7332d
use less generic tbb include
===================================================================
M source/blender/simulations/bparticles/c_wrapper.cpp
M source/blender/simulations/bparticles/simulate.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/c_wrapper.cpp b/source/blender/simulations/bparticles/c_wrapper.cpp
index c3eedf2cdae..364aab2cc7f 100644
--- a/source/blender/simulations/bparticles/c_wrapper.cpp
+++ b/source/blender/simulations/bparticles/c_wrapper.cpp
@@ -19,7 +19,7 @@
#ifdef WITH_TBB
# define TBB_SUPPRESS_DEPRECATED_MESSAGES 1
-# include "tbb/tbb.h"
+# include "tbb/parallel_for.h"
#endif
#define WRAPPERS(T1, T2) \
diff --git a/source/blender/simulations/bparticles/simulate.cpp b/source/blender/simulations/bparticles/simulate.cpp
index 1f46c03a774..7a5f4d789fb 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -10,7 +10,8 @@
#ifdef WITH_TBB
# define TBB_SUPPRESS_DEPRECATED_MESSAGES 1
-# include "tbb/tbb.h"
+# include "tbb/parallel_for.h"
+# include "tbb/parallel_invoke.h"
#endif
namespace BParticles {
More information about the Bf-blender-cvs
mailing list