ENH:add "Snap Global Parameters" imgui text

Jira: STUDIO-4959
Change-Id: Id410e318a4bc08da398dd7f4401ad211f6d03226
This commit is contained in:
zhou.xu 2023-10-31 15:37:30 +08:00 committed by Lane.Wei
parent 1c416d5781
commit 008676510c
1 changed files with 1 additions and 0 deletions

View File

@ -2140,6 +2140,7 @@ void GLGizmoAdvancedCut::render_connectors_input_window(float x, float y, float
connectors[idx].radius_tolerance = m_connector_size_tolerance;
});
if (m_connector_type == CutConnectorType::Snap) {
m_imgui->text(_L("Snap global parameters") +": ");
const std::string format = "%.0f %%";
bool is_changed = false;
if (render_slider_double_input_by_format(_u8L("Bulge"), m_snap_bulge_proportion, 5.f, 100.f * m_snap_space_proportion, DoubleShowType::PERCENTAGE)) {