cad/PrusaSlicer: 3D view not rendered

Apply a hack to fix this issue until this is sorted out upstream.

Bump PORTREVISION

See https://github.com/prusa3d/PrusaSlicer/issues/6396

PR:	255690
Reported by:	a.parseg@gmail.com
Tested by:	a.parseg@gmail.com, mr@, teodorsigaev@gmail.com
This commit is contained in:
Fernando Apesteguía 2021-08-04 11:58:32 +02:00
parent e20d8c03aa
commit b519599f37
2 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX=version_
DISTVERSION= 2.3.0
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= cad
MAINTAINER= teodorsigaev@gmail.com

View File

@ -0,0 +1,12 @@
--- src/slic3r/GUI/OpenGLManager.cpp.orig 2021-08-03 16:17:35 UTC
+++ src/slic3r/GUI/OpenGLManager.cpp
@@ -237,7 +237,8 @@ bool OpenGLManager::init_gl()
if (!m_gl_initialized) {
if (glewInit() != GLEW_OK) {
BOOST_LOG_TRIVIAL(error) << "Unable to init glew library";
- return false;
+ /* Ugly fix for https://github.com/prusa3d/PrusaSlicer/issues/6396 */
+ //return false;
}
m_gl_initialized = true;
if (GLEW_EXT_texture_compression_s3tc)