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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 18:10:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 18:10:19 +0300
commit06a1a66a9b6f120867d3bbebe3928744ec8e3495 (patch)
tree42e827a3cf58eb76474e479206b02a8d97dd3bf7 /source/blender/makesdna/DNA_object_force_types.h
parent61d27db35967710421ab92748e09624db068258d (diff)
parenta24b4e6090057479796e914bc603119b12f6ca06 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesdna/DNA_object_force_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_force_types.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/makesdna/DNA_object_force_types.h b/source/blender/makesdna/DNA_object_force_types.h
index a83517e4eb4..6d38e56f19a 100644
--- a/source/blender/makesdna/DNA_object_force_types.h
+++ b/source/blender/makesdna/DNA_object_force_types.h
@@ -67,7 +67,7 @@ typedef struct PartDeflect {
short tex_mode; /* texture effector */
short kink, kink_axis; /* for curve guide */
short zdir;
-
+
/* Main effector values */
float f_strength; /* The strength of the force (+ or - ) */
float f_damp; /* Damping ratio of the harmonic effector. */
@@ -93,7 +93,7 @@ typedef struct PartDeflect {
float pdef_stickness;/* surface particle stickiness */
float absorption; /* used for forces */
-
+
/* softbody collisions */
float pdef_sbdamp; /* Damping factor for softbody deflection */
float pdef_sbift; /* inner face thickness for softbody deflection */
@@ -123,7 +123,7 @@ typedef struct PartDeflect {
typedef struct EffectorWeights {
struct Collection *group; /* only use effectors from this group of objects */
-
+
float weight[14]; /* effector type specific weights */
float global_gravity;
short flag, rt[3];
@@ -176,7 +176,7 @@ typedef struct PTCacheMem {
typedef struct PointCache {
struct PointCache *next, *prev;
int flag; /* generic flag */
-
+
int step; /* The number of frames between cached frames.
* This should probably be an upper bound for a per point adaptive step in the future,
* buf for now it's the same for all points. Without adaptivity this can effect the perceived
@@ -201,7 +201,7 @@ typedef struct PointCache {
int totpoint; /* number of cached points */
int index; /* modifier stack index */
short compression, rt;
-
+
char name[64];
char prev_name[64];
char info[64];
@@ -226,9 +226,9 @@ typedef struct SoftBody {
char pad;
char msg_lock;
short msg_value;
-
+
/* part of UI: */
-
+
/* general options */
float nodemass; /* softbody mass of *vertex* */
char namedVG_Mass[64]; /* MAX_VGROUP_NAME */
@@ -239,7 +239,7 @@ typedef struct SoftBody {
float mediafrict; /* friction to env */
float rklimit; /* error limit for ODE solver */
float physics_speed;/* user control over simulation speed */
-
+
/* goal */
float goalspring; /* softbody goal springs */
float goalfrict; /* softbody goal springs friction */
@@ -252,7 +252,7 @@ typedef struct SoftBody {
* rather find them by name tag to find it -> jow20090613 */
short fuzzyness; /* */
-
+
/* springs */
float inspring; /* softbody inner springs */
float infrict; /* softbody inner springs friction */
@@ -260,12 +260,12 @@ typedef struct SoftBody {
/* along with it introduce Spring_K painting
* starting to fix old bug .. nastiness that VG are indexes
* rather find them by name tag to find it -> jow20090613 */
-
+
/* baking */
int sfra, efra;
int interval;
short local, solverflags; /* local==1: use local coords for baking */
-
+
/* -- these must be kept for backwards compatibility -- */
SBVertex **keys; /* array of size totpointkey */
int totpointkey, totkey; /* if totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys */
@@ -295,7 +295,7 @@ typedef struct SoftBody {
struct Collection *collision_group;
struct EffectorWeights *effector_weights;
- /* reverse esimated obmatrix .. no need to store in blend file .. how ever who cares */
+ /* reverse esimated obmatrix .. no need to store in blend file .. how ever who cares */
float lcom[3];
float lrot[3][3];
float lscale[3][3];
@@ -391,9 +391,9 @@ typedef struct SoftBody {
#define OB_SB_AERO_ANGLE 16384
/* sb->solverflags */
-#define SBSO_MONITOR 1
-#define SBSO_OLDERR 2
-#define SBSO_ESTIMATEIPO 4
+#define SBSO_MONITOR 1
+#define SBSO_OLDERR 2
+#define SBSO_ESTIMATEIPO 4
/* sb->sbc_mode */
#define SBC_MODE_MANUAL 0