2
0
Эх сурвалжийг харах

update pathtracer camera on resize (#28412)

ycw 1 жил өмнө
parent
commit
695574601a

+ 1 - 1
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();
 
 	}