diff options
-rw-r--r-- | src/render/model.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/model.cc b/src/render/model.cc index 848bc49..ae34270 100644 --- a/src/render/model.cc +++ b/src/render/model.cc @@ -412,7 +412,8 @@ void Model::make_face(math::Plane3f *face, std::vector<math::Plane3f *> & planes color = new math::Color(0, 0, 0); } else if (face->texture() == "common/entity") { color = 0; - } + } else + color = new math::Color(1.0f, 0.0, 1.0f); Face *mf = new Face(face->normal()*-1, color); if (color) delete color; |