]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
WIN32 compilation.
authorrnv <rnv@opencascade.com>
Mon, 25 Nov 2013 15:53:01 +0000 (15:53 +0000)
committerrnv <rnv@opencascade.com>
Mon, 25 Nov 2013 15:53:01 +0000 (15:53 +0000)
src/OCCViewer/CMakeLists.txt
src/OCCViewer/OCCViewer_ClipPlane.cxx
src/ViewerData/ViewerData_AISShape.hxx

index 8a8c28b05fab6c4e3fc124c162cc58a568544fe5..2c0c604979c010ccb9fecc1f9560cedd8cd9291b 100755 (executable)
@@ -44,7 +44,7 @@ ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS} ${OGL_DEFINITIONS})
 # libraries to link to
 SET(_link_LIBRARIES
   ${OPENGL_LIBRARIES} ${QT_LIBRARIES} ${CAS_KERNEL} ${CAS_VIEWER}
-  CASCatch qtx suit OpenGLUtils ViewerTools
+  CASCatch qtx suit OpenGLUtils ViewerTools ViewerData
 )
 
 # --- headers ---
index f94721663250db5690dd92a9c786430be564266f..3972a9ff611e0ecc515c2c2a5f7027336e279893 100644 (file)
@@ -46,6 +46,7 @@ OrientedPlane& OrientedPlane::operator = ( const OrientedPlane& other )
   Distance = other.Distance;
   Rotation1 = other.Rotation1;
   Rotation2 = other.Rotation2;
+  return *this;
 }
 
 OCCViewer_ClipPlane::OCCViewer_ClipPlane() :
@@ -77,4 +78,5 @@ OCCViewer_ClipPlane& OCCViewer_ClipPlane::operator = ( const OCCViewer_ClipPlane
   IsInvert = other.IsInvert;
   PlaneMode = other.PlaneMode;
   IsOn = other.IsOn;
+  return *this;
 }
index 1314dda929f12dcb5b07389372ae03d808fbf966..4c41366b1211b7297a768f2ed227442d98ad4097 100644 (file)
 #include <Standard.hxx>
 #include <Standard_DefineHandle.hxx>
 
-class ViewerData_AISShape : public AIS_TexturedShape
+class  ViewerData_AISShape : public AIS_TexturedShape
 {
 public:
   Standard_EXPORT ViewerData_AISShape (const TopoDS_Shape& theShape);
 
   // checks if shape is clippable
-  inline bool IsClippable() const
+  Standard_EXPORT inline bool IsClippable() const
   {
     return myIsClippable;
   }
 
   // makes shape clippable/not clippable
-  inline void SetClippable (bool isClippable)
+  Standard_EXPORT inline void SetClippable (bool isClippable)
   {
     myIsClippable = isClippable;
   }