From: Eduardo DAVILA Date: Tue, 15 Dec 2015 10:28:39 +0000 (+0100) Subject: #2692 bbGEditor Feature New Normal - Name of the package in the box type for BBS... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=b61ee7faf179ec9bc88c9c84bcd526f79d8165c4;p=bbtkGEditor.git #2692 bbGEditor Feature New Normal - Name of the package in the box type for BBS files --- 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();