mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:55:59 +08:00
Gizmo Measure - Added [Restart selection] button to imgui dialog
This commit is contained in:
parent
543950bf4b
commit
a03528e55a
@ -1775,13 +1775,13 @@ void GLGizmoMeasure::on_render_input_window(float x, float y, float bottom_limit
|
|||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (m_selected_features.first.feature.has_value()) {
|
m_imgui->disabled_begin(!m_selected_features.first.feature.has_value());
|
||||||
// if (m_imgui->button(_u8L("Restart"))) {
|
if (m_imgui->button(_u8L("Restart selection"))) {
|
||||||
// m_selected_features.reset();
|
m_selected_features.reset();
|
||||||
// m_selection_raycasters.clear();
|
m_selection_raycasters.clear();
|
||||||
// m_imgui->set_requires_extra_frame();
|
m_imgui->set_requires_extra_frame();
|
||||||
// }
|
}
|
||||||
//}
|
m_imgui->disabled_end();
|
||||||
|
|
||||||
auto add_measure_row_to_table = [this](const std::string& col_1, const ImVec4& col_1_color, const std::string& col_2, const ImVec4& col_2_color) {
|
auto add_measure_row_to_table = [this](const std::string& col_1, const ImVec4& col_1_color, const std::string& col_2, const ImVec4& col_2_color) {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user