Hi,

so the crash reported here seems to be due to the font not being initialized (it is passed as NULL in the traceback). If we initialize a frame before calling the CalcTextsize, this works - see the attached. It still prints errors "could not initialize glew" and the plater tab does not render, but I guess this is a first step towards something.

Best regards

Thomas
--- a/src/slic3r/GUI/HintNotification.cpp
+++ b/src/slic3r/GUI/HintNotification.cpp
@@ -560,7 +560,9 @@
 
 void NotificationManager::HintNotification::count_spaces()
 {
-	//determine line width 
+	ImGuiWrapper& imgui = *wxGetApp().imgui();
+	imgui.new_frame();
+	//determine line width
 	m_line_height = ImGui::CalcTextSize("A").y;
 
 	

Reply via email to