[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16280] trunk/blender/source/gameengine/ Ketsji/KX_Scene.cpp: didnt build before committiong this small change :/

Campbell Barton ideasman42 at gmail.com
Thu Aug 28 11:02:05 CEST 2008


Revision: 16280
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16280
Author:   campbellbarton
Date:     2008-08-28 11:02:04 +0200 (Thu, 28 Aug 2008)

Log Message:
-----------
didnt build before committiong this small change :/ 
isLight() is apricot only. Add this back when GLSL is merged to avoid conflicts.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp

Modified: trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp	2008-08-28 08:13:58 UTC (rev 16279)
+++ trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp	2008-08-28 09:02:04 UTC (rev 16280)
@@ -944,7 +944,7 @@
 	
 	newobj->RemoveMeshes();
 	ret = 1;
-	if (newobj->IsLight() && m_lightlist->RemoveValue(newobj))
+	if (m_lightlist->RemoveValue(newobj)) // TODO - use newobj->IsLight() test when its merged in from apricot. - Campbell
 		ret = newobj->Release();
 	if (m_objectlist->RemoveValue(newobj))
 		ret = newobj->Release();





More information about the Bf-blender-cvs mailing list