diff --git a/platforms/native/engine/jsb-editor-support.js b/platforms/native/engine/jsb-editor-support.js index 722ee0ed72..8e6aa1421b 100644 --- a/platforms/native/engine/jsb-editor-support.js +++ b/platforms/native/engine/jsb-editor-support.js @@ -51,9 +51,6 @@ let bufferCount = middlewareMgr.getBufferCount(nativeFormat); for(let i = 0; i < bufferCount; i++) { let ibBytesLength = middlewareMgr.getIBTypedArrayLength(nativeFormat, i); - // middleware common buffer was empty, no need to copy to js mesh buffer - if (ibBytesLength == 0) continue; - let srcVertexCount = 65535; let srcIndicesCount = ibBytesLength / 2; // USHORT let srcVertexFloatCount = srcVertexCount * nativeFormat;