Explorar o código

Small bug fix, textures now work.

Kyle Larson %!s(int64=8) %!d(string=hai) anos
pai
achega
26e4b7897b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 );
 				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 ) {
 
 						case " \"AmbientColor":