diff --git a/static/js/ol/dxf-parser.js b/static/js/ol/dxf-parser.js index 03a477f..51dec8c 100644 --- a/static/js/ol/dxf-parser.js +++ b/static/js/ol/dxf-parser.js @@ -7,6 +7,9 @@ window.DxfParser = require('dxf-parser'); const getColorByColorTable = function (index) { // Полная палитра цветов AutoCAD (индексы 0-255) + if (!index) { + return "rgb(0,0,0)" + } const colors = [{ "aci": 0, "hex": "#000000",