X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FOCCViewer%2FOCCViewer_ClipPlane.cxx;h=3972a9ff611e0ecc515c2c2a5f7027336e279893;hb=f52f29e2784cc9ab3e4d7910354edaa4fa75a6db;hp=f94721663250db5690dd92a9c786430be564266f;hpb=fb6bb99036f71260be8090f7107f2ddbe275d839;p=modules%2Fgui.git diff --git a/src/OCCViewer/OCCViewer_ClipPlane.cxx b/src/OCCViewer/OCCViewer_ClipPlane.cxx index f94721663..3972a9ff6 100644 --- a/src/OCCViewer/OCCViewer_ClipPlane.cxx +++ b/src/OCCViewer/OCCViewer_ClipPlane.cxx @@ -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; }