Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer

This commit is contained in:
enricoturri1966 2020-07-22 10:37:35 +02:00
commit 8e679d8b75
2 changed files with 4 additions and 0 deletions

View File

@ -1099,6 +1099,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("ironing_type", coEnum); def = this->add("ironing_type", coEnum);
def->label = L("Ironing Type"); def->label = L("Ironing Type");
def->category = L("Ironing");
def->tooltip = L("Ironing Type"); def->tooltip = L("Ironing Type");
def->enum_keys_map = &ConfigOptionEnum<IroningType>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<IroningType>::get_enum_values();
def->enum_values.push_back("top"); def->enum_values.push_back("top");
@ -1122,6 +1123,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("ironing_spacing", coFloat); def = this->add("ironing_spacing", coFloat);
def->label = L("Spacing between ironing passes"); def->label = L("Spacing between ironing passes");
def->category = L("Ironing");
def->tooltip = L("Distance between ironing lines"); def->tooltip = L("Distance between ironing lines");
def->sidetext = L("mm"); def->sidetext = L("mm");
def->min = 0; def->min = 0;

View File

@ -94,6 +94,7 @@ ObjectList::ObjectList(wxWindow* parent) :
// ptFFF // ptFFF
CATEGORY_ICON[L("Layers and Perimeters")] = create_scaled_bitmap("layers"); CATEGORY_ICON[L("Layers and Perimeters")] = create_scaled_bitmap("layers");
CATEGORY_ICON[L("Infill")] = create_scaled_bitmap("infill"); CATEGORY_ICON[L("Infill")] = create_scaled_bitmap("infill");
CATEGORY_ICON[L("Ironing")] = create_scaled_bitmap("infill"); // FIXME when the ironing icon is available
CATEGORY_ICON[L("Support material")] = create_scaled_bitmap("support"); CATEGORY_ICON[L("Support material")] = create_scaled_bitmap("support");
CATEGORY_ICON[L("Speed")] = create_scaled_bitmap("time"); CATEGORY_ICON[L("Speed")] = create_scaled_bitmap("time");
CATEGORY_ICON[L("Extruders")] = create_scaled_bitmap("funnel"); CATEGORY_ICON[L("Extruders")] = create_scaled_bitmap("funnel");
@ -644,6 +645,7 @@ void ObjectList::msw_rescale_icons()
// ptFFF // ptFFF
CATEGORY_ICON[L("Layers and Perimeters")] = create_scaled_bitmap("layers"); CATEGORY_ICON[L("Layers and Perimeters")] = create_scaled_bitmap("layers");
CATEGORY_ICON[L("Infill")] = create_scaled_bitmap("infill"); CATEGORY_ICON[L("Infill")] = create_scaled_bitmap("infill");
CATEGORY_ICON[L("Ironing")] = create_scaled_bitmap("infill"); // FIXME when the ironing icon is available
CATEGORY_ICON[L("Support material")] = create_scaled_bitmap("support"); CATEGORY_ICON[L("Support material")] = create_scaled_bitmap("support");
CATEGORY_ICON[L("Speed")] = create_scaled_bitmap("time"); CATEGORY_ICON[L("Speed")] = create_scaled_bitmap("time");
CATEGORY_ICON[L("Extruders")] = create_scaled_bitmap("funnel"); CATEGORY_ICON[L("Extruders")] = create_scaled_bitmap("funnel");