mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
remove: Revert "ENH: support default filament for volumes"
This reverts commit 8f1b7d6e8b603e32bc1fa5d52fd0ab6dd8ddcb29. Change-Id: I73ac458be7d2d5d1f9c0a976e936f3f97c90f57d
This commit is contained in:
parent
1c3375bb07
commit
95c285b5c1
8 changed files with 62 additions and 106 deletions
|
@ -689,9 +689,7 @@ void MenuFactory::append_menu_item_change_extruder(wxMenu* menu)
|
|||
initial_extruder = config.has("extruder") ? config.extruder() : 1;
|
||||
}
|
||||
|
||||
ItemType sel_type = obj_list()->get_item_type(sels[0]);
|
||||
int i = (sel_type & ItemType::itVolume) ? 0 : 1;
|
||||
for (; i < filaments_cnt; i++)
|
||||
for (int i = 0; i <= filaments_cnt; i++)
|
||||
{
|
||||
bool is_active_extruder = i == initial_extruder;
|
||||
int icon_idx = i == 0 ? 0 : i - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue