[Bf-blender-cvs] [3abb2e0] master: BGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.
Mitchell Stokes
noreply at git.blender.org
Tue May 20 06:14:46 CEST 2014
Commit: 3abb2e0a3de51544d66cb85d5e5f8aad6845aac1
Author: Mitchell Stokes
Date: Mon May 19 21:13:33 2014 -0700
https://developer.blender.org/rB3abb2e0a3de51544d66cb85d5e5f8aad6845aac1
BGE cleanup: Removing the unused KX_Scene::UpdateMeshTransformations() function.
===================================================================
M source/gameengine/Ketsji/KX_Scene.cpp
M source/gameengine/Ketsji/KX_Scene.h
===================================================================
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index 7cab6a8..4d2a842 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -1348,17 +1348,6 @@ void KX_Scene::SetCameraOnTop(KX_Camera* cam)
}
}
-
-void KX_Scene::UpdateMeshTransformations()
-{
- // do this incrementally in the future
- for (int i = 0; i < m_objectlist->GetCount(); i++)
- {
- KX_GameObject* gameobj = (KX_GameObject*)m_objectlist->GetValue(i);
- gameobj->GetOpenGLMatrix();
- }
-}
-
void KX_Scene::MarkVisible(SG_Tree *node, RAS_IRasterizer* rasty, KX_Camera* cam, int layer)
{
int intersect = KX_Camera::INTERSECT;
diff --git a/source/gameengine/Ketsji/KX_Scene.h b/source/gameengine/Ketsji/KX_Scene.h
index 50fac92..2e1ee9f 100644
--- a/source/gameengine/Ketsji/KX_Scene.h
+++ b/source/gameengine/Ketsji/KX_Scene.h
@@ -524,7 +524,6 @@ public:
void SetWorldInfo(class KX_WorldInfo* wi);
KX_WorldInfo* GetWorldInfo();
void CalculateVisibleMeshes(RAS_IRasterizer* rasty, KX_Camera *cam, int layer=0);
- void UpdateMeshTransformations();
KX_Camera* GetpCamera();
NG_NetworkDeviceInterface* GetNetworkDeviceInterface();
NG_NetworkScene* GetNetworkScene();
More information about the Bf-blender-cvs
mailing list