]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx
v1.1.0 BUG 1400
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / InterpreterBBS.cxx
index 3bd1dcf6eeb4cbeca5419b6cac9cdbf1cd7c6100..e68430fab46c5f9659b20d7b8906da4afcbf10fe 100644 (file)
@@ -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++;