Skip to content

Commit 3f0deec

Browse files
authored
Added scene update on viewer resizing
1 parent f8459a7 commit 3f0deec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

engine/modules/camera/src/main/resources/view/camera-module/CameraModule.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ export class CameraModule {
161161
}
162162

163163
reinitScene() {
164+
if (this.currentUpdateProgress !== undefined) {
165+
this.lastFrame = -1
166+
this.updateScene(this.previousUpdateData, this.currentUpdateFrame, this.currentUpdateProgress)
167+
}
164168

165169
}
166170

0 commit comments

Comments
 (0)