提交 7650e590 编写于 作者: M Marc-Sefan Cassola

backward compatibility

上级 22142f23
......@@ -1089,7 +1089,7 @@ function WebGLRenderer( parameters ) {
currentRenderState = renderStates.get( scene, camera );
currentRenderState.init();
scene.onBeforeRender( _this, scene, camera, _currentRenderTarget );
scene.onBeforeRender( _this, scene, camera, renderTarget || _currentRenderTarget );
_projScreenMatrix.multiplyMatrices( camera.projectionMatrix, camera.matrixWorldInverse );
_frustum.setFromMatrix( _projScreenMatrix );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册