mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
GLCanvas3DManager moved from being a static member of _3DScene to be a normal member of GUI_App
This commit is contained in:
parent
47604b6326
commit
0b629eb905
24 changed files with 738 additions and 24 deletions
|
@ -527,8 +527,10 @@ int CLI::run(int argc, char **argv)
|
|||
gui->mainframe->load_config(m_extra_config);
|
||||
});
|
||||
int result = wxEntry(argc, argv);
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
//FIXME this is a workaround for the PrusaSlicer 2.1 release.
|
||||
_3DScene::destroy();
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
return result;
|
||||
#else /* SLIC3R_GUI */
|
||||
// No GUI support. Just print out a help.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue