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:
authorJens Verwiebe <info@jensverwiebe.de>2013-04-10 22:35:18 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-04-10 22:35:18 +0400
commitcbe9ae244e5af8b89e28a6fe03405bcb368ba83b (patch)
tree383220a82cfeea4845f96f298e34b98939014bf2 /source/blender/makesdna/DNA_object_fluidsim.h
parentac224a64f408fcc8f90f7ea0124cbe4b9ef1e811 (diff)
Add a gui control for setting omp threads in fluids
Diffstat (limited to 'source/blender/makesdna/DNA_object_fluidsim.h')
-rw-r--r--source/blender/makesdna/DNA_object_fluidsim.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_fluidsim.h b/source/blender/makesdna/DNA_object_fluidsim.h
index dc4e4f54fd7..aaebdf579f8 100644
--- a/source/blender/makesdna/DNA_object_fluidsim.h
+++ b/source/blender/makesdna/DNA_object_fluidsim.h
@@ -48,6 +48,9 @@ typedef struct FluidVertexVelocity {
typedef struct FluidsimSettings {
struct FluidsimModifierData *fmd; /* for fast RNA access */
+ /* threadcont the calculation is done with */
+ int threads;
+ int pad1;
/* domain, fluid or obstacle */
short type;
/* display advanced options in fluid sim tab (on=1, off=0)*/
@@ -75,7 +78,7 @@ typedef struct FluidsimSettings {
int bakeStart, bakeEnd;
/* offset for baked frames */
int frameOffset;
- int pad;
+ int pad2;
/* g star param (LBM compressibility) */
float gstar;
/* activate refinement? */