From: adv Date: Wed, 27 Nov 2013 11:30:15 +0000 (+0000) Subject: Checking of correctnes of input point corrected (Bug #133). X-Git-Tag: issue_132_11_28~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1daafa9020bd197ab19acba00389af02ca40ecae;p=modules%2Fhydro.git Checking of correctnes of input point corrected (Bug #133). --- diff --git a/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx b/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx index 4f7afb9b..54a3095c 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx @@ -314,7 +314,7 @@ bool HYDROGUI_ImportImageOp::checkPoints( const QPointF& thePointA, else { // check that two points are not identical - if ( ValuesEquals( xa, ya ) && ValuesEquals( xb, yb ) ) + if ( ValuesEquals( xa, xb ) && ValuesEquals( ya, yb ) ) { theErrorMsg = thePoinErrMsg; return false;