From 88288f2fbae085c0cfe76f736334d1c491ceed30 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 21 Jun 2017 16:36:24 +0300 Subject: [PATCH] AutoCAD doesn't like how we init dimstyles. --HG-- branch : feature --- src/libs/vdxf/dxiface.cpp | 13 ------------- src/libs/vdxf/dxiface.h | 1 - 2 files changed, 14 deletions(-) diff --git a/src/libs/vdxf/dxiface.cpp b/src/libs/vdxf/dxiface.cpp index a5489f45a..01e91bb21 100644 --- a/src/libs/vdxf/dxiface.cpp +++ b/src/libs/vdxf/dxiface.cpp @@ -25,7 +25,6 @@ dx_iface::dx_iface(const std::string &file, VarMeasurement varMeasurement, VarIn InitHeader(varMeasurement, varInsunits); InitLTypes(); InitLayers(); - //InitDimstyles(); InitTextstyles(); } @@ -230,18 +229,6 @@ void dx_iface::InitLayers() // cData.lineTypes.push_back(mLayer); } -void dx_iface::InitDimstyles() -{ - DRW_Dimstyle style; - style.dimasz = 1; - style.dimexe = 1; - style.dimexo = 1; - style.dimgap = 1; - style.dimtxt = 1; - - cData.dimStyles.push_back(style); -} - void dx_iface::InitTextstyles() { DRW_Textstyle style; diff --git a/src/libs/vdxf/dxiface.h b/src/libs/vdxf/dxiface.h index 793ec9509..c3af08fe9 100644 --- a/src/libs/vdxf/dxiface.h +++ b/src/libs/vdxf/dxiface.h @@ -93,7 +93,6 @@ public: void InitHeader(VarMeasurement varMeasurement, VarInsunits varInsunits); void InitLTypes(); void InitLayers(); - void InitDimstyles(); void InitTextstyles(); void AddEntity(DRW_Entity* e);