X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkCreateImage.cxx;h=2c75a26041084cd93d041a8fcc734e6aef1c948f;hb=edb8e9b8948e7216e06b3ef5228b16f18417ca52;hp=2cdb383f495994e172d5303a775aa6ea5123b095;hpb=fcd0b47bc5140620012273b34e5a90ff6f66be9d;p=bbtk.git diff --git a/packages/vtk/src/bbvtkCreateImage.cxx b/packages/vtk/src/bbvtkCreateImage.cxx index 2cdb383..2c75a26 100644 --- a/packages/vtk/src/bbvtkCreateImage.cxx +++ b/packages/vtk/src/bbvtkCreateImage.cxx @@ -53,15 +53,11 @@ void CreateImage::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') - - int dim[3]; + int dim[3]; dim[0] = bbGetInputDimensions()[0]; dim[1] = bbGetInputDimensions()[1]; dim[2] = bbGetInputDimensions()[2]; - - - - if (imageoutput!=NULL) + if (imageoutput!=NULL) { imageoutput->Delete(); imageoutput = NULL; @@ -168,10 +164,8 @@ void CreateImage::Process() #endif imageoutput->Modified(); } // if dim = 0 - bbSetOutputOut(imageoutput); - -} +} //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)