Skip to content

Commit 3a73984

Browse files
committed
Updated builds.
1 parent 973380c commit 3a73984

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

build/three.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18537,8 +18537,6 @@
1853718537
} else {
1853818538

1853918539
disable( gl.BLEND );
18540-
currentBlending = blending; // no blending, that is
18541-
return;
1854218540

1854318541
}
1854418542

@@ -20292,7 +20290,7 @@
2029220290
var size = geometryAttribute.itemSize;
2029320291
var buffer = objects.getAttributeBuffer( geometryAttribute );
2029420292

20295-
if ( geometryAttribute && geometryAttribute.isInterleavedBufferAttribute ) {
20293+
if ( geometryAttribute.isInterleavedBufferAttribute ) {
2029620294

2029720295
var data = geometryAttribute.data;
2029820296
var stride = data.stride;
@@ -20319,7 +20317,7 @@
2031920317

2032020318
} else {
2032120319

20322-
if ( geometryAttribute && geometryAttribute.isInstancedBufferAttribute ) {
20320+
if ( geometryAttribute.isInstancedBufferAttribute ) {
2032320321

2032420322
state.enableAttributeAndDivisor( programAttribute, geometryAttribute.meshPerAttribute, extension );
2032520323

@@ -38253,13 +38251,13 @@
3825338251

3825438252
InstancedBufferGeometry.prototype.isInstancedBufferGeometry = true;
3825538253

38256-
InstancedBufferGeometry.prototype.addGroup = function ( start, count, instances ) {
38254+
InstancedBufferGeometry.prototype.addGroup = function ( start, count, materialIndex ) {
3825738255

3825838256
this.groups.push( {
3825938257

3826038258
start: start,
3826138259
count: count,
38262-
instances: instances
38260+
materialIndex: materialIndex
3826338261

3826438262
} );
3826538263

@@ -38289,7 +38287,7 @@
3828938287
for ( var i = 0, l = groups.length; i < l; i ++ ) {
3829038288

3829138289
var group = groups[ i ];
38292-
this.addGroup( group.start, group.count, group.instances );
38290+
this.addGroup( group.start, group.count, group.materialIndex );
3829338291

3829438292
}
3829538293

build/three.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)