Skip to content

Commit

Permalink
get rid of multiple three instance warning
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Oct 6, 2023
1 parent 9adcf54 commit de0d8d4
Show file tree
Hide file tree
Showing 7 changed files with 2,021 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/modifiers/three-renderer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Modifier, { ArgsFor } from 'ember-modifier';
import * as THREE from 'three';
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';
import { OrbitControls } from 'text2stl/utils/OrbitControls';
import { tracked } from '@glimmer/tracking';
import config from 'text2stl/config/environment';
import { registerDestructor } from '@ember/destroyable';
Expand Down
2 changes: 1 addition & 1 deletion app/services/stl-exporter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Service from '@ember/service';
import { STLExporter } from 'three/examples/jsm/exporters/STLExporter';
import { STLExporter } from 'text2stl/utils/STLExporter';

import type { Mesh } from 'three';

Expand Down
2 changes: 1 addition & 1 deletion app/services/text-maker.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Service from '@ember/service';
import * as opentype from 'opentype.js';
import * as THREE from 'three';
import { mergeBufferGeometries } from 'three/examples/jsm/utils/BufferGeometryUtils';
import { mergeBufferGeometries } from 'text2stl/utils/BufferGeometryUtils';
import config from 'text2stl/config/environment';
import { generateSupportShape } from 'text2stl/misc/support-shape-generation';

Expand Down
Loading

0 comments on commit de0d8d4

Please sign in to comment.