From bb538211fc8f1a759894048f6cd186e272d3a5d8 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 27 Jul 2023 23:25:10 +0200 Subject: [PATCH] #3507 BackFace in PolyDataToActor Box --- packages/vtk/src/bbvtkPolyDataToActor.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/vtk/src/bbvtkPolyDataToActor.cxx b/packages/vtk/src/bbvtkPolyDataToActor.cxx index b49ff78..870096b 100644 --- a/packages/vtk/src/bbvtkPolyDataToActor.cxx +++ b/packages/vtk/src/bbvtkPolyDataToActor.cxx @@ -205,7 +205,11 @@ printf("EED WARNNING! PolyDataToActor::DoProcess which is the default values o //EED 2023-07-28 if (bbGetInputBackFaceColour().size()==3) { - backfaceproperty->SetColor(0.5, 0.5, 1); + double r,g,b; + r = bbGetInputBackFaceColour()[0]; + g = bbGetInputBackFaceColour()[0]; + b = bbGetInputBackFaceColour()[0]; + backfaceproperty->SetColor(r, g, b); backfaceproperty->SetOpacity( bbGetInputOpacity() ); vtkactor->SetBackfaceProperty( backfaceproperty ); } else { -- 2.47.1