Browse Source

Small bug fix, textures now work.

Kyle Larson 8 years ago
parent
commit
26e4b7897b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/FBXLoader.js

+ 1 - 1
examples/js/loaders/FBXLoader.js

@@ -211,7 +211,7 @@
 				var children = nodes.searchConnectionChildren( matNode.id );
 				var children = nodes.searchConnectionChildren( matNode.id );
 				for ( var i = 0; i < children.length; ++ i ) {
 				for ( var i = 0; i < children.length; ++ i ) {
 
 
-					var type = nodes.searchConnectionType( matNode.id, children[ i ] );
+					var type = nodes.searchConnectionType( children[ i ], matNode.id );
 					switch ( type ) {
 					switch ( type ) {
 
 
 						case " \"AmbientColor":
 						case " \"AmbientColor":