Skip to content

Commit

Permalink
fix FS#1757 - Modify > Auto Trim: on polyline, followed by undo yields
Browse files Browse the repository at this point in the history
corrupt / invisible polyline
  • Loading branch information
qcad committed May 18, 2018
1 parent 8b077ad commit 9f0118f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/entity/RPolylineEntity.cpp
Expand Up @@ -199,7 +199,10 @@ QPair<QVariant, RPropertyAttributes> RPolylineEntity::getProperty(
} else if (propertyTypeId == PropertyAngleN) {
QVariant v;
v.setValue(data.getVertexAngles());
return qMakePair(v, RPropertyAttributes(RPropertyAttributes::List|RPropertyAttributes::Angle));
return qMakePair(v, RPropertyAttributes(RPropertyAttributes::List |
RPropertyAttributes::Angle |
RPropertyAttributes::Redundant |
RPropertyAttributes::ReadOnly));
} else if (RPolyline::hasProxy() && propertyTypeId == PropertyStartWidthN) {
QVariant v;
v.setValue(data.startWidths);
Expand Down

0 comments on commit 9f0118f

Please sign in to comment.