X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMGUI%2FGEOMGUI_AnnotationMgr.cxx;h=1c2e59e50eacfab8c5121c20eed1d4964bdcac64;hb=e093baaf913215eb4070acc4d31ce1b3f9d1c3eb;hp=f46d527d3234957b78df5834b6b0e662f926138f;hpb=da1f1aaec0cdc0d371cc992dcf44ea1156c21edc;p=modules%2Fgeom.git diff --git a/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx b/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx index f46d527d3..1c2e59e50 100755 --- a/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx +++ b/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx @@ -61,7 +61,7 @@ GEOMGUI_AnnotationMgr::GEOMGUI_AnnotationMgr( SalomeApp_Application* theApplicat QString GEOMGUI_AnnotationMgr::GetEntrySeparator() { - return "_annotation:"; + return "_annotation:"; } //================================================================ @@ -113,7 +113,7 @@ SALOME_Prs* GEOMGUI_AnnotationMgr::CreatePresentation( const GEOMGUI_AnnotationA setDisplayProperties( aPresentation, aView, getEntry( theObject ).c_str() ); // add Prs to preview - SUIT_ViewWindow* vw = getApplication()->desktop()->activeWindow(); + //SUIT_ViewWindow* vw = getApplication()->desktop()->activeWindow(); SOCC_Prs* aPrs = dynamic_cast( ( aView )->CreatePrs( 0 ) ); @@ -251,7 +251,7 @@ void GEOMGUI_AnnotationMgr::Redisplay( const QString& theEntry, const int theInd Handle(GEOM_Annotation) aPresentation = Handle(GEOM_Annotation)::DownCast( aPrs ); GEOMGUI_AnnotationAttrs::SetupPresentation( aPresentation, theProperty, aShapeLCS ); - aView->getAISContext()->Redisplay( aPresentation ); + aView->getAISContext()->Redisplay( aPresentation, Standard_True ); } } } @@ -424,7 +424,6 @@ void GEOMGUI_AnnotationMgr::UpdateVisibleAnnotations( const QString& theEntry, S if ( !aShape.IsNull() ) { - gp_Ax3 aShapeLCS = gp_Ax3().Transformed( aShape.Location().Transformation() ); GEOMGUI_AnnotationAttrs::SetupPresentation( aPresentation, aProperty, aShapeLCS ); if ( aProperty.ShapeType == TopAbs_SHAPE ) { aPresentation->SetHilightShape( aShape ); @@ -440,7 +439,7 @@ void GEOMGUI_AnnotationMgr::UpdateVisibleAnnotations( const QString& theEntry, S setDisplayProperties( aPresentation, aView, theEntry ); - aView->getAISContext()->Redisplay( aPresentation ); + aView->getAISContext()->Redisplay( aPresentation, Standard_True ); } } getDisplayer()->UpdateViewer();