]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx
#2692 bbGEditor Feature New Normal - Name of the package in the box type for BBS...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / InterpreterBBS.cxx
index 244c771ac8ebd7b772c8975d17e8a91a80501337..e32a02aae21b1eac2eeaf376b78d95d1bc679660 100644 (file)
@@ -111,7 +111,8 @@ namespace bbtk
        {
                _yGeneral                               = _yGeneral - 30;
                std::string packagename = _factory->GetPackageNameOfaBlackBox(boxType);
-               int idBox                               = _sceneManager->createGBlackBox( 0,0, packagename ,boxType);
+               std::string boxType2    = _factory->GetTypeNameOfaBlackBox(boxType);
+               int idBox                               = _sceneManager->createGBlackBox( 0,0, packagename ,boxType2);
                _countBoxes++;
                double px                               = _xGeneral + (_countBoxes%2)*100;
                double py                               = _yGeneral;