From: Eduardo DAVILA Date: Thu, 27 Jul 2023 21:26:11 +0000 (+0200) Subject: #3507 BackFace in PolyDataToActor Box X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9ee76b7adc8dcad44c770f006fbce154a6bb929f;p=bbtk.git #3507 BackFace in PolyDataToActor Box --- diff --git a/packages/vtk/src/bbvtkPolyDataToActor.cxx b/packages/vtk/src/bbvtkPolyDataToActor.cxx index 870096b..4fbdafc 100644 --- a/packages/vtk/src/bbvtkPolyDataToActor.cxx +++ b/packages/vtk/src/bbvtkPolyDataToActor.cxx @@ -207,8 +207,8 @@ printf("EED WARNNING! PolyDataToActor::DoProcess which is the default values o { double r,g,b; r = bbGetInputBackFaceColour()[0]; - g = bbGetInputBackFaceColour()[0]; - b = bbGetInputBackFaceColour()[0]; + g = bbGetInputBackFaceColour()[1]; + b = bbGetInputBackFaceColour()[2]; backfaceproperty->SetColor(r, g, b); backfaceproperty->SetOpacity( bbGetInputOpacity() ); vtkactor->SetBackfaceProperty( backfaceproperty );