Index: code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.cc
===================================================================
--- code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.cc	(revision 7112)
+++ code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.cc	(revision 7127)
@@ -40,5 +40,5 @@
     CreateFactory(MeshLodInformation);
 
-    MeshLodInformation::MeshLodInformation(BaseObject* creator) 
+    MeshLodInformation::MeshLodInformation(BaseObject* creator)
     : BaseObject(creator), lodLevel_(5), bEnabled_(true), numLevels_(10), reductionRate_(0.15)
     {
@@ -59,10 +59,10 @@
         XMLPortParam(MeshLodInformation, "reductionRate", setReductionRate, getReductionRate, xmlelement, mode);
     }
-    
+
     std::string MeshLodInformation::getMeshName()
     {
         return MeshLodInformation::getMeshSource();
     }
-    
+
     void MeshLodInformation::setLodLevel(float lodLevel)
     {
@@ -73,5 +73,5 @@
     {
         return lodLevel_;
-    } 
+    }
     void MeshLodInformation::setMeshSource(std::string meshSource)
     {
@@ -82,4 +82,4 @@
         return meshSource_;
     }
- 
+
 }
Index: code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.h
===================================================================
--- code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.h	(revision 7112)
+++ code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.h	(revision 7127)
@@ -43,5 +43,5 @@
             MeshLodInformation(BaseObject* creator);
             virtual ~MeshLodInformation();
-            
+
             float getLodLevel();
             std::string getMeshName();
@@ -49,5 +49,5 @@
             unsigned int getNumLevels(){ return this->numLevels_; }
             float getReductionRate(){ return this->reductionRate_; }
-            
+
             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
 
Index: code/branches/presentation3/src/orxonox/graphics/Model.cc
===================================================================
--- code/branches/presentation3/src/orxonox/graphics/Model.cc	(revision 7112)
+++ code/branches/presentation3/src/orxonox/graphics/Model.cc	(revision 7127)
@@ -42,5 +42,5 @@
     CreateFactory(Model);
 
-    Model::Model(BaseObject* creator) : 
+    Model::Model(BaseObject* creator) :
         StaticEntity(creator), bCastShadows_(true), lodLevel_(5), bLodEnabled_(true), numLodLevels_(10), lodReductionRate_(.15)
     {
@@ -59,7 +59,7 @@
     {
         SUPER(Model, XMLPort, xmlelement, mode);
-        
+
         XMLPortParam(Model, "lodLevel", setLodLevel, getLodLevel, xmlelement, mode);
-        
+
         XMLPortParam(Model, "mesh", setMeshSource, getMeshSource, xmlelement, mode);
         XMLPortParam(Model, "shadow", setCastShadows, getCastShadows, xmlelement, mode).defaultValues(true);
@@ -81,5 +81,5 @@
         return scaleFactor;
     }
-    
+
     void Model::changedMesh()
     {
@@ -88,5 +88,5 @@
             if (this->mesh_.getEntity())
                 this->detachOgreObject(this->mesh_.getEntity());
-            
+
             this->mesh_.setMeshSource(this->getScene()->getSceneManager(), this->meshSrc_);
 
@@ -96,13 +96,13 @@
                 this->mesh_.getEntity()->setCastShadows(this->bCastShadows_);
                 this->mesh_.setVisible(this->isVisible());
-                
-                
+
+
                 //LOD
                 if( this->mesh_.getEntity()->getMesh()->getNumLodLevels()==1 )
                 {
                     Level* level = this->getLevel();
-                  
+
                     assert( level != 0 );
-                    
+
                     MeshLodInformation* lodInfo = level->getLodInfo(this->meshSrc_);
                     if( lodInfo )
@@ -122,7 +122,7 @@
                         float volume = this->mesh_.getEntity()->getBoundingBox().volume();
     //                     float scaleFactor = 1;
-                        
+
     //                     BaseObject* creatorPtr = this;
-    //                     
+    //
     //                     while(creatorPtr!=NULL&&orxonox_cast<WorldEntity*>(creatorPtr))
     //                     {
@@ -131,5 +131,5 @@
     //                     }
     //                     COUT(0) << "name: " << this->meshSrc_ << "scaleFactor: " << scaleFactor << ", volume: " << volume << endl;
-                        
+
                         COUT(4) << "Setting lodLevel for " << this->meshSrc_<< " with lodLevel_: " << this->lodLevel_ <<" and volume: "<< volume << ":" << std::endl;
 
@@ -144,5 +144,5 @@
     //                         float factor = scaleFactor*5/lodLevel_;
                             float factor = pow(volume, 2.0f / 3.0f) * 15.0f / lodLevel_;
-                            
+
                             COUT(4) << "LodLevel set with factor: " << factor << endl;
 
@@ -160,5 +160,5 @@
                                 distList.pop_back();
 
-                            
+
                             //Generiert LOD-Levels
                             this->mesh_.getEntity()->getMesh()->generateLodLevels(distList, Ogre::ProgressiveMesh::VRQ_PROPORTIONAL, this->lodReductionRate_);
@@ -171,5 +171,5 @@
                             else
                                 what = "<0";
-                            
+
                             COUT(4)<<"LodLevel not set because lodLevel("<<lodLevel_<<") was "<<what<<"." << endl;
                         }
Index: code/branches/presentation3/src/orxonox/graphics/Model.h
===================================================================
--- code/branches/presentation3/src/orxonox/graphics/Model.h	(revision 7112)
+++ code/branches/presentation3/src/orxonox/graphics/Model.h	(revision 7127)
@@ -61,9 +61,9 @@
             inline bool getCastShadows() const
                 { return this->bCastShadows_; }
-                
+
         protected:
             void changedMesh();
             void changedShadows();
-            
+
             //LoD
             inline void setLodLevel(float lodLevel)
@@ -76,5 +76,5 @@
             Mesh mesh_;
             bool bCastShadows_;
-            
+
             //LoD
             float lodLevel_;
@@ -82,5 +82,5 @@
             unsigned int numLodLevels_;
             float lodReductionRate_;
-            
+
     };
 }
