Handle(ShapeProcess_ShapeContext)::DownCast (context);
if (ctx.IsNull()) return Standard_False;
+ // activate message mechanism if it is supported by context
+ Handle(ShapeExtend_MsgRegistrator) msg;
+ if ( ! ctx->Messages().IsNull() ) msg = new ShapeExtend_MsgRegistrator;
+
ShapeFix_FixSmallSolid FSS;
+ FSS.SetMsgRegistrator( msg );
Standard_Real aThreshold;
if (ctx->GetReal ("VolumeThreshold", aThreshold))
if (aResult != ctx->Result())
{
- ctx->RecordModification (aReShape);
+ ctx->RecordModification (aReShape, msg);
ctx->SetResult (aResult);
}