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>2008-04-28 20:09:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-28 20:09:17 +0400
commitc6554898cc57bea21faf3b6aa440c1d942c9250e (patch)
treeb5ce2bdc713ad2acf7d9fcec2c88788a8b6de9fa /source/blender/blenlib
parentae4179e704f638bf9d697479f8b5a33bd397466c (diff)
fix for [#9651] raw_export.py tooltip outdated?
own error, bpath looper was trying to free NULL pointer, added fromOrig to python mtex api made FromOrig and FromDupli tooltips be understandable
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/bpath.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c
index d92414cc46b..66eb63c8dfd 100644
--- a/source/blender/blenlib/intern/bpath.c
+++ b/source/blender/blenlib/intern/bpath.c
@@ -239,8 +239,10 @@ static struct Sequence *seq_stepdata__internal(struct BPathIterator *bpi, int st
return seq;
} else {
/* keep looking through the next scene, reallocate seq array */
- MEM_freeN((void *)bpi->seqdata.seqar);
- bpi->seqdata.seqar = NULL;
+ if (bpi->seqdata.seqar) {
+ MEM_freeN((void *)bpi->seqdata.seqar);
+ bpi->seqdata.seqar = NULL;
+ }
bpi->seqdata.scene = bpi->seqdata.scene->id.next;
}
} else {