Skip to content

Commit

Permalink
Fix object removal in first person view
Browse files Browse the repository at this point in the history
  • Loading branch information
danilosalvati committed Oct 24, 2016
1 parent 3d78ee9 commit 5907ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/viewer3d/viewer3d-first-person.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ export default class Viewer3DFirstPerson extends React.Component {

disposeScene(this.scene3D);

this.scene3D.remove(this.planData.plan);

this.scene3D = null;
this.planData = null;
}
Expand Down

0 comments on commit 5907ac2

Please sign in to comment.