all library data now gets the PointerRNA's invalidated on removal.

This commit is contained in:
2012-11-01 17:16:24 +00:00
parent 17934e1803
commit 9a82b47b4f
2 changed files with 195 additions and 120 deletions

View File

@@ -831,7 +831,7 @@ static PyObject *pyrna_struct_str(BPy_StructRNA *self)
const char *name;
if (!PYRNA_STRUCT_IS_VALID(self)) {
return PyUnicode_FromFormat("<bpy_struct, %.200s dead>",
return PyUnicode_FromFormat("<bpy_struct, %.200s invalid>",
Py_TYPE(self)->tp_name);
}