Skip to content

Commit

Permalink
Materials: We don't want to copy the id.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 6, 2012
1 parent 886a913 commit 7dd16ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Three.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/custom/ThreeCanvas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/custom/ThreeWebGL.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/materials/Material.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ THREE.Material.prototype.setValues = function ( values ) {

switch ( key ) {

case "id":
break;

case "color":
case "ambient":
case "emissive":
Expand Down

0 comments on commit 7dd16ee

Please sign in to comment.