diff options
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index cf367bf3205..f5e71ae59a9 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1046,6 +1046,39 @@ typedef struct ImagePaintSettings { } ImagePaintSettings; /* ------------------------------------------- */ +/* Particle Edit */ + +/* Settings for a Particle Editing Brush */ +typedef struct ParticleBrushData { + short size; /* common setting */ + short step, invert, count; /* for specific brushes only */ + int flag; + float strength; +} ParticleBrushData; + +/* Particle Edit Mode Settings */ +typedef struct ParticleEditSettings { + short flag; + short totrekey; + short totaddkey; + short brushtype; + + ParticleBrushData brush[7]; /* 7 = PE_TOT_BRUSH */ + void *paintcursor; /* runtime */ + + float emitterdist, rt; + + int selectmode; + int edittype; + + int draw_step, fade_frames; + + struct Scene *scene; + struct Object *object; + struct Object *shape_object; +} ParticleEditSettings; + +/* ------------------------------------------- */ /* Sculpt */ /* Sculpt */ @@ -1409,6 +1442,9 @@ typedef struct ToolSettings { /* Image Paint (8 byttse aligned please!) */ struct ImagePaintSettings imapaint; + /* Particle Editing */ + struct ParticleEditSettings particle; + /* Transform Proportional Area of Effect */ float proportional_size; |