X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondimlinear.cpp;h=1560ac7139e1a5b8772bbe1dba81abc8c39a08e1;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=3191f1c1c3768951bb59c0e55ac88c62cf97c977;hpb=16354e0421b316a62c6b9f7b0b4f3b8cf6f06284;p=architektonas diff --git a/src/actions/actiondimlinear.cpp b/src/actions/actiondimlinear.cpp index 3191f1c..1560ac7 100644 --- a/src/actions/actiondimlinear.cpp +++ b/src/actions/actiondimlinear.cpp @@ -38,7 +38,8 @@ ActionDimLinear::ActionDimLinear(EntityContainer & container, this->fixedAngle = fixedAngle; lastStatus = SetExtPoint1; //hm. doesn't work. - graphicView.snapper.SetVisible(); +// graphicView.snapper.SetVisible(); + graphicView.SetSnapperVisible(); reset(); } @@ -84,7 +85,7 @@ void ActionDimLinear::trigger() // graphicView->drawEntity(dim); // graphicView->moveRelativeZero(rz); // drawSnapper(); - graphicView->snapper.SetVisible(false); + graphicView->SetSnapperVisible(false); graphicView->redraw(); DEBUG->print("ActionDimLinear::trigger(): dim added: %d", dim->getId()); @@ -165,14 +166,16 @@ void ActionDimLinear::mouseReleaseEvent(QMouseEvent * e) { Vector ce(snapPoint(e)); coordinateEvent(&ce); - graphicView->snapper.SetVisible(); +// graphicView->snapper.SetVisible(); + graphicView->SetSnapperVisible(); } else if (e->button() == Qt::RightButton) { if (getStatus() == 0) { graphicView->preview.SetVisible(false); - graphicView->snapper.SetVisible(false); +// graphicView->snapper.SetVisible(false); + graphicView->SetSnapperVisible(false); } // deletePreview();