Browse Source

model repariert *hust*

seba 12 years ago
parent
commit
35034e61aa
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      models/model.cpp

+ 5
- 5
models/model.cpp View File

@@ -29,11 +29,11 @@ void ModelObject::render() {
29 29
 // 	std::cout << "render " << name << " mit " << polygon.size()<< std::endl;
30 30
 // 	std::cout << "Vertex: " << vertex.size() << std::endl;
31 31
 
32
-	if(mat.name[0]=='g') {
33
-		std::cout << "Render NOT: " << name << std::endl;
34
-		return;
35
-	}
36
-	mat.diffuse.print(mat.name);
32
+// 	if(mat.name[0]=='g') {
33
+// 		std::cout << "Render NOT: " << name << std::endl;
34
+// 		return;
35
+// 	}
36
+// 	mat.diffuse.print(mat.name);
37 37
 	glBegin(GL_LINES);
38 38
 		for(unsigned int i=0; i<polygon.size(); i++) {
39 39
 

Loading…
Cancel
Save