mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 08:51:59 +08:00
Removed code for thumbnails compression
This commit is contained in:
parent
32eebf85e0
commit
004a64a651
@ -261,7 +261,6 @@ struct BinarizerConfig
|
||||
{
|
||||
ECompressionType file_metadata{ ECompressionType::None };
|
||||
ECompressionType printer_metadata{ ECompressionType::None };
|
||||
ECompressionType thumbnail{ ECompressionType::None };
|
||||
ECompressionType print_metadata{ ECompressionType::None };
|
||||
ECompressionType slicer_metadata{ ECompressionType::None };
|
||||
ECompressionType gcode{ ECompressionType::None };
|
||||
@ -299,6 +298,7 @@ private:
|
||||
|
||||
//=====================================================================================================================================
|
||||
//
|
||||
// GCODEVIEWER INTERFACE
|
||||
// FIRMWARE INTERFACE
|
||||
//
|
||||
//=====================================================================================================================================
|
||||
|
@ -7898,20 +7898,10 @@ void GLCanvas3D::show_binary_gcode_debug_window()
|
||||
if (imgui.combo(std::string("##printer_metadata_compression"), options, option_id, ImGuiComboFlags_HeightLargest, 0.0f, 175.0f))
|
||||
binarizer_config.compression.printer_metadata = (BinaryGCode::ECompressionType)option_id;
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableSetColumnIndex(0);
|
||||
imgui.text_colored(ImGuiWrapper::COL_ORANGE_LIGHT, "Thumbnail compression");
|
||||
ImGui::TableSetColumnIndex(1);
|
||||
options = { "None" };
|
||||
option_id = (int)binarizer_config.compression.thumbnail;
|
||||
if (imgui.combo(std::string("##thumbnail_compression"), options, option_id, ImGuiComboFlags_HeightLargest, 0.0f, 175.0f))
|
||||
binarizer_config.compression.thumbnail = (BinaryGCode::ECompressionType)option_id;
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableSetColumnIndex(0);
|
||||
imgui.text_colored(ImGuiWrapper::COL_ORANGE_LIGHT, "Print metadata compression");
|
||||
ImGui::TableSetColumnIndex(1);
|
||||
options = { "None", "heatshrink 11,4", "heatshrink 12,4" };
|
||||
option_id = (int)binarizer_config.compression.print_metadata;
|
||||
if (imgui.combo(std::string("##print_metadata_compression"), options, option_id, ImGuiComboFlags_HeightLargest, 0.0f, 175.0f))
|
||||
binarizer_config.compression.print_metadata = (BinaryGCode::ECompressionType)option_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user