From 95b0c39bbfb922f7fb91e87f3459a91ed2323377 Mon Sep 17 00:00:00 2001 From: corredor <> Date: Wed, 5 May 2010 15:08:28 +0000 Subject: [PATCH] Changements minimals --- .../bbsKernelEditorGraphic/wxVtkSceneManager.cxx | 2 -- .../bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx | 8 ++++---- .../bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx | 8 ++++++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx index 57a0358..24099d8 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx @@ -947,10 +947,8 @@ namespace bbtk { double temp[3]; _baseView->GetRenderer()->GetActiveCamera()->GetFocalPoint(temp); - printf("RaC wxVtkSceneManager::deleteAllBoxes() GetFocalPoint x:%f y:%f z:%f \n",temp[0],temp[1],temp[2]); _baseView->GetRenderer()->GetActiveCamera()->SetFocalPoint(0,0,temp[2]); _baseView->GetRenderer()->GetActiveCamera()->GetPosition(temp); - printf("RaC wxVtkSceneManager::deleteAllBoxes() GetPosition x:%f y:%f z:%f \n",temp[0],temp[1],temp[2]); _baseView->GetRenderer()->GetActiveCamera()->SetPosition(0,0,temp[2]); _baseView->RefreshView(); diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index 8d63e0d..ed6f61f 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -47,21 +47,21 @@ namespace bbtk _frameAUIMgr = new wxAuiManager(this); - //std::string datadir( crea::System::GetExecutablePath() ); + /*std::string datadir( crea::System::GetExecutablePath() ); std::string datadir ("."); cout<<"RaC //------------------"<GetLabelText()); - _model->setValueToInputPort(i,text); + std::string text = wx2std(_lstValues[i]->GetLabelText()); + //TOFIX Search a better alternative + if(text!="--No editable--" && text!="--Port Connected--") + { + _model->setValueToInputPort(i,text); + } } Close(true); -- 2.45.1