X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FInterpreterBBS.cxx;h=e68430fab46c5f9659b20d7b8906da4afcbf10fe;hb=a28e6f908ae524e5ef4b70dba487e88cc525d27c;hp=3bd1dcf6eeb4cbeca5419b6cac9cdbf1cd7c6100;hpb=374fe79069e8d99555db1f819a3a03f1ba2f5fe6;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx index 3bd1dcf..e68430f 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx @@ -61,8 +61,7 @@ namespace bbtk _xGeneral = -100; _yGeneral = 100; - _zGeneral = 900; // ????? -printf("EED InterpreterBBS::createGBlackBox 900-450\n"); + _zGeneral = GPOSITION_Z; // ????? _countBoxes = 0; _countInputs = 0; @@ -114,7 +113,7 @@ printf("EED InterpreterBBS::createGBlackBox 900-450\n"); { double xIn = -100+50+_countInputs*50; double yIn = 100; - double zIn = 900; + double zIn = GPOSITION_Z; _sceneManager->configGComBoxInputOutputPort(true,name,xIn,yIn,zIn); _sceneManager->configGConnetion( name,name,box,input); _countInputs++; @@ -129,7 +128,7 @@ printf("EED InterpreterBBS::createGBlackBox 900-450\n"); _yGeneral = _yGeneral - 30; double xIn = -100+_countOutputs*30; double yIn = _yGeneral; - double zIn = 900; + double zIn = GPOSITION_Z; _sceneManager->configGComBoxInputOutputPort(false,name,xIn,yIn,zIn); _sceneManager->configGConnetion( box,output,name,name); _countOutputs++;