Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-21 15:37:42 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-21 15:37:42 +0400
commitc4ee1f265847db4fed34df05a32f4b0fa3612092 (patch)
tree75792db986f09f492eaa4576d12e90d0dc669ddd /source/blender/modifiers/intern/MOD_fluidsim_util.c
parentb11dc51974d48738b4e53c9c81971a045d73c5a6 (diff)
Fluid simulation manual number of threads option now doesn't set the number
of threads to the number of cores when the fluid is created. Rather it is now set to 0 which means "use the number of threads specified for the scene".
Diffstat (limited to 'source/blender/modifiers/intern/MOD_fluidsim_util.c')
-rw-r--r--source/blender/modifiers/intern/MOD_fluidsim_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c
index ed42a30b351..e96ddcde161 100644
--- a/source/blender/modifiers/intern/MOD_fluidsim_util.c
+++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c
@@ -76,7 +76,7 @@ void fluidsim_init(FluidsimModifierData *fluidmd)
fss->fmd = fluidmd;
fss->type = OB_FLUIDSIM_ENABLE;
- fss->threads = BLI_system_thread_count();
+ fss->threads = 0;
fss->show_advancedoptions = 0;
fss->resolutionxyz = 65;