Removed the vertical space in the below information about how to use gizmo for all painting gizmos.
This commit is contained in:
parent
fb3ed367ad
commit
992a279bef
3 changed files with 2 additions and 6 deletions
|
@ -129,7 +129,6 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
|
||||||
for (const auto &t : std::array<std::string, 3>{"enforce", "block", "remove"})
|
for (const auto &t : std::array<std::string, 3>{"enforce", "block", "remove"})
|
||||||
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
||||||
|
|
||||||
m_imgui->text("");
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
ImGui::AlignTextToFramePadding();
|
ImGui::AlignTextToFramePadding();
|
||||||
|
|
|
@ -42,7 +42,6 @@ void GLGizmoMmuSegmentation::on_shutdown()
|
||||||
|
|
||||||
std::string GLGizmoMmuSegmentation::on_get_name() const
|
std::string GLGizmoMmuSegmentation::on_get_name() const
|
||||||
{
|
{
|
||||||
// FIXME Lukas H.: Discuss and change shortcut
|
|
||||||
return _u8L("Multimaterial painting");
|
return _u8L("Multimaterial painting");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +106,6 @@ void GLGizmoMmuSegmentation::init_extruders_data()
|
||||||
|
|
||||||
bool GLGizmoMmuSegmentation::on_init()
|
bool GLGizmoMmuSegmentation::on_init()
|
||||||
{
|
{
|
||||||
// FIXME Lukas H.: Discuss and change shortcut
|
|
||||||
m_shortcut_key = WXK_CONTROL_N;
|
m_shortcut_key = WXK_CONTROL_N;
|
||||||
|
|
||||||
m_desc["reset_direction"] = _L("Reset direction");
|
m_desc["reset_direction"] = _L("Reset direction");
|
||||||
|
@ -289,7 +287,6 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
||||||
for (const auto &t : std::array<std::string, 3>{"first_color", "second_color", "remove"})
|
for (const auto &t : std::array<std::string, 3>{"first_color", "second_color", "remove"})
|
||||||
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
||||||
|
|
||||||
m_imgui->text("");
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
ImGui::AlignTextToFramePadding();
|
ImGui::AlignTextToFramePadding();
|
||||||
|
@ -400,7 +397,7 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::SameLine(cursor_type_offset +cursor_type_radio_sphere + m_imgui->scaled(0.f));
|
ImGui::SameLine(cursor_type_offset + cursor_type_radio_sphere + m_imgui->scaled(0.f));
|
||||||
ImGui::PushItemWidth(cursor_type_radio_circle);
|
ImGui::PushItemWidth(cursor_type_radio_circle);
|
||||||
|
|
||||||
if (m_imgui->radio_button(m_desc["circle"], m_cursor_type == TriangleSelector::CursorType::CIRCLE))
|
if (m_imgui->radio_button(m_desc["circle"], m_cursor_type == TriangleSelector::CursorType::CIRCLE))
|
||||||
|
|
|
@ -119,7 +119,7 @@ void GLGizmoSeam::on_render_input_window(float x, float y, float bottom_limit)
|
||||||
for (const auto &t : std::array<std::string, 3>{"enforce", "block", "remove"})
|
for (const auto &t : std::array<std::string, 3>{"enforce", "block", "remove"})
|
||||||
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
draw_text_with_caption(m_desc.at(t + "_caption"), m_desc.at(t));
|
||||||
|
|
||||||
m_imgui->text("");
|
ImGui::Separator();
|
||||||
|
|
||||||
if (m_imgui->button(m_desc.at("remove_all"))) {
|
if (m_imgui->button(m_desc.at("remove_all"))) {
|
||||||
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _L("Reset selection"),
|
Plater::TakeSnapshot snapshot(wxGetApp().plater(), _L("Reset selection"),
|
||||||
|
|
Loading…
Reference in a new issue