From b61ee7faf179ec9bc88c9c84bcd526f79d8165c4 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 15 Dec 2015 11:28:39 +0100 Subject: [PATCH] #2692 bbGEditor Feature New Normal - Name of the package in the box type for BBS files --- .../bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index d334129..c5f563d 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -1504,6 +1504,7 @@ std::string wxVtkSceneManager::getDiagramBBS(bool wln) { } else { + script += LineNumber(wln, lnNmbr); script += "connect "; script += startBox->getBBTKName(); script += "."; @@ -1519,13 +1520,17 @@ std::string wxVtkSceneManager::getDiagramBBS(bool wln) { script += "\n"; } + script += LineNumber(wln, lnNmbr); script += "\n"; } script += LineNumber(wln, lnNmbr); script += "\n"; + script += LineNumber(wln, lnNmbr); script += "\n"; + + script += LineNumber(wln, lnNmbr); script += "# Complex input ports\n"; script += complexInputs; @@ -1631,6 +1636,7 @@ std::string wxVtkSceneManager::saveComplexBoxBBS() { GObjectController *control = _controllers[id]; GBlackBoxModel *model = (GBlackBoxModel*) control->getModel(); + script += model->getBBTKPackage()+":"; script += model->getBBTKType(); script += " "; script += model->getBBTKName(); -- 2.47.1