myEditCurrentArgument = myShapeName;
// default presentation values
- myAnnotationProperties.Position = gp_Pnt(50, 50, 50);
+ myAnnotationProperties.Position = gp_Pnt(250, 250, 250);
myAnnotationProperties.Text = tr("ANNOTATION_PREFIX");
myAnnotationProperties.IsVisible = true;
myAnnotationProperties.IsScreenFixed = false;
connect(mySubShapeTypeCombo, SIGNAL(currentIndexChanged(int)),
this, SLOT(onSubShapeTypeChange()));
- SelectionIntoArgument();
+ //SelectionIntoArgument();
}
else { // edition
//=================================================================================
void MeasureGUI_AnnotationDlg::activateSelection()
{
- globalSelection(GEOM_ALLSHAPES);
- if (!myShape->_is_nil() && mySelectionMode != TopAbs_SHAPE) {
- localSelection(myShape.get(), mySelectionMode);
- }
+ //globalSelection(GEOM_ALLSHAPES);
+ //if (!myShape->_is_nil() && mySelectionMode != TopAbs_SHAPE) {
+ // localSelection(myShape.get(), mySelectionMode);
+ //}
}
//=================================================================================
//=================================================================================
gp_Pnt MeasureGUI_AnnotationDlg::getAttachPoint(const TopoDS_Shape& theShape)
{
- gp_Pnt aPoint = gp_Pnt(300, 300, 300);
+ gp_Pnt aPoint = gp_Pnt(0, 0, 0);
return aPoint;
}