own error, sequencer set images - didnt clear error when finished

This commit is contained in:
Campbell Barton 2007-12-13 08:49:09 +00:00
parent 9a3f3699c3
commit 78b885b9fc

@ -564,6 +564,8 @@ static int Sequence_setImages( BPy_Sequence * self, PyObject *value )
name = PyString_AsString(PyList_GetItem(list, i)); name = PyString_AsString(PyList_GetItem(list, i));
if (name) { if (name) {
strncpy(se->name, name, sizeof(se->name)); strncpy(se->name, name, sizeof(se->name));
} else {
PyErr_Clear();
} }
} }