mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
The fluid threads setting is still WIP, for now fix compiling without openMP enabled
This commit is contained in:
parent
cbe9ae244e
commit
842d0a4258
1 changed files with 2 additions and 0 deletions
|
|
@ -177,7 +177,9 @@ int SimulationObject::initializeLbmSimulation(ntlRenderGlobals *glob)
|
|||
mpLbm->initDomainTrafo( mpElbeemSettings->surfaceTrafo );
|
||||
mpLbm->setSmoothing(1.0 * mpElbeemSettings->surfaceSmoothing, 1.0 * mpElbeemSettings->surfaceSmoothing);
|
||||
mpLbm->setIsoSubdivs(mpElbeemSettings->surfaceSubdivs);
|
||||
#if PARALLEL==1
|
||||
omp_set_num_threads(mpElbeemSettings->threads);
|
||||
#endif
|
||||
mpLbm->setSizeX(mpElbeemSettings->resolutionxyz);
|
||||
mpLbm->setSizeY(mpElbeemSettings->resolutionxyz);
|
||||
mpLbm->setSizeZ(mpElbeemSettings->resolutionxyz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue