NEW:render wrapping_detection_triangles
jira: none Change-Id: Ifdbd1ae8c3906abd235177f68fe0444bbcecb8ba (cherry picked from commit d7df1b8a9c172731cdfb42371153f8781c268aad) (cherry picked from commit 1277955c5f8e81f01c07408debc1338acac667cb) (cherry picked from commit c09de4cff5dcae942e91feae3fafb097e33563b7)
This commit is contained in:
@@ -4932,6 +4932,13 @@ std::map<std::string, std::string> Plater::get_bed_texture_maps()
|
||||
return {};
|
||||
}
|
||||
|
||||
bool Plater::get_enable_wrapping_detection()
|
||||
{
|
||||
const DynamicPrintConfig & printer_config = wxGetApp().preset_bundle->printers.get_edited_preset().config;
|
||||
const ConfigOptionBool * wrapping_detection = printer_config.option<ConfigOptionBool>("enable_wrapping_detection");
|
||||
return (wrapping_detection != nullptr) && wrapping_detection->value;
|
||||
}
|
||||
|
||||
wxColour Plater::get_next_color_for_filament()
|
||||
{
|
||||
static int curr_color_filamenet = 0;
|
||||
|
||||
Reference in New Issue
Block a user