X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereList.cxx;fp=packages%2Fvtk%2Fsrc%2FbbvtkSphereList.cxx;h=cde4561ad0c8eb6e629f2c7bc3a26c3afa8d2fcd;hb=f5978f8e401cf2f89a55e4b4836f95b85c0c53c7;hp=5664b47464ad8ae57ed46c28c67689dd295f01d1;hpb=08ce916eba56a6111014712fc931a1cce7e8f877;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereList.cxx b/packages/vtk/src/bbvtkSphereList.cxx index 5664b47..cde4561 100644 --- a/packages/vtk/src/bbvtkSphereList.cxx +++ b/packages/vtk/src/bbvtkSphereList.cxx @@ -42,17 +42,15 @@ double SphereList::GetRadio(int i) { double radio; if ( bbGetInputlstRadio().size()==0 ) - { - radio = 1.0; - } else if ( i GetProperty() -> SetOpacity( bbGetInputOpacity() ); sphereActor[i] -> GetProperty() -> SetColor( cr,cg,cb ); vtkspheresourceLst[i] -> SetRadius( GetRadio(i) ); + vtkspheresourceLst[i] -> Update(); } // for i if (sphereActor.size() != 0)