From cbe9ae244e5af8b89e28a6fe03405bcb368ba83b Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Wed, 10 Apr 2013 18:35:18 +0000 Subject: Add a gui control for setting omp threads in fluids --- source/blender/makesdna/DNA_object_fluidsim.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_object_fluidsim.h') 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? */ -- cgit v1.2.3