Skip to content

Commit

Permalink
Adds image child element support to the effect profile_COMMON element…
Browse files Browse the repository at this point in the history
…. In addition to the library_images top level element Textures can appear in library effects and referenced by a surface.
  • Loading branch information
AddictArts committed Mar 5, 2012
1 parent 6e002f3 commit 3873c3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/extras/loaders/ColladaLoader.js
Expand Up @@ -3226,6 +3226,12 @@ THREE.ColladaLoader = function () {
this.parseNewparam( child );
break;

case 'image':

var _image = ( new _Image() ).parse( child );
images[ _image.id ] = _image;
break;

case 'extra':
break;

Expand Down

0 comments on commit 3873c3a

Please sign in to comment.