mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-11 16:00:17 -07:00
Get to a compilable state
Everything seems to be working (including the plater). I am not seeing any graphical issues
This commit is contained in:
parent
dc062f1a1a
commit
03754b5213
18 changed files with 149 additions and 147 deletions
|
|
@ -304,7 +304,7 @@ wxWindow* BitmapChoiceRenderer::CreateEditorCtrl(wxWindow* parent, wxRect labelR
|
|||
if (can_create_editor_ctrl && !can_create_editor_ctrl())
|
||||
return nullptr;
|
||||
|
||||
std::vector<wxBitmap*> icons = get_extruder_color_icons();
|
||||
std::vector<wxBitmapBundle*> icons = get_extruder_color_icons();
|
||||
if (icons.empty())
|
||||
return nullptr;
|
||||
|
||||
|
|
@ -320,7 +320,7 @@ wxWindow* BitmapChoiceRenderer::CreateEditorCtrl(wxWindow* parent, wxRect labelR
|
|||
c_editor->Append(_L("default"), *get_default_extruder_color_icon());
|
||||
|
||||
for (size_t i = 0; i < icons.size(); i++)
|
||||
c_editor->Append(wxString::Format("%d", i+1), *icons[i]);
|
||||
c_editor->Append(wxString::Format("%d", i+1), icons[i]->GetBitmapFor(parent)); //OcraftyoneTODO: quick n dirty conversion
|
||||
|
||||
if (has_default_extruder && has_default_extruder())
|
||||
c_editor->SetSelection(atoi(data.GetText().c_str()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue