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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-01-08 18:35:15 +0300
committerTon Roosendaal <ton@blender.org>2011-01-08 18:35:15 +0300
commit17dd29cb850927bf47e86db48e2d33c544cfc786 (patch)
treebda6eef53d8c9380d397aaf4323edc06771f749f /source
parent3b74074aec8ad551f210fda9ed13cf654d98876f (diff)
Bugfix, own collection
New displist code for curves/text copied display lists without checking for freeing existing ones. Caused some memleaking.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/displist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c
index 53e33ee9bd8..674836ac859 100644
--- a/source/blender/blenkernel/intern/displist.c
+++ b/source/blender/blenkernel/intern/displist.c
@@ -138,7 +138,7 @@ void copy_displist(ListBase *lbn, ListBase *lb)
{
DispList *dln, *dl;
- lbn->first= lbn->last= 0;
+ freedisplist(lbn);
dl= lb->first;
while(dl) {