Skip to content

Commit

Permalink
Remove skipping of creating of BLOCK_HEADER in preR13
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-josef-spacek committed Sep 5, 2023
1 parent 524364b commit 31f962a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/out_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -1743,12 +1743,6 @@ dwg_json_object (Bit_Chain *restrict dat, Dwg_Object *restrict obj)
case DWG_TYPE_BLOCK_CONTROL:
return dwg_json_BLOCK_CONTROL (dat, obj);
case DWG_TYPE_BLOCK_HEADER:
if (dat->version <= R_12
&& strEQc (obj->tio.object->tio.BLOCK_HEADER->name, "*MODEL_SPACE"))
{
LOG_TRACE ("Skip *MODEL_SPACE\n");
return 0;
}
return dwg_json_BLOCK_HEADER (dat, obj);
case DWG_TYPE_LAYER_CONTROL:
return dwg_json_LAYER_CONTROL (dat, obj);
Expand Down

0 comments on commit 31f962a

Please sign in to comment.