diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-13 11:49:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-13 11:49:09 +0300 |
commit | 78b885b9fcc5f2f1ad8f991f73800bee26d761e0 (patch) | |
tree | 9cbc0fee43a25f165fafe8532802921b8f3efa3b | |
parent | 9a3f3699c3fc8ca32cff2d2d8a1c16e0f5cee30a (diff) |
own error, sequencer set images - didnt clear error when finished
-rw-r--r-- | source/blender/python/api2_2x/sceneSequence.c | 2 |
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(); } } |