Browse Source

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

Takahiro 8 năm trước cách đây
mục cha
commit
e06340efbb
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/renderers/WebGLRenderer.js

+ 2 - 0
src/renderers/WebGLRenderer.js

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