mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Feat: 1. Vertical and horizontal mode for painting 2. Optimize Camera behavior (#2424)
* fix camera and update locale * Paint horizontally or vertically
This commit is contained in:
parent
53c416b819
commit
388b483774
28 changed files with 557 additions and 336 deletions
|
@ -711,6 +711,18 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
|||
ImGui::BBLDragFloat("##gap_area_input", &TriangleSelectorPatch::gap_area, 0.05f, 0.0f, 0.0f, "%.2f");
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
if(m_imgui->bbl_checkbox(_L("Vertical"), m_vertical_only)){
|
||||
if(m_vertical_only){
|
||||
m_horizontal_only = false;
|
||||
}
|
||||
}
|
||||
if(m_imgui->bbl_checkbox(_L("Horizontal"), m_horizontal_only)){
|
||||
if(m_horizontal_only){
|
||||
m_vertical_only = false;
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(6.0f, 10.0f));
|
||||
float get_cur_y = ImGui::GetContentRegionMax().y + ImGui::GetFrameHeight() + y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue