Skip to content

Commit

Permalink
Merge pull request #11477 from 06wj/patch-attribute
Browse files Browse the repository at this point in the history
fix WebGLAttributes.remove bug
  • Loading branch information
mrdoob authored Jun 9, 2017
2 parents 70780f3 + 746b308 commit 5f99b58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderers/webgl/WebGLAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ function WebGLAttributes( gl ) {

function remove( attribute ) {

if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;

var data = buffers[ attribute.uuid ];

if ( data ) {
Expand Down

0 comments on commit 5f99b58

Please sign in to comment.