mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed conflicts after merge with master
This commit is contained in:
commit
aa49575e0f
22 changed files with 8 additions and 844 deletions
|
@ -1853,10 +1853,6 @@ void _3DScene::point3_to_verts(const Vec3crd& point, double width, double height
|
|||
thick_point_to_verts(point, width, height, volume);
|
||||
}
|
||||
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
GUI::GLCanvas3DManager _3DScene::s_canvas_mgr;
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
GLModel::GLModel()
|
||||
: m_filename("")
|
||||
{
|
||||
|
@ -2147,41 +2143,4 @@ bool GLBed::on_init_from_file(const std::string& filename)
|
|||
return true;
|
||||
}
|
||||
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
std::string _3DScene::get_gl_info(bool format_as_html, bool extensions)
|
||||
{
|
||||
return Slic3r::GUI::GLCanvas3DManager::get_gl_info().to_string(format_as_html, extensions);
|
||||
}
|
||||
|
||||
bool _3DScene::add_canvas(wxGLCanvas* canvas, GUI::Bed3D& bed, GUI::Camera& camera, GUI::GLToolbar& view_toolbar)
|
||||
{
|
||||
return s_canvas_mgr.add(canvas, bed, camera, view_toolbar);
|
||||
}
|
||||
|
||||
bool _3DScene::remove_canvas(wxGLCanvas* canvas)
|
||||
{
|
||||
return s_canvas_mgr.remove(canvas);
|
||||
}
|
||||
|
||||
void _3DScene::remove_all_canvases()
|
||||
{
|
||||
s_canvas_mgr.remove_all();
|
||||
}
|
||||
|
||||
bool _3DScene::init(wxGLCanvas* canvas)
|
||||
{
|
||||
return s_canvas_mgr.init(canvas);
|
||||
}
|
||||
|
||||
void _3DScene::destroy()
|
||||
{
|
||||
s_canvas_mgr.destroy();
|
||||
}
|
||||
|
||||
GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas)
|
||||
{
|
||||
return s_canvas_mgr.get_canvas(canvas);
|
||||
}
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
} // namespace Slic3r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue