From a462a32a87251d7de0e246eb0f0a4a905b2efb72 Mon Sep 17 00:00:00 2001 From: riveros <> Date: Thu, 24 May 2012 10:54:32 +0000 Subject: [PATCH] Solved text message issue, when pointed a correct connection. bug 1371 --- .../bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index edbc145..192100b 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -536,7 +536,7 @@ int wxVtkSceneManager::createGConnector(GPortModel* startPort) { * Width increased from 2 to 5, it simplifies line handling and spline control :P * @param WidthLine */ - manContourView->SetWidthLine( 5 ) ; + manContourView->SetWidthLine( 3 ) ; manContourView->SetShowText(false); manContourControl->SetModelView(manContourModel, manContourView); @@ -820,7 +820,9 @@ bool wxVtkSceneManager::OnMouseMove() { int state = desc->getView()->getState(); desc->getModel()->getCenter(px, py, pz); - if (state == HIGHLIGHTED) { + // JGRR & CM + if ((state == HIGHLIGHTED) || (state == SELECTED_POSSIBLE_CONNECTION )) { + // EO JGRR & CM okStatusMessage = true; updateStatusBar(desc->getStatusText()); if (type == GBLACKBOX) { @@ -2284,9 +2286,7 @@ int wxVtkSceneManager::addObjectController(GObjectController* objController) { int newId = _contLastId;//_controllers.size(); objController->setId(newId); _controllers[newId] = objController; - std::cout - << "DFCH: int wxVtkSceneManager::addObjectController(GObjectController* objController) ---- _contLastId = " - << _contLastId << std::endl; + //std::cout << "DFCH: int wxVtkSceneManager::addObjectController(GObjectController* objController) ---- _contLastId = " << _contLastId << std::endl; _contLastId++; return newId; } -- 2.47.1