Skip to content

Commit

Permalink
Actually remove behaviors in removeAllBehaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Nov 15, 2016
1 parent 7cf5449 commit c75a544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utilities/shims/behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ THREE.Object3D.prototype.removeAllBehaviors = function ()

}
}

this.__behaviorList.length = 0;
}

/**
Expand Down

0 comments on commit c75a544

Please sign in to comment.