Explorar el Código

Merge pull request #13122 from takahirox/ReleaseCurrentRenderList

Release the reference to the current renderList at the end of .render()
Mr.doob hace 8 años
padre
commit
966aca55b9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/renderers/WebGLRenderer.js

+ 2 - 0
src/renderers/WebGLRenderer.js

@@ -1226,6 +1226,8 @@ function WebGLRenderer( parameters ) {
 
 		// _gl.finish();
 
+		currentRenderList = null;
+
 	};
 
 	/*

粤ICP备19079148号