]> Creatis software - cpPlugins.git/commitdiff
MPR's union problem solved.
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Nov 2015 15:12:19 +0000 (10:12 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Nov 2015 15:12:19 +0000 (10:12 -0500)
lib/cpPlugins/Interface/BaseMPRWidget.h

index 6ae116c1e847e8bc08780f7ec71c9e627e0f5209..d3b89dd8b097fba87fc354d9b10f27db01770e5d 100644 (file)
@@ -123,11 +123,8 @@ namespace cpPlugins
       {
         enum { IMAGE, MESH } Tag;
         DataObject*          Source;
-        union
-        {
-          vtkImageData* Image;
-          PolyDataActor Mesh;
-        };
+        vtkImageData*        Image;
+        PolyDataActor        Mesh;
 
         Data( );
         virtual ~Data( );