Fixed compile warning
This commit is contained in:
parent
d821fcba2d
commit
1ea541767f
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ void GLModel::init_from(const TriangleMesh& mesh)
|
||||||
#if ENABLE_SINKING_CONTOURS
|
#if ENABLE_SINKING_CONTOURS
|
||||||
void GLModel::init_from(const Polygons& polygons, float z)
|
void GLModel::init_from(const Polygons& polygons, float z)
|
||||||
{
|
{
|
||||||
auto append_polygon = [this](const Polygon& polygon, float z, GUI::GLModel::InitializationData& data) {
|
auto append_polygon = [](const Polygon& polygon, float z, GUI::GLModel::InitializationData& data) {
|
||||||
if (!polygon.empty()) {
|
if (!polygon.empty()) {
|
||||||
GUI::GLModel::InitializationData::Entity entity;
|
GUI::GLModel::InitializationData::Entity entity;
|
||||||
entity.type = GUI::GLModel::PrimitiveType::LineLoop;
|
entity.type = GUI::GLModel::PrimitiveType::LineLoop;
|
||||||
|
|
Loading…
Reference in a new issue