From cbf0adf452e707e77d2e00d4d5920422693ec650 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 7 Jun 2013 08:33:21 +0200 Subject: [PATCH] 2037 Bug Visualizataion Error, The camara of the 3D window (Graph) is not configurated correctly --- .../bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index 58e8835..b6ff6fa 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -100,6 +100,11 @@ namespace bbtk { wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this); baseview->Configure(); +//EED 07 juin 2013 + baseview->GetCamera()->SetViewUp (0, 1, 0); + baseview->GetCamera()->SetPosition (0, 0, 1); + baseview->GetCamera()->SetFocalPoint (0, 0, 0); + //EED 15 oct 2012 _sceneManager=new wxVtkSceneManager(this,baseview,_id); _sceneManager=new wxVtkSceneManager(this,baseview,_id, _bbtkfactory); -- 2.45.0