mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH:move get_extruders_colors api to plater class
jira: none Change-Id: I8c2b31d4963b01cb193b7f2a2a3650cf7252ebc5 (cherry picked from commit 3eeabc0722027b789c59130762bd57c2745cf188)
This commit is contained in:
@@ -2165,7 +2165,7 @@ void GLCanvas3D::render_thumbnail(ThumbnailData& thumbnail_data, unsigned int w,
|
||||
else
|
||||
shader = wxGetApp().get_shader("thumbnail");
|
||||
ModelObjectPtrs& model_objects = GUI::wxGetApp().model().objects;
|
||||
std::vector<ColorRGBA> colors = ::get_extruders_colors();
|
||||
std::vector<ColorRGBA> colors = wxGetApp().plater()->get_extruders_colors();
|
||||
switch (OpenGLManager::get_framebuffers_type())
|
||||
{
|
||||
case OpenGLManager::EFramebufferType::Arb:
|
||||
|
||||
Reference in New Issue
Block a user