Skip to content

Commit

Permalink
add render after camer mode changed (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ostatni5 committed Nov 4, 2021
1 parent 9cfd5c7 commit 220d76f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ThreeEditor/js/Viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ export function Viewport(

camera = camera.isPerspectiveCamera ? cameraOrtho : cameraPersp;
updateCamera(camera, position);
render();

break;

Expand Down

0 comments on commit 220d76f

Please sign in to comment.