]> Creatis software - bbtkGEditor.git/commitdiff
#2692 bbGEditor Feature New Normal - Name of the package in the box type for BBS...
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 15 Dec 2015 10:28:39 +0000 (11:28 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 15 Dec 2015 10:28:39 +0000 (11:28 +0100)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx

index d334129e967a9914b7ba8011441538ad2a30d7bf..c5f563d841719eee7fe7796d36a719cec1e80c09 100644 (file)
@@ -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();