X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FInterpreterBBS.cxx;h=e32a02aae21b1eac2eeaf376b78d95d1bc679660;hb=a3c95f8a4a71a532a46804e8c4f213aa2188d73b;hp=244c771ac8ebd7b772c8975d17e8a91a80501337;hpb=6175f5e27f2597deedac398b27df03418e4e3478;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx index 244c771..e32a02a 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx @@ -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;