Skip to content

Commit

Permalink
Fix #26 - Remove unreferenced INSERT entity
Browse files Browse the repository at this point in the history
Fix #26 - Remove unreferenced INSERT entity
  • Loading branch information
dotoritos-kim authored Dec 13, 2024
2 parents df4f9c8 + d55d5e6 commit bf58e82
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 90 deletions.
3 changes: 1 addition & 2 deletions src/parser/DxfParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { parseBlocks } from "./blocks";
import { parseEntities } from "./entities";
import { parseObjects } from "./objects";
import { isMatched } from "./shared";
import { filterDummyBlocks } from "./filterDummyBlocks";
import type { ParsedDxf } from "./types";
import type { Readable } from "readable-stream";

Expand Down Expand Up @@ -120,6 +119,6 @@ export class DxfParser extends EventTarget {
}
curr = scanner.next();
}
return filterDummyBlocks(dxf);
return dxf;
}
}
49 changes: 0 additions & 49 deletions src/parser/filterDummyBlocks.ts

This file was deleted.

37 changes: 0 additions & 37 deletions src/utils/flooding.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export * from './flooding';

import type { Point2D, Point3D } from '@src/types'

export function classify<T>(
Expand Down

0 comments on commit bf58e82

Please sign in to comment.