From bb150e6feb32e18f7752fa2309b1698b561df773 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Fri, 27 Nov 2015 10:12:19 -0500 Subject: [PATCH] MPR's union problem solved. --- lib/cpPlugins/Interface/BaseMPRWidget.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/cpPlugins/Interface/BaseMPRWidget.h b/lib/cpPlugins/Interface/BaseMPRWidget.h index 6ae116c..d3b89dd 100644 --- a/lib/cpPlugins/Interface/BaseMPRWidget.h +++ b/lib/cpPlugins/Interface/BaseMPRWidget.h @@ -123,11 +123,8 @@ namespace cpPlugins { enum { IMAGE, MESH } Tag; DataObject* Source; - union - { - vtkImageData* Image; - PolyDataActor Mesh; - }; + vtkImageData* Image; + PolyDataActor Mesh; Data( ); virtual ~Data( ); -- 2.47.1