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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-04 07:25:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-04 07:25:05 +0400
commit37007a7bc87adb18ff30963a226956d1d1ceb2bf (patch)
tree96de640fcba8fd6fdde314f3d23cc28a20328461 /source/blender/blenkernel/intern/texture.c
parentb344d80726507d0882afca5bcece39c4f35005f2 (diff)
disable continuous grab in the header, its more annoying then useful.
also NULL texture's point density tree data when copying to prevent possible double free.
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r--source/blender/blenkernel/intern/texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index e9c11c67d9b..a5412c6269e 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -798,6 +798,7 @@ Tex *localize_texture(Tex *tex)
if(texn->pd) {
texn->pd= MEM_dupallocN(texn->pd);
if(texn->pd->coba) {
+ texn->pd->point_tree = NULL;
texn->pd->coba= MEM_dupallocN(texn->pd->coba);
}