From 38f47f419dd05cdac7cf862bb3ab9b58b8fcf9b0 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 23 Apr 2015 14:09:47 +0300 Subject: [PATCH] 0023055: EDF 10725 GEOM: In the shape recognition functionality, it is not possible to select an area for the filtering sample Fix pb that imported image is Y-mirrored in a viewer --- src/EntityGUI/EntityGUI_PictureImportDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx index 74eacd8f8..425980457 100644 --- a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx +++ b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx @@ -188,9 +188,9 @@ bool EntityGUI_PictureImportDlg::execute( ObjectList& objects ) delete pixmap; GEOM::GEOM_Object_var P1 = aBasicOperations->MakePointXYZ( -0.5*width, -0.5*height, 0 ); - GEOM::GEOM_Object_var P2 = aBasicOperations->MakePointXYZ( -0.5*width, 0.5*height, 0 ); + GEOM::GEOM_Object_var P2 = aBasicOperations->MakePointXYZ( 0.5*width, -0.5*height, 0 ); GEOM::GEOM_Object_var P3 = aBasicOperations->MakePointXYZ( 0.5*width, 0.5*height, 0 ); - GEOM::GEOM_Object_var P4 = aBasicOperations->MakePointXYZ( 0.5*width, -0.5*height, 0 ); + GEOM::GEOM_Object_var P4 = aBasicOperations->MakePointXYZ( -0.5*width, 0.5*height, 0 ); GEOM::GEOM_Object_var aFace = aBlocksOperations->MakeQuad4Vertices(P1,P2,P3,P4); getDisplayer()->SetDisplayMode(3); -- 2.39.2