Przeglądaj źródła

Merge pull request #13122 from takahirox/ReleaseCurrentRenderList

Release the reference to the current renderList at the end of .render()
Mr.doob 8 lat temu
rodzic
commit
966aca55b9
1 zmienionych plików z 2 dodań i 0 usunięć
  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号