diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-08-28 20:36:47 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-08-28 20:36:47 +0400 |
commit | 0bb7ddad97fccc7f746a744760f281125482603a (patch) | |
tree | d21179c9e7aa9caf77f87e3edeb56a8a6aeeb495 /source/blender/makesdna/DNA_dynamicpaint_types.h | |
parent | c5106fd097cb51a8d9b24cb7ed4759b9ea30051f (diff) |
Dynamic Paint:
* Added option to preview surface wetmap instead of paint.
* Changed default paint color to blue for better visibility.
* Fix: Random sized particles didn't work anymore.
* Fix: Particle initial velocity issues when using canvas substeps and a particle brush.
Diffstat (limited to 'source/blender/makesdna/DNA_dynamicpaint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_dynamicpaint_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index e44fec6d69f..4841cf00007 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -57,6 +57,10 @@ struct PaintSurfaceData; #define MOD_DPAINT_EFFECT_DO_DRIP (1<<1) /* do spread effect */ #define MOD_DPAINT_EFFECT_DO_SHRINK (1<<2) /* do spread effect */ +/* preview_id */ +#define MOD_DPAINT_SURFACE_PREV_PAINT 0 +#define MOD_DPAINT_SURFACE_PREV_WETMAP 1 + typedef struct DynamicPaintSurface { struct DynamicPaintSurface *next, *prev; @@ -76,7 +80,7 @@ typedef struct DynamicPaintSurface { short format, type; short disp_type, image_fileformat; short effect_ui; /* just ui selection box */ - short pad; + short preview_id; /* surface output id to preview */ int flags, effect; int image_resolution, substeps; |