Parcourir la source

Release the reference to the current renderList at the end of .render()

Takahiro il y a 8 ans
Parent
commit
e06340efbb
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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号