Reverted to screenshot confirmation flow, fixed layout bug, updated language to Save

This commit is contained in:
Frank Noirot
2021-02-26 20:02:52 -05:00
parent 7fab53d200
commit 3cae431e61
4 changed files with 48 additions and 24 deletions

View File

@@ -24,8 +24,7 @@ class CascadeController {
onInit()
}
capture(environment) {
let width = 512, height = 384; // These can be adjusted to the best size for the Part Profile.
capture(environment, width = 512, height = 384) {
environment.camera.aspect = width / height;
environment.camera.updateProjectionMatrix();
environment.renderer.setSize(width, height);