diff --git a/common/lc_context.cpp b/common/lc_context.cpp index 67bd6776..3a97689b 100644 --- a/common/lc_context.cpp +++ b/common/lc_context.cpp @@ -399,6 +399,8 @@ void lcContext::DrawMeshSection(lcMesh* Mesh, lcMeshSection* Section) void lcContext::DrawOpaqueMeshes(const lcMatrix44& ViewMatrix, const lcArray& OpaqueMeshes) { + bool DrawLines = lcGetPreferences().mDrawEdgeLines; + for (int MeshIdx = 0; MeshIdx < OpaqueMeshes.GetSize(); MeshIdx++) { lcRenderMesh& RenderMesh = OpaqueMeshes[MeshIdx]; @@ -439,10 +441,15 @@ void lcContext::DrawOpaqueMeshes(const lcMatrix44& ViewMatrix, const lcArray