@@ -2162,7 +2162,7 @@ bool CDxfRead::ReadLwPolyLine()
|
||||
// In the latter case the stroke attributes apply to the closure stroke (if any) which ends at
|
||||
// the first vertex.
|
||||
Setup3DVectorAttribute(ePrimaryPoint, currentVertex.location);
|
||||
SetupScaledDoubleAttribute(eFloat3, currentVertex.bulge);
|
||||
SetupValueAttribute(eFloat3, currentVertex.bulge);
|
||||
SetupValueAttribute(eInteger1, flags);
|
||||
while (get_next_record() && m_record_type != eObjectType) {
|
||||
if ((m_record_type == ePrimaryPoint + eXOffset && have_x)
|
||||
@@ -2208,7 +2208,7 @@ bool CDxfRead::ReadPolyLine()
|
||||
// To avoid eating and discarding the rest of the entieies if ENDSEQ is missing,
|
||||
// we quit on any unknown type-0 record.
|
||||
Setup3DVectorAttribute(ePrimaryPoint, currentVertex.location);
|
||||
SetupScaledDoubleAttribute(eFloat3, currentVertex.bulge);
|
||||
SetupValueAttribute(eFloat3, currentVertex.bulge);
|
||||
while (get_next_record() && m_record_type == eObjectType && IsObjectName("VERTEX")) {
|
||||
// Set vertex defaults
|
||||
currentVertex.location = Base::Vector3d();
|
||||
|
||||
Reference in New Issue
Block a user