QString GEOMGUI_AnnotationMgr::GetEntrySeparator()
{
- return "_annotation:";
+ return "_annotation:";
}
//================================================================
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<SOCC_Prs*>( ( aView )->CreatePrs( 0 ) );
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 );
}
}
}
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 );
setDisplayProperties( aPresentation, aView, theEntry );
- aView->getAISContext()->Redisplay( aPresentation );
+ aView->getAISContext()->Redisplay( aPresentation, Standard_True );
}
}
getDisplayer()->UpdateViewer();