]> Shamusworld >> Repos - architektonas/blobdiff - src/structs.h
Make selections encompass Dimension objects.
[architektonas] / src / structs.h
index 54e2f51bffb088afd2476e1e67a46363b8216c78..7fe1f09e96eca0c5d018c315a15d5498c598c676 100644 (file)
@@ -73,7 +73,8 @@ struct Dimension {
        OBJECT_COMMON;
        int subtype;
        double offset;
-       Point lp[2];    // Line point, the actual dimension line
+       Point lp[2];            // Line point, the actual dimension line
+       Object * obj[2];        // Pointer to attached objects (circle, lines for angle)
 
        Dimension(): type(OTDimension), id(Global::objectID++) {}
        Dimension(Vector pt1, Vector pt2, DimensionType dt = DTLinear, float th = 1.0, uint32_t c = 0x0000FF, int l = LSSolid):