Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mlivesu committed Jun 3, 2024
1 parent e0617e8 commit 75e8b55
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/48_SE/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ int main(int argc, char **argv)
data.store_stripes = true; // for visualization
data.step_by_step = true;

DrawableTrimesh<>res = data.m;
res.poly_set_flag(HIDDEN,true);
res.updateGL();
DrawableTrimesh<>res;

GLcanvas gui0,gui1;
gui0.show_side_bar = true;
Expand Down Expand Up @@ -125,6 +123,10 @@ int main(int argc, char **argv)
stripe_embedding(data);
if(data.converged) stats(data);

res = data.m;
res.poly_set_flag(HIDDEN,true);
res.updateGL();

// copy coords to res mesh
for(uint vid=0; vid<data.m.num_verts(); ++vid)
{
Expand Down

0 comments on commit 75e8b55

Please sign in to comment.