X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawline.cpp;h=b387ee93501d197013f179b4a99c073f3c9cae65;hb=1f0d096a7fc370ff02477f3860beae2669bf8903;hp=9817bbaaf99ad039d437402583e69f55e5e16a8a;hpb=20cce16e98fc9b052c5862efa6394a285971e846;p=architektonas diff --git a/src/actions/actiondrawline.cpp b/src/actions/actiondrawline.cpp index 9817bba..b387ee9 100644 --- a/src/actions/actiondrawline.cpp +++ b/src/actions/actiondrawline.cpp @@ -30,10 +30,10 @@ ActionDrawLine::ActionDrawLine(RS_EntityContainer & container, GraphicView & gra RS_DEBUG->print("ActionDrawLine::ActionDrawLine"); reset(); //hm. - graphicView.snapper.SetContainer(&container); - graphicView.snapper.SetGraphicView(&graphicView); - graphicView.snapper.SetVisible(); - graphicView.preview.SetVisible(); +// graphicView.snapper.SetContainer(&container); +// graphicView.snapper.SetGraphicView(&graphicView); +// graphicView.snapper.SetVisible(); +// graphicView.preview.SetVisible(); RS_DEBUG->print("ActionDrawLine::ActionDrawLine: OK"); } @@ -59,7 +59,6 @@ void ActionDrawLine::reset() void ActionDrawLine::init(int status) { RS_DEBUG->print("ActionDrawLine::init"); -// ActionInterface::init(status); ActionInterface::init(status); reset(); RS_DEBUG->print("ActionDrawLine::init: OK"); @@ -140,11 +139,11 @@ void ActionDrawLine::mouseReleaseEvent(QMouseEvent * e) } else if (e->button() == Qt::RightButton) { - if (getStatus() == 0) - { - graphicView->snapper.SetVisible(false); - graphicView->preview.SetVisible(false); - } +// if (getStatus() == 0) +// { +// graphicView->snapper.SetVisible(false); +// graphicView->preview.SetVisible(false); +// } init(getStatus() - 1); } @@ -297,7 +296,6 @@ void ActionDrawLine::updateMouseButtonHints() void ActionDrawLine::showOptions() { RS_DEBUG->print("ActionDrawLine::showOptions"); -// ActionInterface::showOptions(); ActionInterface::showOptions(); RS_DIALOGFACTORY->requestOptions(this, true); RS_DEBUG->print("ActionDrawLine::showOptions: OK"); @@ -305,7 +303,6 @@ void ActionDrawLine::showOptions() void ActionDrawLine::hideOptions() { -// ActionInterface::hideOptions(); ActionInterface::hideOptions(); RS_DIALOGFACTORY->requestOptions(this, false); }