X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdrawdimensionaction.cpp;h=58fa09595028e0e884c54b52cf62073edff64492;hb=8ab4e08bd78cb5b07f069e3e6c5bf76944cb14fa;hp=2414afa107285fd8e5b2238a07c80f42dfaed7e3;hpb=1a13a1484af21f55d5be4847d0b158a43f9c36d2;p=architektonas diff --git a/src/drawdimensionaction.cpp b/src/drawdimensionaction.cpp index 2414afa..58fa095 100644 --- a/src/drawdimensionaction.cpp +++ b/src/drawdimensionaction.cpp @@ -78,10 +78,12 @@ DrawDimensionAction::~DrawDimensionAction() // We create the new object here, and then pass it off to the // DrawingView which stuffs it into the document. // line = new Line(p1, p2); + dimension = new Dimension(p1, p2); // We don't need no stinkin' sentinels, when we have signals & slots! emit ObjectReady(dimension); - p1 = p2; + state = FIRST_POINT; +// p1 = p2; } }