[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21932] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python/BPy_Interface0D.cpp: Reverted the change in revision 21877 in Interface0D___dealloc__().
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sun Jul 26 19:29:26 CEST 2009
Revision: 21932
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21932
Author: kjym3
Date: 2009-07-26 19:29:25 +0200 (Sun, 26 Jul 2009)
Log Message:
-----------
Reverted the change in revision 21877 in Interface0D___dealloc__().
Revision Links:
--------------
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21877
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp 2009-07-26 16:31:48 UTC (rev 21931)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Interface0D.cpp 2009-07-26 17:29:25 UTC (rev 21932)
@@ -189,7 +189,8 @@
void Interface0D___dealloc__(BPy_Interface0D* self)
{
- delete self->if0D;
+ if( self->if0D->py_if0D )
+ delete self->if0D;
self->ob_type->tp_free((PyObject*)self);
}
More information about the Bf-blender-cvs
mailing list