FIX: Crash when perform cut
"keep upper" and "keep lower" may be not checked when check "Cut to parts" Change-Id: I8f902d3013e465f0a672369f1b732cce5f30f66d
This commit is contained in:
parent
ab17e418cf
commit
63acf7f6f0
|
@ -1450,6 +1450,10 @@ void GLGizmoAdvancedCut::render_cut_plane_input_window(float x, float y, float b
|
|||
|
||||
m_imgui->disabled_begin(has_connectors);
|
||||
m_imgui->bbl_checkbox(_L("Cut to parts"), m_cut_to_parts);
|
||||
if (m_cut_to_parts) {
|
||||
m_keep_upper = true;
|
||||
m_keep_lower = true;
|
||||
}
|
||||
m_imgui->disabled_end();
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue