#define GL_MAJOR_VERSION 0x821B
#define GL_MINOR_VERSION 0x821C
+
bool wxBBEditorApp::OnInit( )
{
-
vtkRenderWindow *renWin = vtkRenderWindow::New();
+
+ printf("EED wxBBEditorApp::OnInit >>>>> vtkRenderWindow IsDirect %d\n", renWin->IsDirect() );
+
+/* EED 2022-07-26 Segmentation fault with VTK9.2 in MacOs
int supportopengl=renWin->SupportsOpenGL();
printf("EED wxBBEditorApp::OnInit >>>>> vtkRenderWindow SupportsOpenGL %d\n", supportopengl );
- printf("EED wxBBEditorApp::OnInit >>>>> vtkRenderWindow IsDirect %d\n", renWin->IsDirect() );
renWin->Delete();
if (supportopengl==0)
{
wxMessageBox(message);
exit(0);
}
-
+*/
vtkOutputWindowbbGEditor *vtkoutputwindowbbgeditor= vtkOutputWindowbbGEditor::New();
vtkOutputWindow::SetInstance( vtkoutputwindowbbgeditor );
iegbbs->OpenBBS(input_file[i], input_file[i]);
}
}
-
return true;
}
wxVtkSceneManager::wxVtkSceneManager(wxGEditorTabPanel *parent, wxVtk3DBaseView *baseView, int idManager,Factory::Pointer bbtkfactory)
{
-
_cbName = "ComplexBoxName";
_cbPackageName = "PackageName";
_Author = "Author ??";
}
_idConnectionInCreation = -1;
_contLastId = 0;
-
}
//=========================================================================
_fillObjectActor->GetProperty()->SetOpacity(0);
_aPolygonMapper->Modified();
_baseView->GetRenderer()->AddActor(_fillObjectActor);
+
}
//=========================================================================