X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImportImageOp.cxx;h=4f7afb9b2e0fd6009a2a7324a80ca2da9c650e57;hb=de7cf9bb0a7a41d6487013c87f4a54d0664cd303;hp=82de7403539b8b971b7840dbdd4ed93afed7f3a5;hpb=844c6abc897469c996e8df5a1569c3aeaa08c446;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx b/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx index 82de7403..4f7afb9b 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportImageOp.cxx @@ -270,19 +270,19 @@ HYDROGUI_InputPanel* HYDROGUI_ImportImageOp::createInputPanel() const connect( aPanel, SIGNAL( modeActivated( int ) ), SLOT( onModeActivated( int ) ) ); connect( aPanel, SIGNAL( refImageActivated( const QString& ) ), SLOT( onRefImageActivated( const QString& ) ) ); - connect( aPanel, SIGNAL( setIsByTwoPoints( bool ) ), SLOT( onSetIsByTwoPoints( bool ) ) ); + connect( aPanel, SIGNAL( setCIsUsed( bool ) ), SLOT( onSetCIsUsed( bool ) ) ); return aPanel; } -void HYDROGUI_ImportImageOp::onSetIsByTwoPoints( bool theIsSetByTwoPoints ) +void HYDROGUI_ImportImageOp::onSetCIsUsed( bool theCIsUsed ) { if ( myPreviewPrs ) { - myPreviewPrs->setIsByTwoPoints( theIsSetByTwoPoints ); + myPreviewPrs->setIsByTwoPoints( !theCIsUsed ); } if ( myRefPreviewPrs ) { - myRefPreviewPrs->setIsByTwoPoints( theIsSetByTwoPoints ); + myRefPreviewPrs->setIsByTwoPoints( !theCIsUsed ); } } @@ -700,6 +700,7 @@ void HYDROGUI_ImportImageOp::onPointSelected( bool theIsRefImage ) const HYDROGUI_PrsImage::TransformationPointMap& aPointMap = aPrs->getTransformationPointMap(); + HYDROGUI_PrsImage::TransformationPointMapIterator anIter( aPointMap ); while( anIter.hasNext() ) {