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 42cddb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/out_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ 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
if (dat->version <= R_1_4
&& strEQc (obj->tio.object->tio.BLOCK_HEADER->name, "*MODEL_SPACE"))
{
LOG_TRACE ("Skip *MODEL_SPACE\n");
Expand Down

0 comments on commit 42cddb7

Please sign in to comment.