From 35034e61aadfbfca33e7d637b6a5182751a6af1b Mon Sep 17 00:00:00 2001 From: seba Date: Mon, 14 Apr 2008 23:38:31 +0200 Subject: [PATCH] model repariert *hust* --- models/model.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/models/model.cpp b/models/model.cpp index 18bfb55..7651fe3 100644 --- a/models/model.cpp +++ b/models/model.cpp @@ -29,11 +29,11 @@ void ModelObject::render() { // std::cout << "render " << name << " mit " << polygon.size()<< std::endl; // std::cout << "Vertex: " << vertex.size() << std::endl; - if(mat.name[0]=='g') { - std::cout << "Render NOT: " << name << std::endl; - return; - } - mat.diffuse.print(mat.name); +// if(mat.name[0]=='g') { +// std::cout << "Render NOT: " << name << std::endl; +// return; +// } +// mat.diffuse.print(mat.name); glBegin(GL_LINES); for(unsigned int i=0; i