]> Shamusworld >> Repos - architektonas/blobdiff - src/line.cpp
Added Architektonas drawing file loading/saving infrastructure.
[architektonas] / src / line.cpp
index 0884d9028b3c9f4a9140abdf87582bf492eb7ee0..880a79d60bc48254645794628ce1cb69dbe246fb 100644 (file)
@@ -132,7 +132,7 @@ level container, it won't get drawn...
 But we can fix that by making this object call any attached object's (like
 a dimension only) Draw() function... :-/
 */
-                               attachedDimension = new Dimension(&position, &endpoint, this);
+                               attachedDimension = new Dimension(&position, &endpoint, DTLinear, this);
 
                                if (parent != NULL)
                                        parent->Add(attachedDimension);
@@ -394,7 +394,7 @@ void Line::SetDimensionOnLine(Dimension * dimension/*=NULL*/)
        // If they don't pass one in, create it for the caller.
        if (dimension == NULL)
        {
-               dimension = new Dimension(&position, &endpoint, this);
+               dimension = new Dimension(&position, &endpoint, DTLinear, this);
 
                if (parent)
                        parent->Add(dimension);