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:
authorMartin Poirier <theeth@yahoo.com>2004-07-19 02:23:50 +0400
committerMartin Poirier <theeth@yahoo.com>2004-07-19 02:23:50 +0400
commitb57167d3e46b8b6ebd65e6f1a987bc2800c68ff4 (patch)
tree9b7717ae3245c3098274e8e0bb0e6ad0fa0b875c /source/blender/makesdna/DNA_effect_types.h
parentf6a6a5a2794e6c22ce54eead9f0c3b2c06b5e90f (diff)
Particles effector type #define
Different draw mode for Vortex effector ( http://www.clubinfo.bdeb.qc.ca/~theeth/Temp/vortex.jpg ) Use row buts for effector type (only one effector at a time per object). Forcefield circle transparency in 3D view is controlled by falloff value (for coolness factor). Please note that those only draws in the 3D view for Empty objects. I've tested with all other object types through a global call, but lamps (and only those) give problems. Since we go in release status soon, I prefer commiting something that works all the time.
Diffstat (limited to 'source/blender/makesdna/DNA_effect_types.h')
-rw-r--r--source/blender/makesdna/DNA_effect_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_effect_types.h b/source/blender/makesdna/DNA_effect_types.h
index b8dc9efd959..86dd2f299c3 100644
--- a/source/blender/makesdna/DNA_effect_types.h
+++ b/source/blender/makesdna/DNA_effect_types.h
@@ -67,6 +67,10 @@
#define WAV_Y 4
#define WAV_CYCL 8
+ /* Effector Fields types */
+#define PFIELD_FORCE 1
+#define PFIELD_VORTEX 2
+#define PFIELD_MAGNET 3
typedef struct Effect {
struct Effect *next, *prev;