From e3b21078a339ef347581b344cbde209ab33654d8 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 17 Nov 2015 11:50:34 +0300 Subject: [PATCH] patch on regression in selection mode activation --- src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx b/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx index cb073ade..321a4e19 100644 --- a/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx +++ b/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx @@ -440,11 +440,11 @@ void HYDROGUI_LandCoverMapOp::onCreatePreview() if ( aViewManager && myPreviewPrs && !myEditedObject.IsNull() ) { - myPreviewPrs->update( false, false ); if ( myOperationId == RemoveLandCoverId || myOperationId == MergeLandCoverId || myOperationId == ChangeLandCoverTypeId ) myPreviewPrs->setSelectionMode( AIS_Shape::SelectionMode( TopAbs_FACE ) ); + myPreviewPrs->update( false, false ); } module()->update( UF_OCCViewer | UF_FitAll ); -- 2.39.2