Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2014-05-28 01:12:53 +0400
committerMitchell Stokes <mogurijin@gmail.com>2014-05-28 01:12:53 +0400
commit8dafbed4b5f7fc733a55fb6fbc64e122abf4fc3a (patch)
tree258cf10957b0998bb19ca2f22aad4ba9ce16de3a /source/gameengine/Ketsji/KX_Scene.cpp
parent5c5ca1355fd079fa5a4ee6540b1800170f2aaadd (diff)
BGE cleanup: Remove unused KX_TrackToActuator::m_tracktime member.
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_Scene.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index 4d2a842a7e5..dd75809dc5f 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -1528,6 +1528,11 @@ 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