Skip to content
Browse files

fixed Issue 3: heeksart does not build

  • Loading branch information...
1 parent 43fe17d commit 8d5a80f98b4bd76dcc6039d7d70c0087364bfae2 danheeks committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 Mesh.cpp
View
3 Mesh.cpp
@@ -8,6 +8,7 @@
#include "MeshEdge.h"
#include "Matrix.h"
#include "interface/Tool.h"
+#include "interface/Material.h"
#include "interface/MarkedObject.h"
#include "tinyxml/tinyxml.h"
@@ -113,7 +114,7 @@ void CMesh::DestroyChildDisplayLists(){
void CMesh::render_elements(bool select, bool selected, bool no_colour){
if(m_display_faces){
if(!no_colour){
- HeeksColor(64, 220, 64).glMaterial(1);
+ Material(HeeksColor(64, 220, 64)).glMaterial(1);
glEnable(GL_LIGHTING);
}

0 comments on commit 8d5a80f

Please sign in to comment.
Something went wrong with that request. Please try again.