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>2011-01-09 14:54:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-09 14:54:12 +0300
commit02aab4977f4eba79b9eba0f3952b4608b033b997 (patch)
tree1569b3cdb9c1be51d00d798340f26a6e54723d25
parentd31ebbe66681cda8e94c6593e4b40c4b4df5809c (diff)
quiet zombie python class warning. bug remains but its not useful to print out so many errors when this wont be fixed for a while.
-rw-r--r--source/blender/python/intern/bpy_rna.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index a95aa62b310..663c82e07ad 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -5466,12 +5466,13 @@ static void bpy_class_free(void *pyob_ptr)
if(PyErr_Occurred())
PyErr_Clear();
+#if 0 /* needs further investigation, too annoying so quiet for now */
if(G.f&G_DEBUG) {
if(self->ob_refcnt > 1) {
PyC_ObSpit("zombie class - ref should be 1", self);
}
}
-
+#endif
Py_DECREF((PyObject *)pyob_ptr);
PyGILState_Release(gilstate);