[Bf-blender-cvs] [04623e8] master: BGE: Accidentally committed some debug code in 8dafbe.

Mitchell Stokes noreply at git.blender.org
Tue May 27 23:34:01 CEST 2014


Commit: 04623e8b1fa804bdd9dd3a75a5238342ddf913b2
Author: Mitchell Stokes
Date:   Tue May 27 14:32:32 2014 -0700
https://developer.blender.org/rB04623e8b1fa804bdd9dd3a75a5238342ddf913b2

BGE: Accidentally committed some debug code in 8dafbe.

===================================================================

M	source/gameengine/Ketsji/KX_Scene.cpp

===================================================================

diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index dd75809..4d2a842 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -1528,11 +1528,6 @@ void KX_Scene::CalculateVisibleMeshes(RAS_IRasterizer* rasty,KX_Camera* cam, int
 			MarkVisible(rasty, static_cast<KX_GameObject*>(m_objectlist->GetValue(i)), cam, layer);
 		}
 	}
-
-	for (int i=0; i < m_objectlist->GetCount(); i++) {
-		KX_GameObject *go = static_cast<KX_GameObject*>(m_objectlist->GetValue(i));
-		printf("Name: %s, Culled: %s\n", go->GetName().ReadPtr(), (go->GetCulled()) ? "True" : "False");
-	}
 }
 
 // logic stuff




More information about the Bf-blender-cvs mailing list