ENH:add "Snap Global Parameters" imgui text
Jira: STUDIO-4959 Change-Id: Id410e318a4bc08da398dd7f4401ad211f6d03226
This commit is contained in:
parent
1c416d5781
commit
008676510c
|
@ -2140,6 +2140,7 @@ void GLGizmoAdvancedCut::render_connectors_input_window(float x, float y, float
|
||||||
connectors[idx].radius_tolerance = m_connector_size_tolerance;
|
connectors[idx].radius_tolerance = m_connector_size_tolerance;
|
||||||
});
|
});
|
||||||
if (m_connector_type == CutConnectorType::Snap) {
|
if (m_connector_type == CutConnectorType::Snap) {
|
||||||
|
m_imgui->text(_L("Snap global parameters") +": ");
|
||||||
const std::string format = "%.0f %%";
|
const std::string format = "%.0f %%";
|
||||||
bool is_changed = false;
|
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)) {
|
if (render_slider_double_input_by_format(_u8L("Bulge"), m_snap_bulge_proportion, 5.f, 100.f * m_snap_space_proportion, DoubleShowType::PERCENTAGE)) {
|
||||||
|
|
Loading…
Reference in New Issue