Skip to content

Commit

Permalink
trim: polyline not by ::trim()
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Oct 21, 2014
1 parent 6c19b21 commit ed332c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librecad/src/actions/rs_actionmodifytrim.cpp
Expand Up @@ -155,7 +155,7 @@ void RS_ActionModifyTrim::mouseReleaseEvent(QMouseEvent* e) {
case ChooseLimitEntity:
limitCoord = mouse;
limitEntity = se;
if (limitEntity!=NULL /*&& limitEntity->isAtomic()*/) {
if (limitEntity!=NULL && limitEntity->rtti() != RS2::EntityPolyline/*&& limitEntity->isAtomic()*/) {
limitEntity->setHighlighted(true);
graphicView->drawEntity(limitEntity);
setStatus(ChooseTrimEntity);
Expand Down

0 comments on commit ed332c4

Please sign in to comment.