QString aTitle = tr( id == 0 ? "GEOM_POLYLINE" : id == 1 ? "GEOM_BEZIER" : "GEOM_INTERPOL" );
GroupConstructors->setTitle( aTitle );
- myPoints = new GEOM::ListOfGO();
+ myPoints = new GEOM::ListOfGO();
myPoints->length( 0 );
myEditCurrentArgument->setText("");
initName();
ConstructorsClicked( getConstructorId() );
+ globalSelection(); // close local contexts, if any
+ localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX);
+
return true;
}
GroupPoints->hide();
resize( 0, 0 );
GroupDimensions->show();
+ globalSelection(); // close local contexts, if any
double dx( 0. ), dy( 0. ), dz( 0. );
GroupDimensions->SpinBox_DX->SetValue( dx );