From 081cd2c85f2435f4e9fba6f14e6dfa8b6456295b Mon Sep 17 00:00:00 2001 From: davila Date: Thu, 29 Jan 2015 16:34:27 +0100 Subject: [PATCH] #2521 BBTK Bug New Normal - Surface Texture not accepting double format --- packages/vtk/src/bbvtkSurfaceTexture.cxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/vtk/src/bbvtkSurfaceTexture.cxx b/packages/vtk/src/bbvtkSurfaceTexture.cxx index 12d32b0..f9f0139 100644 --- a/packages/vtk/src/bbvtkSurfaceTexture.cxx +++ b/packages/vtk/src/bbvtkSurfaceTexture.cxx @@ -77,11 +77,6 @@ printf("EED SurfaceTexture::Process Start\n"); } - - - - - bbGetInputMesh()->GetPointData()->SetScalars(colors); if (bbGetInputColorType()==1) @@ -101,7 +96,7 @@ printf("EED SurfaceTexture::Process Start\n"); bbGetInputTransform()->Update(); } - unsigned short gl; + double gl; double p1[3]; double p2[3]; double dcolor[3]; @@ -145,9 +140,9 @@ void SurfaceTexture::bbUserSetDefaultValues() bbSetInputColorWindow(500); bbSetInputTransform(NULL); - firsttime = true; - colors = NULL; - colorLookupTable = NULL; + firsttime = true; + colors = NULL; + colorLookupTable = NULL; colorLookupTableWL = NULL; } //===== -- 2.44.0