diff --git a/editor/js/Viewport.Pathtracer.js b/editor/js/Viewport.Pathtracer.js index 3b4b4dbb836c10..63a983967a1978 100644 --- a/editor/js/Viewport.Pathtracer.js +++ b/editor/js/Viewport.Pathtracer.js @@ -22,7 +22,7 @@ function ViewportPathtracer( renderer ) { if ( pathTracer === null ) return; // path tracer size automatically updates based on the canvas - pathTracer.reset(); + pathTracer.updateCamera(); }