From: Leonardo Florez-Valencia Date: Fri, 27 Nov 2015 15:12:19 +0000 (-0500) Subject: MPR's union problem solved. X-Git-Tag: v0.1~289 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bb150e6feb32e18f7752fa2309b1698b561df773;p=cpPlugins.git MPR's union problem solved. --- 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( );