diff options
author | Matt Ebb <matt@mke3.net> | 2008-11-10 03:14:35 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2008-11-10 03:14:35 +0300 |
commit | 3b2f996c25e911fb6497fd45b3b4a5ab5e5609ac (patch) | |
tree | 3a2850a619343a94f0017f5aa0ed80ad2213ed86 /source/blender/blenkernel/intern/texture.c | |
parent | a972107b03a3b8b00e1548d99e790612dc9f0ccc (diff) |
Point Density
* Fixed a stupid crash caused by last commit that worked fine on the mac
(but never should have...)
* Fix for using child particles with the new particle age color options
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r-- | source/blender/blenkernel/intern/texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index 76ef6bdb4e8..1bb4ef3eeff 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -873,6 +873,7 @@ PointDensity *BKE_add_pointdensity(void) PointDensity *pd; pd= MEM_callocN(sizeof(PointDensity), "pointdensity"); + pd->flag = 0; pd->radius = 0.3f; pd->falloff_type = TEX_PD_FALLOFF_STD; pd->falloff_softness = 2.0; @@ -886,6 +887,7 @@ PointDensity *BKE_add_pointdensity(void) pd->coba = add_colorband(1); pd->speed_scale = 1.0f; pd->totpoints = 0; + pd->coba = add_colorband(1); return pd; } |