Skip to content

Commit

Permalink
enabled reset radio button for manual digging
Browse files Browse the repository at this point in the history
  • Loading branch information
mlivesu committed Nov 23, 2023
1 parent b041130 commit 3e5e8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cinolib/gl/volume_mesh_controls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void VolumeMeshControls<Mesh>::header_manual_digging(const bool open)
if(ImGui::RadioButton("Dig ", &dig_choice, DIG )) gui->callback_mouse_left_click = func_dig;
if(ImGui::RadioButton("Undig ", &dig_choice, UNDIG )) gui->callback_mouse_left_click = func_undig;
if(ImGui::RadioButton("Isolate", &dig_choice, ISOLATE)) gui->callback_mouse_left_click = func_isolate;
if(ImGui::RadioButton("Reset ", &dig_choice, RESET )) gui->callback_mouse_left_click = nullptr;
if(ImGui::RadioButton("Reset ", &dig_choice, RESET )) { m->poly_set_flag(HIDDEN,false); m->updateGL(); }
ImGui::TreePop();
}
}
Expand Down

0 comments on commit 3e5e8a6

Please sign in to comment.