This project has moved. For the latest updates, please go here.


two bug


These two issues have occurred when reopened a xmlstore file.

problem reappear:
Create a new project,
draw a RegularPolygone and resize it,
draw any other shape,
and group them,
then save the project as xml file.

when opening the project which you saved, you will see:

bug 1: RegularPolygone's size is not the previous size;

bug 2: try to drag the groupshape, an "System.NullReferenceException" will be throwed at file "ShapeType.cs":
    public Shape CreatePreviewInstance(Shape shape) {
        if (shape == null) throw new ArgumentNullException("shape");
        Shape result = ShapeDuplicator.CloneShapeAndModelObject(shape);
        Debug.Assert(shape.ModelObject == null || shape.ModelObject != result.ModelObject);
        result.MakePreview(styleSetProvider.StyleSet);//styleSetProvider is null.
        return result;
How to fix these bugs?


KurtHolzinger wrote Jan 12, 2015 at 12:28 PM

Thanks for your feedback.
A fix for both problems to the SVN repository on GoogleCode:

ew8cn wrote Jan 15, 2015 at 7:41 AM

it goes well now,
thanks very much!