]> Creatis software - clitk.git/commitdiff
#61 Remove undesired variable declaration in vvBinaryImageOverlayActor
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 9 Mar 2018 15:36:18 +0000 (16:36 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 9 Mar 2018 15:36:18 +0000 (16:36 +0100)
vv/vvBinaryImageOverlayActor.cxx

index 7da2edcc78da26165e33293b35ff6792bd3b4e71..1c18def90c2216c5b2d24c7ef3a0834e2f917513 100644 (file)
@@ -120,7 +120,7 @@ void vvBinaryImageOverlayActor::Initialize(bool IsVisible)
       mFusionReslice->SetBackgroundColor(-1000,-1000,-1000,1);
     }
 
-    vtkSmartPointer<vtkTransform> mConcatenatedFusionTransform = vtkSmartPointer<vtkTransform>::New();
+    mConcatenatedFusionTransform = vtkSmartPointer<vtkTransform>::New();
     mConcatenatedFusionTransform->Identity();
     if (!mImage->GetTransform().empty()){
       mConcatenatedFusionTransform->Concatenate(mImage->GetTransform()[0]);