Added NULL check for hatch code 93.

This commit is contained in:
Roman Telezhynskyi 2022-02-07 11:49:20 +02:00
parent 3e59505da2
commit 1639603551

View File

@ -852,7 +852,7 @@ void DRW_Hatch::parseCode(int code, dxfReader *reader){
break;
case 93:
if (pline) pline->vertexnum = reader->getInt32();
else loop->numedges = reader->getInt32();//aqui reserve
else if (loop) loop->numedges = reader->getInt32();//aqui reserve
break;
case 98: //seed points ??
clearEntities();