AutoCAD doesn't like how we init dimstyles.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-21 16:36:24 +03:00
parent 3c48935b5c
commit 88288f2fba
2 changed files with 0 additions and 14 deletions

View File

@ -25,7 +25,6 @@ dx_iface::dx_iface(const std::string &file, VarMeasurement varMeasurement, VarIn
InitHeader(varMeasurement, varInsunits); InitHeader(varMeasurement, varInsunits);
InitLTypes(); InitLTypes();
InitLayers(); InitLayers();
//InitDimstyles();
InitTextstyles(); InitTextstyles();
} }
@ -230,18 +229,6 @@ void dx_iface::InitLayers()
// cData.lineTypes.push_back(mLayer); // 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() void dx_iface::InitTextstyles()
{ {
DRW_Textstyle style; DRW_Textstyle style;

View File

@ -93,7 +93,6 @@ public:
void InitHeader(VarMeasurement varMeasurement, VarInsunits varInsunits); void InitHeader(VarMeasurement varMeasurement, VarInsunits varInsunits);
void InitLTypes(); void InitLTypes();
void InitLayers(); void InitLayers();
void InitDimstyles();
void InitTextstyles(); void InitTextstyles();
void AddEntity(DRW_Entity* e); void AddEntity(DRW_Entity* e);