Merged changes in the trunk up to revision 36408.
[blender.git] / source / blender / blenloader / intern / writefile.c
index 168803ed6892fd55429ffb1cd9c94a86d345270c..e0b773a5eb573568d42f400c7dff05089b081d01 100644 (file)
@@ -1699,6 +1699,7 @@ static void write_textures(WriteData *wd, ListBase *idbase)
                        if(tex->type == TEX_POINTDENSITY && tex->pd) {
                                writestruct(wd, DATA, "PointDensity", 1, tex->pd);
                                if(tex->pd->coba) writestruct(wd, DATA, "ColorBand", 1, tex->pd->coba);
+                               if(tex->pd->falloff_curve) write_curvemapping(wd, tex->pd->falloff_curve);
                        }
                        if(tex->type == TEX_VOXELDATA && tex->vd) writestruct(wd, DATA, "VoxelData", 1, tex->vd);