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>2007-12-13 11:49:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-13 11:49:09 +0300
commit78b885b9fcc5f2f1ad8f991f73800bee26d761e0 (patch)
tree9cbc0fee43a25f165fafe8532802921b8f3efa3b /source/blender/python/api2_2x/sceneSequence.c
parent9a3f3699c3fc8ca32cff2d2d8a1c16e0f5cee30a (diff)
own error, sequencer set images - didnt clear error when finished
Diffstat (limited to 'source/blender/python/api2_2x/sceneSequence.c')
-rw-r--r--source/blender/python/api2_2x/sceneSequence.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/sceneSequence.c b/source/blender/python/api2_2x/sceneSequence.c
index 5db09b11aee..c2cd7d090c3 100644
--- a/source/blender/python/api2_2x/sceneSequence.c
+++ b/source/blender/python/api2_2x/sceneSequence.c
@@ -564,6 +564,8 @@ static int Sequence_setImages( BPy_Sequence * self, PyObject *value )
name = PyString_AsString(PyList_GetItem(list, i));
if (name) {
strncpy(se->name, name, sizeof(se->name));
+ } else {
+ PyErr_Clear();
}
}