[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16258] branches/apricot/source/gameengine /Ketsji/KX_Light.cpp: Apricot Branch: bugfix, crash in lights switching blender files,

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Aug 26 14:38:06 CEST 2008


Revision: 16258
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16258
Author:   blendix
Date:     2008-08-26 14:38:05 +0200 (Tue, 26 Aug 2008)

Log Message:
-----------
Apricot Branch: bugfix, crash in lights switching blender files,
accidentally removed a line of code that should have been kept.

Modified Paths:
--------------
    branches/apricot/source/gameengine/Ketsji/KX_Light.cpp

Modified: branches/apricot/source/gameengine/Ketsji/KX_Light.cpp
===================================================================
--- branches/apricot/source/gameengine/Ketsji/KX_Light.cpp	2008-08-26 04:28:18 UTC (rev 16257)
+++ branches/apricot/source/gameengine/Ketsji/KX_Light.cpp	2008-08-26 12:38:05 UTC (rev 16258)
@@ -64,6 +64,7 @@
 
 KX_LightObject::~KX_LightObject()
 {
+	m_rendertools->RemoveLight(&m_lightobj);
 }
 
 





More information about the Bf-blender-cvs mailing list