public ITool Build(FScene scene, List <SceneObject> targets)
        {
            CurveSelectFacesTool tool = build_tool(scene, targets[0] as DMeshSO);

            tool.OnStrokeCompletedF = this.OnStrokeCompletedF;
            tool.OnApplyF           = this.OnApplyF;
            tool.LineWidth          = DefaultLineWidth;
            tool.LineColor          = DefaultLineColor;
            return(tool);
        }
 public CurveSelectFacesTool_2DBehavior(CurveSelectFacesTool tool, FContext context)
 {
     Tool    = tool;
     Context = context;
 }