Преглед изворни кода

Merge pull request #13122 from takahirox/ReleaseCurrentRenderList

Release the reference to the current renderList at the end of .render()
Mr.doob пре 8 година
родитељ
комит
966aca55b9
1 измењених фајлова са 2 додато и 0 уклоњено
  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号