didnt build before committiong this small change :/

isLight() is apricot only. Add this back when GLSL is merged to avoid conflicts.
This commit is contained in:
Campbell Barton 2008-08-28 09:02:04 +00:00
parent c8d0a540f5
commit 794ffdcd2c

@ -944,7 +944,7 @@ int KX_Scene::NewRemoveObject(class CValue* gameobj)
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();