Skip to content

Commit

Permalink
Revert "Fix for OBJloader"
Browse files Browse the repository at this point in the history
This reverts commit a360f31.
  • Loading branch information
Robbie1977 committed Nov 20, 2024
1 parent 2bdf02e commit af6afb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geppetto-ui/src/graph-visualization/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import ReactDOM from 'react-dom'
import PropTypes from 'prop-types';
import * as d3 from 'd3-force-3d'
import * as THREE from 'three'
import { OBJLoader } from 'three/examples/jsm/loaders/OBJLoader.js';
import ForceGraph2D from 'react-force-graph-2d';
import ForceGraph3D from 'react-force-graph-3d';

Expand Down Expand Up @@ -81,7 +80,7 @@ export default class GeppettoGraphVisualization extends Component {
// add a obj file to the scene from url
addToScene () {
const { url, wireframe = true } = this.props
var loader = new OBJLoader();
var loader = new THREE.OBJLoader();
// load a resource
loader.load(
// resource URL
Expand Down

0 comments on commit af6afb3

Please sign in to comment.