X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FViewerData%2FViewerData_AISShape.cxx;h=fe91800a8cd7260aad9346026fce1643c1f95327;hb=4323e4e185bc05de8215f3cc12e077f4ccf953bc;hp=4e97067eee1610fa7dc9fe69f927f7ac75d35c3b;hpb=f7f13139d540b889dd5db01d4e6e6c4470a910a5;p=modules%2Fgui.git diff --git a/src/ViewerData/ViewerData_AISShape.cxx b/src/ViewerData/ViewerData_AISShape.cxx index 4e97067ee..fe91800a8 100644 --- a/src/ViewerData/ViewerData_AISShape.cxx +++ b/src/ViewerData/ViewerData_AISShape.cxx @@ -22,26 +22,21 @@ #include "ViewerData_AISShape.hxx" -#ifdef USE_TEXTURED_SHAPE - OCCT_IMPLEMENT_STANDARD_RTTIEXT(ViewerData_AISShape, AIS_TexturedShape) -#else - OCCT_IMPLEMENT_STANDARD_RTTIEXT(ViewerData_AISShape, AIS_Shape) -#endif +IMPLEMENT_STANDARD_RTTIEXT(ViewerData_AISShape, AIS_ColoredShape) /*! - Constructor - \param shape - TopoDS shape + Constructor. + \param shape Shape to manage. */ -ViewerData_AISShape::ViewerData_AISShape (const TopoDS_Shape& theShape) -: BASE_SHAPE (theShape), - myIsClippable (true) +ViewerData_AISShape::ViewerData_AISShape(const TopoDS_Shape& theShape) +: AIS_ColoredShape(theShape), + myIsClippable(true) { } /*! - Destructor + Destructor. */ ViewerData_AISShape::~ViewerData_AISShape() { } -