Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-02-16 13:12:05 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-16 13:12:05 +0300
commit43af6fdae17998d4bf9e600947b4c9e8f16761fe (patch)
tree97b26a81668d59799b346ea32a92ddde9cdf2df6
parent9a6332bea9ba327c22e0097bf09f7acd68dd5ff6 (diff)
Quick patch from phonybone: Fix for double allocation of colorbands
-rw-r--r--source/blender/blenkernel/intern/texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index 4ced858ff17..feeb98a5a8c 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -1107,7 +1107,6 @@ PointDensity *BKE_add_pointdensity(void)
pd->coba = add_colorband(1);
pd->speed_scale = 1.0f;
pd->totpoints = 0;
- pd->coba = add_colorband(1);
pd->object = NULL;
pd->psys = 0;
return pd;