浏览代码

Minor fix

ShiroSmith 4 年之前
父节点
当前提交
3bc340874d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      h3d/scene/MeshBatch.hx

+ 4 - 0
h3d/scene/MeshBatch.hx

@@ -110,6 +110,10 @@ class MeshBatch extends Mesh {
 							batchShaders = cur.next;
 						cur = cur.next;
 					}
+					else {
+						prev = cur;
+						cur = cur.next;
+					}
 				}
 				else {
 					prev = cur;