Skip to content

Commit 5a155c9

Browse files
committed
fix eslint error
1 parent 41639a2 commit 5a155c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/WebGLPathTracer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export class WebGLPathTracer {
306306
}
307307

308308
// update scene environment
309-
material.environmentIntensity = scene.environment !== null ? (scene.environmentIntensity ?? 1) : 0;
309+
material.environmentIntensity = scene.environment !== null ? ( scene.environmentIntensity ?? 1 ) : 0;
310310
material.environmentRotation.makeRotationFromEuler( scene.environmentRotation ).invert();
311311
if ( this._previousEnvironment !== scene.environment ) {
312312

@@ -326,7 +326,7 @@ export class WebGLPathTracer {
326326

327327
}
328328

329-
}
329+
}
330330

331331
}
332332

0 commit comments

Comments
 (0)