Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Python container is obsolete
[modules/gui.git]
/
src
/
OCCViewer
/
OCCViewer_ClipPlane.cxx
diff --git
a/src/OCCViewer/OCCViewer_ClipPlane.cxx
b/src/OCCViewer/OCCViewer_ClipPlane.cxx
index f94721663250db5690dd92a9c786430be564266f..3972a9ff611e0ecc515c2c2a5f7027336e279893 100644
(file)
--- 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;
}