From 9ee76b7adc8dcad44c770f006fbce154a6bb929f Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 27 Jul 2023 23:26:11 +0200 Subject: [PATCH] #3507 BackFace in PolyDataToActor Box --- packages/vtk/src/bbvtkPolyDataToActor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.47.1