Index: branches/spaceshipcontrol/src/lib/graphics/graphics_engine.cc
===================================================================
--- branches/spaceshipcontrol/src/lib/graphics/graphics_engine.cc	(revision 6036)
+++ branches/spaceshipcontrol/src/lib/graphics/graphics_engine.cc	(revision 6046)
@@ -36,5 +36,5 @@
  #include "class_list.h"
  #include "list.h"
- #include "model.h"
+ #include "static_model.h"
 #endif
 using namespace std;
@@ -283,6 +283,6 @@
   }
   PRINTF(4)("Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
-
-}
+}
+
 
 /**
@@ -320,10 +320,10 @@
     }
     // REBUILDING MODELS
-    const std::list<BaseObject*>* modelList = ClassList::getList(CL_MODEL);
+    const std::list<BaseObject*>* modelList = ClassList::getList(CL_STATIC_MODEL);
     if (texList != NULL)
     {
       std::list<BaseObject*>::const_iterator reModel;
       for (reModel = modelList->begin(); reModel != modelList->end(); reModel++)
-        dynamic_cast<Model*>(*reModel)->rebuild();
+        dynamic_cast<StaticModel*>(*reModel)->rebuild();
     }
 #endif /* __WIN32__ */
Index: branches/spaceshipcontrol/src/lib/graphics/importer/model.cc
===================================================================
--- branches/spaceshipcontrol/src/lib/graphics/importer/model.cc	(revision 6036)
+++ branches/spaceshipcontrol/src/lib/graphics/importer/model.cc	(revision 6046)
@@ -28,5 +28,5 @@
 Model::Model()
 {
-//   this->setClassID(CL_PROTO_ID, "ProtoClass");
+  this->setClassID(CL_MODEL, "Model");
   this->pModelInfo.numVertices = 0;
   this->pModelInfo.numTriangles = 0;
@@ -54,5 +54,5 @@
   const GLfloat* pVertices = NULL;
   const GLfloat* pNorm = NULL;
-  
+
   glBegin(GL_TRIANGLES);
   for( int i = 0; i < this->pModelInfo.numTriangles; ++i)
@@ -63,15 +63,15 @@
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
       pNorm = &this->pModelInfo.pNormals[this->pModelInfo.pTriangles[i].indexToNormals[1]];
       pVertices = &this->pModelInfo.pVertices[this->pModelInfo.pTriangles[i].indexToVertices[1]];
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
       pNorm = &this->pModelInfo.pNormals[this->pModelInfo.pTriangles[i].indexToNormals[2]];
       pVertices = &this->pModelInfo.pVertices[this->pModelInfo.pTriangles[i].indexToVertices[2]];
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
     }
   glEnd();
Index: branches/spaceshipcontrol/src/lib/graphics/importer/objModel.cc
===================================================================
--- branches/spaceshipcontrol/src/lib/graphics/importer/objModel.cc	(revision 6036)
+++ branches/spaceshipcontrol/src/lib/graphics/importer/objModel.cc	(revision 6046)
@@ -34,4 +34,6 @@
 OBJModel::OBJModel(const char* fileName, float scaling) : StaticModel(fileName)
 {
+  this->setClassID(CL_OBJ_MODEL, "OBJModel");
+
   this->objPath = "./";
 
Index: branches/spaceshipcontrol/src/lib/graphics/importer/static_model.cc
===================================================================
--- branches/spaceshipcontrol/src/lib/graphics/importer/static_model.cc	(revision 6036)
+++ branches/spaceshipcontrol/src/lib/graphics/importer/static_model.cc	(revision 6046)
@@ -143,5 +143,5 @@
 StaticModel::StaticModel(const char* modelName)
 {
-  this->setClassID(CL_MODEL, "Model");
+  this->setClassID(CL_STATIC_MODEL, "StaticModel");
   PRINTF(4)("new 3D-Model is being created\n");
   this->setName(modelName);
@@ -547,5 +547,5 @@
       this->currentGroup->currentFace->vertexCount++;
     }
-  
+
   this->currentGroup->faceCount += this->currentGroup->currentFace->vertexCount -2;
   this->faceCount += this->currentGroup->currentFace->vertexCount -2;
Index: branches/spaceshipcontrol/src/lib/graphics/importer/vertex_array_model.cc
===================================================================
--- branches/spaceshipcontrol/src/lib/graphics/importer/vertex_array_model.cc	(revision 6036)
+++ branches/spaceshipcontrol/src/lib/graphics/importer/vertex_array_model.cc	(revision 6046)
@@ -33,5 +33,5 @@
 VertexArrayModel::VertexArrayModel()
 {
-  this->setClassID(CL_MODEL, "VertexArrayModel");
+  this->setClassID(CL_VERTEX_ARRAY_MODEL, "VertexArrayModel");
 
   this->finalized = false;
@@ -88,5 +88,5 @@
   glVertexPointer(3, GL_FLOAT, 0, this->vertices.getArray());
   glNormalPointer(GL_FLOAT, 0, this->normals.getArray());
-  glTexCoordPointer(2, GL_FLOAT, 0, this->texCoords.getArray());  
+  glTexCoordPointer(2, GL_FLOAT, 0, this->texCoords.getArray());
 
   printf("%d\n", this->indices.getCount());
@@ -100,5 +100,5 @@
   /*  const GLfloat* pVertices = NULL;
       const GLfloat* pNorm = NULL;
-      
+
       glBegin(GL_TRIANGLES);
       for( int i = 0; i < this->triangleCount; ++i)
@@ -109,15 +109,15 @@
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
       pNorm = &this->normals->getArray()[this->triangles[i].indexToNormals[1]];
       pVertices = &this->vertices->getArray()[this->triangles[i].indexToVertices[1]];
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
       pNorm = &this->normals->getArray()[this->triangles[i].indexToNormals[2]];
       pVertices = &this->vertices->getArray()[this->triangles[i].indexToVertices[2]];
       glNormal3f(pNorm[0], pNorm[1], pNorm[2]);
       glVertex3f(pVertices[0], pVertices[1], pVertices[2]);
-      
+
       }
       glEnd();
