From b57167d3e46b8b6ebd65e6f1a987bc2800c68ff4 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Sun, 18 Jul 2004 22:23:50 +0000 Subject: 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. --- source/blender/makesdna/DNA_effect_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesdna/DNA_effect_types.h') 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; -- cgit v1.2.3