Browse Source

Merge pull request #5007 from gero3/assignID

assign id
Mr.doob 11 năm trước cách đây
mục cha
commit
e8e7f112b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/renderers/WebGLRenderer.js

+ 1 - 1
src/renderers/WebGLRenderer.js

@@ -3831,7 +3831,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 		objlist[id] = objlist[id] || [];
 		objlist[id].push(
 			{
-				id: null,
+				id: id,
 				buffer: buffer,
 				object: object,
 				material: null,