Make the .gcode and .sl1 thumbnails configurable through printer profile.

This commit is contained in:
bubnikv 2019-11-15 17:33:31 +01:00
parent bc53c44bf4
commit b2a6a07d72
5 changed files with 17 additions and 7 deletions

View file

@ -96,6 +96,7 @@ PresetBundle::PresetBundle() :
preset.config.optptr("printer_vendor", true);
preset.config.optptr("printer_model", true);
preset.config.optptr("printer_variant", true);
preset.config.optptr("thumbnails", true);
if (i == 0) {
preset.config.optptr("default_print_profile", true);
preset.config.option<ConfigOptionStrings>("default_filament_profile", true)->values = { "" };