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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-05 19:30:18 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-05 21:46:01 +0400
commit9800ed5f6d0a31dd075363ac2e0ba80842e20443 (patch)
tree6e97cb7a5b3ec0395f8af9ee07a7b4b0f26c7933 /source/blender/makesdna/DNA_particle_types.h
parent290e1fc528c40a3531f246c18dd72510fd57a174 (diff)
Code cleanup: replace magic constants with more verbose bitnames
Diffstat (limited to 'source/blender/makesdna/DNA_particle_types.h')
-rw-r--r--source/blender/makesdna/DNA_particle_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h
index 4f4be3965ff..170d1376908 100644
--- a/source/blender/makesdna/DNA_particle_types.h
+++ b/source/blender/makesdna/DNA_particle_types.h
@@ -564,7 +564,7 @@ typedef struct ParticleSystem {
/* mapto */
/* init */
-#define PAMAP_INIT 15
+#define PAMAP_INIT (PAMAP_TIME | PAMAP_LIFE | PAMAP_DENS | PAMAP_SIZE)
#define PAMAP_TIME (1<<0) /* emission time */
#define PAMAP_LIFE (1<<1) /* life time */
#define PAMAP_DENS (1<<2) /* density */
@@ -572,12 +572,12 @@ typedef struct ParticleSystem {
/* reset */
#define PAMAP_IVEL (1<<5) /* initial velocity */
/* physics */
-#define PAMAP_PHYSICS 3136
+#define PAMAP_PHYSICS (PAMAP_FIELD | PAMAP_GRAVITY | PAMAP_DAMP)
#define PAMAP_FIELD (1<<6) /* force fields */
#define PAMAP_GRAVITY (1<<10)
#define PAMAP_DAMP (1<<11)
/* children */
-#define PAMAP_CHILD 912
+#define PAMAP_CHILD (PAMAP_CLUMP | PAMAP_KINK | PAMAP_ROUGH | PAMAP_LENGTH)
#define PAMAP_CLUMP (1<<7)
#define PAMAP_KINK (1<<8)
#define PAMAP_ROUGH (1<<9)