We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9520e5 commit aeee18dCopy full SHA for aeee18d
1 file changed
src/webgl-preview.ts
@@ -860,6 +860,7 @@ export class WebGLPreview {
860
geometries.forEach((geometry) => {
861
const geometryId = batchedMesh.addGeometry(geometry);
862
// NOTE: for older versions of three.js, addInstance is not available
863
+ // This allow webgl1 browsers to use the batched mesh
864
batchedMesh.addInstance?.(geometryId);
865
});
866
0 commit comments