79e5fba255
PR: 272730 Reported by: michal.zielonka.8001@gmail.com Approved by: teodorsigaev@gmail.com (maintainer)
11 lines
502 B
C++
11 lines
502 B
C++
--- src/slic3r/GUI/GUI_Preview.hpp.orig 2023-07-25 11:01:59 UTC
|
|
+++ src/slic3r/GUI/GUI_Preview.hpp
|
|
@@ -85,7 +85,7 @@ class Preview : public wxPanel
|
|
BackgroundSlicingProcess* m_process;
|
|
GCodeProcessorResult* m_gcode_result;
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
// We are getting mysterious crashes on Linux in gtk due to OpenGL context activation GH #1874 #1955.
|
|
// So we are applying a workaround here.
|
|
bool m_volumes_cleanup_required { false };
|