[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59981] branches/soc-2013-bge/source/ gameengine/Ketsji: Moving the definition for KX_GameObject:: AddLodMesh from the header file to the source file.
Daniel Stokes
kupomail at gmail.com
Tue Sep 10 04:17:23 CEST 2013
Revision: 59981
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59981
Author: kupoman
Date: 2013-09-10 02:17:21 +0000 (Tue, 10 Sep 2013)
Log Message:
-----------
Moving the definition for KX_GameObject::AddLodMesh from the header file to the source file.
Modified Paths:
--------------
branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.cpp
branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.h
Modified: branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.cpp
===================================================================
--- branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.cpp 2013-09-10 01:06:45 UTC (rev 59980)
+++ branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.cpp 2013-09-10 02:17:21 UTC (rev 59981)
@@ -720,6 +720,11 @@
m_meshes.clear();
}
+void KX_GameObject::AddLodMesh(RAS_MeshObject* mesh)
+{
+ m_lodmeshes.push_back(mesh);
+}
+
void KX_GameObject::UpdateLod(MT_Vector3 &cam_pos)
{
// Handle dupligroups
Modified: branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.h
===================================================================
--- branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.h 2013-09-10 01:06:45 UTC (rev 59980)
+++ branches/soc-2013-bge/source/gameengine/Ketsji/KX_GameObject.h 2013-09-10 02:17:21 UTC (rev 59981)
@@ -764,9 +764,7 @@
void
AddLodMesh(
RAS_MeshObject* mesh
- ) {
- m_lodmeshes.push_back(mesh);
- }
+ );
/**
* Updates the current lod level based on distance from camera.
More information about the Bf-blender-cvs
mailing list