Skip to content

Commit

Permalink
Ensure updating camera matrix when perspective matrix gets updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarti committed Aug 14, 2023
1 parent e1f19cf commit 8f73899
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/viewer/scene/camera/Perspective.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class Perspective extends Component {

this.glRedraw();

this.camera._updateScheduled = true;

this.fire("matrix", this._state.matrix);
}

Expand Down

0 comments on commit 8f73899

Please sign in to comment.