mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 09:35:52 +08:00
Don't allow part type change to modifier type in SLA mode
This commit is contained in:
parent
440df505b4
commit
bb82ce90c9
@ -1707,6 +1707,7 @@ void GLGizmoEmboss::draw_model_type()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wxGetApp().plater()->printer_technology() != ptSLA) {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (type == modifier) {
|
if (type == modifier) {
|
||||||
draw_icon(IconType::modifier, IconState::hovered);
|
draw_icon(IconType::modifier, IconState::hovered);
|
||||||
@ -1720,6 +1721,7 @@ void GLGizmoEmboss::draw_model_type()
|
|||||||
ImGui::SetTooltip("%s", _u8L("Click to change part type into modifier.").c_str());
|
ImGui::SetTooltip("%s", _u8L("Click to change part type into modifier.").c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (m_volume != nullptr && new_type.has_value() && !is_last_solid_part) {
|
if (m_volume != nullptr && new_type.has_value() && !is_last_solid_part) {
|
||||||
GUI_App &app = wxGetApp();
|
GUI_App &app = wxGetApp();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user