default to global space for point density cache space.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 28 Jun 2010 16:37:50 +0000 (16:37 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 28 Jun 2010 16:37:50 +0000 (16:37 +0000)
source/blender/blenkernel/intern/texture.c

index 31826f5be28a700f5d54f22f8d700479e19995a2..8178ef75a91ebc7dde4b59d11cde022ca0f98323 100644 (file)
@@ -1132,6 +1132,7 @@ PointDensity *BKE_add_pointdensity(void)
        pd->totpoints = 0;
        pd->object = NULL;
        pd->psys = 0;
+       pd->psys_cache_space= TEX_PD_WORLDSPACE;
        return pd;
 }