1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023322: Identical sub-expressions 'MyCView.Orientation.ViewReferencePoint.y != float (Y)'

Changed the duplicate 'y' to 'z'.
This commit is contained in:
Pawel 2012-07-18 12:48:11 +02:00 committed by Pawel Kowalski
parent 3f6213c322
commit 9d21a648c8

View File

@ -1258,7 +1258,7 @@ Standard_Boolean CustomIsModified = Standard_False;
VUPIsModified =
MyCView.Orientation.ViewReferencePoint.x != float (X)
|| MyCView.Orientation.ViewReferencePoint.y != float (Y)
|| MyCView.Orientation.ViewReferencePoint.y != float (Y);
|| MyCView.Orientation.ViewReferencePoint.z != float (Z);
MyCView.Orientation.ViewReferencePoint.x = float (X);
MyCView.Orientation.ViewReferencePoint.y = float (Y);
MyCView.Orientation.ViewReferencePoint.z = float (Z);
@ -1267,7 +1267,7 @@ Standard_Boolean CustomIsModified = Standard_False;
VRPIsModified =
MyCView.Orientation.ViewReferencePlane.x != float (X)
|| MyCView.Orientation.ViewReferencePlane.y != float (Y)
|| MyCView.Orientation.ViewReferencePlane.y != float (Y);
|| MyCView.Orientation.ViewReferencePlane.z != float (Z);
MyCView.Orientation.ViewReferencePlane.x = float (X);
MyCView.Orientation.ViewReferencePlane.y = float (Y);
MyCView.Orientation.ViewReferencePlane.z = float (Z);
@ -1276,7 +1276,7 @@ Standard_Boolean CustomIsModified = Standard_False;
VRUIsModified =
MyCView.Orientation.ViewReferenceUp.x != float (X)
|| MyCView.Orientation.ViewReferenceUp.y != float (Y)
|| MyCView.Orientation.ViewReferenceUp.y != float (Y);
|| MyCView.Orientation.ViewReferenceUp.z != float (Z);
MyCView.Orientation.ViewReferenceUp.x = float (X);
MyCView.Orientation.ViewReferenceUp.y = float (Y);
MyCView.Orientation.ViewReferenceUp.z = float (Z);