Мелкий фикс загрузки DXF. Добавил проверку
This commit is contained in:
parent
8303edb8af
commit
5f1539811b
@ -710,7 +710,8 @@
|
||||
}
|
||||
if (lineTypes && entity.lineType) {
|
||||
if (lineTypes[entity.lineType] && (entity.lineType !== "Continuous" && entity.lineType !== 'HIDDEN')) {
|
||||
figureStyle["stroke-line-dash"] = lineTypes[entity.lineType].pattern.map(num => Math.abs(num) * 10)
|
||||
if (lineTypes[entity.lineType].pattern.length > 1)
|
||||
figureStyle["stroke-line-dash"] = lineTypes[entity.lineType].pattern.map(num => Math.abs(num) * 10)
|
||||
}
|
||||
}
|
||||
return figureStyle
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user